纸通宝小程序
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.
 

62 lines
3.3 KiB

<!--pages/order/order-info/index.wxml-->
<wxs module="formate" src="../../../pages/formate.wxs"></wxs>
<cu-custom bgColor="bg-white" isBack="{{true}}">
<view slot="content" style="color:black;font-size:36rpx">采购详情</view>
</cu-custom>
<view wx:if="{{orderInfo}}">
<swiper class="screen-swiper square-dot" style="min-height:{{imageHeight}}rpx" indicator-dots="true" indicator-color="#FFFFFF" indicator-active-color="#008AFF" autoplay="true" interval="3000" duration="500" wx:if="{{imgList && imgList.length}}">
<swiper-item wx:for="{{imgList}}" wx:key="index">
<view bindtap="viewImage" style="width:100%;height:100%" data-url="{{item}}">
<image src="{{item}}" mode="aspectFill"></image>
</view>
</swiper-item>
</swiper>
<view class="bg-white flex flex-justify" style="padding:24rpx 32rpx">
<view class="bg-white text-name">{{orderInfo.secondCategoryName}}</view>
<view class="text-gray" wx:if="{{orderInfo.purchaseQuantity}}">采购重量:{{formate.formateWeight(orderInfo.purchaseQuantity, kg)}}</view>
</view>
<view class="bg-white flex" style="font-size:28rpx;padding:0rpx 32rpx 32rpx 32rpx">
<view class="detail-price">{{orderInfo.unitPrice ? '采购单价:¥' + formate.formatePrice2(orderInfo.unitPrice, kg) : '价格面议'}}</view>
</view>
<view class="bg-white margin-top" style="padding:32rpx">
<view class="text-black text-bold" style="font-size:30rpx">采购信息</view>
<view class="bg-white flex margin-top" style="font-size:28rpx;padding:12rpx 0rpx" wx:if="{{orderInfo.locCityName}}">
<view class="text-gray" style="min-width:150rpx">采购区域:</view>
<view class="text-black">{{orderInfo.locProvinceName}}{{orderInfo.locCityName}}{{orderInfo.locDistrictName}}</view>
</view>
<view class="bg-white flex" style="font-size:28rpx;padding:12rpx 0rpx">
<view class="text-gray" style="min-width:150rpx">保障:</view>
<view class="text-black">平台担保交易·维护买卖双方权益</view>
</view>
</view>
<view class="bg-white margin-top" style="padding:32rpx">
<view class="text-black text-bold" style="font-size:30rpx">采购描述</view>
<view class="text-gray" style="font-size:28rpx;margin-top:32rpx">{{orderInfo.description}}</view>
</view>
<view class="booking-tool" style="bottom:{{ 250 + safeBottom}}rpx">
<view class="roder-add flex flex-center">
<button open-type="share" style="background-color: #fff;border-radius: 0;padding-left: 0px;padding-right: 0px;height:32px;line-height: 32px">
<text class="cuIcon-share text-gray" style="font-size:22px;"></text>
</button>
</view>
</view>
</view>
<view style="height:{{120 + safeBottom}}rpx;" wx:if="{{orderInfo && !orderInfo.owner}}"></view>
<view class="cu-bar bg-white foot flex flex-center" style="height:{{120 + safeBottom}}rpx;padding-bottom:{{safeBottom}}rpx" wx:if="{{orderInfo && !orderInfo.owner}}">
<view class="flex flex-center" style="width: 50%" bindtap="toShopInfo">
<text class="cuIcon-shop text-blue" style="font-size:20px;margin-right:16rpx"></text>
<text class="text-blue text-lg">店铺</text>
</view>
<text style="width:1px;height:40rpx;background-color:#eee"></text>
<view class="flex flex-center" style=";width:50%;height: 100%" bindtap="phoneShopInfo">
<text class="cuIcon-phone text-blue" style="font-size:20px;margin-right:16rpx">
</text><text class="text-blue text-lg">电话咨询</text>
</view>
</view>