|
|
@ -7,11 +7,12 @@ |
|
|
<scroll-view scroll-y style="height: {{height}}rpx;" bindscroll="onScroll" scroll-into-view="{{toView}}" bind:scrolltolower="fetchMomentList" wx:if="{{factoryDetail}}"> |
|
|
<scroll-view scroll-y style="height: {{height}}rpx;" bindscroll="onScroll" scroll-into-view="{{toView}}" bind:scrolltolower="fetchMomentList" wx:if="{{factoryDetail}}"> |
|
|
<view class="bg-white flex" style="padding:30rpx"> |
|
|
<view class="bg-white flex" style="padding:30rpx"> |
|
|
<wux-image width="{{54}}" height="{{54}}" wux-class="image" shape="rounded" src="{{factoryDetail.logoImg}}" /> |
|
|
<wux-image width="{{54}}" height="{{54}}" wux-class="image" shape="rounded" src="{{factoryDetail.logoImg}}" /> |
|
|
<view class="flex flex-column flex-center" style="margin-left:24rpx;align-items:flex-start"> |
|
|
|
|
|
<view class="text-sg text-bold" style="white-space: nowrap;width: 100%;">{{factoryDetail.name}} |
|
|
|
|
|
<!-- <view class="{{hasFollowed == false ? 'text-blue' : 'text-red'}}" data-cid="{{hasFollowed}}" bindtap="onAttentionChange">{{hasFollowed == false ? '关注' : '取消关注'}}</view> |
|
|
|
|
|
</view> --> |
|
|
|
|
|
<view style="float:right;width: 120rpx;height: 50rpx;background-color: rgba(0,0,0,0.10);font-size: 24rpx;border-radius: 25rpx;text-align: center;padding-top: 8rpx;" data-cid="{{hasFollowed}}" bindtap="onAttentionChange"><text class="{{hasFollowed == false ? 'text-blue' : 'text-red'}}">{{hasFollowed == false ? '关注' : '取消关注'}}</text></view> |
|
|
|
|
|
|
|
|
<view class="flex flex-column flex-center" style="margin-left:24rpx;align-items:flex-start;width: 100%"> |
|
|
|
|
|
<view class="text-sg text-bold" style="white-space: nowrap;width: 100%;"> |
|
|
|
|
|
<text>{{factoryDetail.name}}</text> |
|
|
|
|
|
<view style="float:right;width: 160rpx;height: 50rpx;background-color: rgba(0,0,0,0.10);font-size: 24rpx;border-radius: 25rpx;text-align: center;padding-top: 8rpx;" data-cid="{{hasFollowed}}" bindtap="onAttentionChange"> |
|
|
|
|
|
<text class="{{hasFollowed == false ? 'text-blue' : 'text-red'}}">{{hasFollowed == false ? '关注' : '取消关注'}}</text> |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="text-xs text-gray" style="margin-top:4rpx"> |
|
|
<view class="text-xs text-gray" style="margin-top:4rpx"> |
|
|
<text>{{factoryDetail.locProvinceName + factoryDetail.locCityName + factoryDetail.locDistrictName}}</text> |
|
|
<text>{{factoryDetail.locProvinceName + factoryDetail.locCityName + factoryDetail.locDistrictName}}</text> |
|
|
@ -56,7 +57,10 @@ |
|
|
<view class="item-cate {{cateIndex == index ? 'cate-tag' : ''}}" wx:for="{{factoryDetail.paperCategoryList}}" wx:key="index" data-index="{{index}}" bindtap="checkTag"> |
|
|
<view class="item-cate {{cateIndex == index ? 'cate-tag' : ''}}" wx:for="{{factoryDetail.paperCategoryList}}" wx:key="index" data-index="{{index}}" bindtap="checkTag"> |
|
|
<view class="flex flex-justify"> |
|
|
<view class="flex flex-justify"> |
|
|
<view class="text-sg text-black">{{item.categoryName}}</view> |
|
|
<view class="text-sg text-black">{{item.categoryName}}</view> |
|
|
<text class="text-sg text-black" wx:if="{{item.unitPrice}}">{{formate.formatePrice2(item.unitPrice, kg)}}</text> |
|
|
|
|
|
|
|
|
<text class="text-sg text-black" wx:if="{{item.unitPrice}}"> |
|
|
|
|
|
<text>{{formate.formatePrice2(item.unitPrice, kg)}}</text> |
|
|
|
|
|
<text>+补贴50元/吨</text> |
|
|
|
|
|
</text> |
|
|
<text class="text-sg text-gray" wx:else>暂无报价</text> |
|
|
<text class="text-sg text-gray" wx:else>暂无报价</text> |
|
|
</view> |
|
|
</view> |
|
|
<view class="flex flex-justify text-xs text-gray" style="margin-top:4rpx"> |
|
|
<view class="flex flex-justify text-xs text-gray" style="margin-top:4rpx"> |
|
|
|