You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
2.9 KiB
55 lines
2.9 KiB
<!--pages/message/detail/index.wxml-->
|
|
<wxs module="formate" src="../../../pages/formate.wxs"></wxs>
|
|
<!-- <cu-custom bgColor="bg-white" isBack="{{true}}">
|
|
<view slot="content">纸厂详情</view>
|
|
</cu-custom> -->
|
|
|
|
<scroll-view scroll-y style="height: {{height}}rpx;" bindscroll="onScroll" bind:scrolltolower="fetchMomentList" wx:if="{{factoryDetail}}">
|
|
<view class="bg-white flex" style="padding:30rpx">
|
|
<van-image use-loading-slot width="108rpx" height="108rpx" radius="4" lazy-load src="{{factoryDetail.logoImg}}">
|
|
<image class="image-load" slot="loading" src="/assets/image/def_image.png"></image>
|
|
</van-image>
|
|
<view class="flex flex-column flex-center" style="margin-left:24rpx;align-items:flex-start;width: 100%">
|
|
<view class="flex flex-justify" style="white-space: nowrap;width: 100%;">
|
|
<text class="text-sg text-bold">{{factoryDetail.name}}</text>
|
|
<van-button round type="{{ hasFollowed ? 'danger' : 'info'}}" size="mini" custom-style="width:160rpx" bind:click="onAttentionChange">{{ hasFollowed ? '取消关注' : '关注'}}</van-button>
|
|
</view>
|
|
<view class="text-xs text-gray" style="margin-top:4rpx">
|
|
<text>{{factoryDetail.locProvinceName + factoryDetail.locCityName + factoryDetail.locDistrictName}}</text>
|
|
<text class="text-gray" style="margin: 0rpx 8rpx" wx:if="{{factoryDetail.cumulativeWeight > 0}}">|</text>
|
|
<text wx:if="{{factoryDetail.cumulativeWeight > 0}}">已代卖:{{formate.formateWeight(factoryDetail.cumulativeWeight)}}吨</text>
|
|
<text class="text-gray" style="margin: 0rpx 8rpx">|</text>
|
|
<text wx:if="{{factoryDetail.yesterdayTotalQuantity &&factoryDetail.yesterdayTotalQuantity >= 0}}">昨日排队:{{factoryDetail.yesterdayTotalQuantity}}辆</text>
|
|
<text wx:else>昨日排队:--</text>
|
|
</view>
|
|
<view class="flex flex-justify text-df" style="margin-top:4rpx;width:100%">
|
|
<view class="flex flex-center" wx:if="{{factoryDetail.proxypaySurcharge}}">
|
|
<text class="text-black">代卖费:</text>
|
|
<text class="text-red">{{formate.formatePrice(factoryDetail.proxypaySurcharge)}}元/吨</text>
|
|
</view>
|
|
<view class="flex" wx:if="{{factoryDetail.foreignPaybackIntever}}">
|
|
<text class="text-black">纸厂账期:</text>
|
|
<text class="text-red">{{factoryDetail.foreignPaybackIntever}}天</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<van-tabs color="#008AFF" title-active-color="#008AFF" sticky offset-top="100">
|
|
<van-tab title="报价信息">
|
|
<view style="height:1200px"></view>
|
|
</van-tab>
|
|
<van-tab title="讨论">
|
|
|
|
</van-tab>
|
|
<van-tab title="收货标准">
|
|
|
|
</van-tab>
|
|
<van-tab title="注意事项">
|
|
|
|
</van-tab>
|
|
</van-tabs>
|
|
</scroll-view>
|
|
<submit-layout wx:if="{{factoryDetail}}">
|
|
<van-button type="info" custom-style="height:88rpx;width:686rpx" bind:click="submitForm">确认</van-button>
|
|
</submit-layout>
|
|
<notification id="qn-notification"/>
|