| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- <view class="container">
- <view class="topView">
- <!-- 导航栏 -->
- <van-nav-bar custom-style="background-color: #407DB8">
- <van-icon slot="left" name="arrow-left" size="25px" color="#fff" bind:click="backToParent"/>
- <text slot="title" style="color: #fff;">商品详情</text>
- </van-nav-bar>
- </view>
- <!-- banner轮播图 -->
- <swiper class="banner" wx:if="{{ banners.count != 0 }}" indicator-active-color="orange" indicator-dots autoplay interval="5000" circular>
- <swiper-item class="banner_item" wx:for="1" wx:key="index" id="{{ item }}">
- <view class="swiper-item">
- <image src='{{ goods.imagepath }}' mode="widthFix" />
- </view>
- </swiper-item>
- </swiper>
- <!-- 价格信息 -->
- <view class="price-info">
- <view class="content__item">
- <text class="content__item__price" style="font-size: 18px; font-weight: bolder; color: #D91123;">¥{{ price }}</text>
- <text class="content__item__rate" wx:if="{{ goods.zscurrencytype === 2 }}">汇率: {{ exchangerate }}</text>
- </view>
- <view class="content__item">
- <text class="content__item__name">【{{ goods.zscategorydisplay }}】商品编号:{{ goods.goodsno }}</text>
- </view>
- <view class="content__item" wx:if="{{ goods.zscategory === 4 }}">
- <text class="content__item__weight">款式:{{ goods.zsstyletypedisplay }}</text>
- <text class="content__item__ordertime">主石重量:{{ goods.weight }}克拉</text>
- </view>
- <view class="content__item" wx:if="{{ goods.zscategory === 4 }}">
- <text class="content__item__gprice">克拉单价:{{ unit+priceper }}</text>
- <text class="content__item__price">市场价:{{ unit+goods.marketprice }}</text>
- </view>
- <view class="content__item" wx:if="{{ goods.zscategory != 4 }}">
- <text class="content__item__weight">重量:{{ goods.weight }}克拉</text>
- <text class="content__item__ordertime">克拉单价:{{ unit+priceper }}</text>
- </view>
- <view class="content__item" wx:if="{{ goods.zscategory !== 4 }}">
- <text class="content__item__price">市场价:{{ unit+goods.marketprice }}</text>
- <text class="content__item__price" wx:if="{{ ordertime != '-' }}">挂牌时间:{{ ordertime }}</text>
- </view>
- </view>
- <!-- 卖家信息 -->
- <view class="seller-info">
- <text class="title">【卖家信息】</text>
- <view class="content">
- <view class="content__item">
- <text class="title">名称:</text>
- <text class="value">{{ goods.sellusername}}</text>
- </view>
- <view class="content__item">
- <text class="title">电话:</text>
- <text class="value">{{ goods.mobile }}</text>
- </view>
- <view class="content__item">
- <text class="title">仓库地址:</text>
- <text class="value">{{ goods.provincename+goods.cityname+goods.districtname+goods.address }}</text>
- </view>
- <view class="content__item">
- <text class="title">履约:</text>
- </view>
- <view class="content__item">
- <view class="content__item__step">
- <view class="content__item__step__item" wx:for="{{ tmp.LstStep }}" wx:for-item="itm" wx:for-index="idx" wx:key="idx">
- <text style="color: white; background-color: {{ colors[idx] }};">{{ itm.stepinfo }}</text>
- <text>{{ itm.stepdate }}</text>
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- 钻石属性 -->
- <view class="attribute-info">
- <text class="title">【钻石属性】</text>
- <view class="attribute-info__item">
- <text class="title">形状:</text>
- <text class="value">{{ goods.zsshapetypedisplay }}</text>
- </view>
- <view class="attribute-info__item">
- <text class="title">颜色:</text>
- <text class="value" wx:if="{{ goods.zscolortype2 === 0 }}">{{ goods.zscolortype1display }}</text>
- <text class="value" wx:if="{{ goods.zscolortype2 != 0 }}">{{ goods.zscolortype1display }}~{{goods.zscolortype2display}}</text>
- </view>
- <view class="attribute-info__item">
- <text class="title">净度:</text>
- <text class="value" wx:if="{{ goods.zsclaritytype2 === 0 }}">{{ goods.zsclaritytype1display }}</text>
- <text class="value" wx:if="{{ goods.zsclaritytype2 != 0 }}">{{ goods.zsclaritytype1display }}~{{goods.zsclaritytype2display}}</text>
- </view>
- <view class="attribute-info__item">
- <text class="title">切工:</text>
- <text class="value" wx:if="{{ goods.zscuttype2 === 0 }}">{{ goods.zscuttype1display }}</text>
- <text class="value" wx:if="{{ goods.zscuttype2 != 0 }}">{{ goods.zscuttype1display }}~{{goods.zscuttype2display}}</text>
- </view>
- <view class="attribute-info__item">
- <text class="title">抛光:</text>
- <text class="value" wx:if="{{ goods.zspolishtype2 === 0 }}">{{ goods.zspolishtype1display }}</text>
- <text class="value" wx:if="{{ goods.zspolishtype2 != 0 }}">{{ goods.zspolishtype1display }}~{{goods.zspolishtype2display}}</text>
- </view>
- <view class="attribute-info__item">
- <text class="title">对称:</text>
- <text class="value" wx:if="{{ goods.zssymmetrytype2 === 0 }}">{{ goods.zssymmetrytype1display }}</text>
- <text class="value" wx:if="{{ goods.zssymmetrytype2 != 0 }}">{{ goods.zssymmetrytype1display }}~{{goods.zssymmetrytype2display}}</text>
- </view>
- <view class="attribute-info__item">
- <text class="title">荧光:</text>
- <text class="value" wx:if="{{ goods.zsfluorescencetype2 === 0 }}">{{ goods.zsfluorescencetype1display }}</text>
- <text class="value" wx:if="{{ goods.zsfluorescencetype2 != 0 }}">{{ goods.zsfluorescencetype1display }}~{{goods.zsfluorescencetype2display}}</text>
- </view>
- <view class="attribute-info__item">
- <text class="title">尺寸:</text>
- <text class="value">{{ goods.sizedisplay }}</text>
- </view>
- <view class="attribute-info__item">
- <text class="title">证书类型:</text>
- <text class="value">{{ goods.zscerttypedisplay }}</text>
- </view>
- <view class="attribute-info__item">
- <text class="title">证书编号:</text>
- <text class="value">{{ goods.cerno }}</text>
- </view>
- <view class="attribute-info__item" wx:if="{{ goods.zscategory === 4 }}">
- <text class="title">镶嵌材料:</text>
- <text class="value">{{ goods.settingmaterial }}</text>
- </view>
- <view class="attribute-info__item" wx:if="{{ goods.zscategory === 4 }}">
- <text class="title">配石描述:</text>
- <text class="value">{{ goods.stonedesc }}</text>
- </view>
- </view>
- <!-- 按钮 -->
- <view class="button-view" style="padding-bottom: {{ safeBottom }}px;">
- <van-icon name="{{ operator === 1 ? 'star' : 'star-o' }}" color="#407DB8" size="25" bind:click="onFavoriteOperator"/>
- <van-button custom-class="excute" id="excute" round color="linear-gradient(to right, #4bb0ff, #F7A657)" block bind:click="doZSBuyOrderDesting">立即购买</van-button>
- </view>
- </view>
- <!-- toast -->
- <van-toast id="van-toast" />
- <!-- 对话弹框 -->
- <van-dialog id="van-dialog" />
|