|
|
@@ -1,239 +1,114 @@
|
|
|
-<!-- 导航栏 -->
|
|
|
-<van-nav-bar custom-style="background-color: #E92020">
|
|
|
- <van-icon slot="left" name="arrow-left" size="25px" color="white" bind:click="backToParent"/>
|
|
|
- <text slot="title" style="color: white;">商品详情</text>
|
|
|
-</van-nav-bar>
|
|
|
+<view class="container">
|
|
|
+ <view class="topView">
|
|
|
+ <!-- 导航栏 -->
|
|
|
+ <van-nav-bar custom-style="background-color: #E92020">
|
|
|
+ <van-icon slot="left" name="arrow-left" size="25px" color="white" bind:click="backToParent"/>
|
|
|
+ <text slot="title" style="color: white;">商品详情</text>
|
|
|
+ </van-nav-bar>
|
|
|
+ </view>
|
|
|
|
|
|
-<view class="container" style="position: relative; bottom:{{safeBottom}}px;">
|
|
|
- <!-- 图片信息 -->
|
|
|
- <image class="goods-img" mode="widthFix" src="https://t7.baidu.com/it/u=963301259,1982396977&fm=193&f=GIF"></image>
|
|
|
+ <!-- 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="4" wx:key="index" id="{{item}}">
|
|
|
+ <view class="swiper-item">
|
|
|
+ <image src='https://img.yzcdn.cn/vant/cat.jpeg' mode="widthFix"></image>
|
|
|
+ </view>
|
|
|
+ </swiper-item>
|
|
|
+ </swiper>
|
|
|
|
|
|
- <!-- 成批裸钻CSZS001000001 -->
|
|
|
- <view class="bulk-diamond" wx:if="{{false}}">
|
|
|
- <!-- 形状 -->
|
|
|
- <view class="bulk-diamond-type">
|
|
|
- <view>
|
|
|
- <text>成批裸钻CSZS001000001</text>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <text>总价:¥10023.23</text>
|
|
|
- <text>总重量:10.04 CT</text>
|
|
|
+ <!-- 价格信息 -->
|
|
|
+ <view class="price-info">
|
|
|
+ <view class="content__item">
|
|
|
+ <text class="content__item__price">¥{{ goods.price }}</text>
|
|
|
+ <text class="content__item__rate">汇率: 6.9762</text>
|
|
|
</view>
|
|
|
- <view>
|
|
|
- <text>克拉单价:¥10213.92</text>
|
|
|
- <text>单颗均重:0.51 CT</text>
|
|
|
+ <view class="content__item">
|
|
|
+ <text class="content__item__name">【{{ goods.zscategorydisplay }}】商品编号:{{ goods.goodsno }}</text>
|
|
|
</view>
|
|
|
- <view>
|
|
|
- <text>市场价: ¥10213.92</text>
|
|
|
- <text>仓库: SZ00001</text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
-
|
|
|
- <!-- 形状 -->
|
|
|
- <view class="bulk-diamond-shape">
|
|
|
- <view>
|
|
|
- <text>形状:圆明亮形(Round)</text>
|
|
|
- <text>净度:FL</text>
|
|
|
+ <view class="content__item">
|
|
|
+ <text class="content__item__weight">重量:{{ goods.weightavg }} 克拉</text>
|
|
|
+ <text class="content__item__gprice">克拉单价:$ {{ goods.priceper }}</text>
|
|
|
</view>
|
|
|
- <view>
|
|
|
- <text>颜色:浅(Light)-Orange-蓝色</text>
|
|
|
- <text>对称度:EX</text>
|
|
|
+ <view class="content__item">
|
|
|
+ <text class="content__item__market-price">市场价:¥{{ goods.marketprice }}</text>
|
|
|
</view>
|
|
|
- <view>
|
|
|
- <text>莹光:微弱( faint)</text>
|
|
|
- <text>抛光:P</text>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <text>尺寸:1.21*1.33*1.34</text>
|
|
|
- <text>证书类型:GIA</text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
</view>
|
|
|
|
|
|
- <!-- 单颗裸钻CSZS001000001 -->
|
|
|
- <view class="single-diamond" wx:if="{{false}}">
|
|
|
- <!-- 形状 -->
|
|
|
- <view class="single-diamond-type">
|
|
|
- <view>
|
|
|
- <text>单颗裸钻CSZS001000001</text>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <text>总价:¥10023.23</text>
|
|
|
- <text>总重量:10.04 CT</text>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <text>克拉单价:¥10213.92</text>
|
|
|
- <text>单颗均重:0.51 CT</text>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <text>市场价: ¥10213.92</text>
|
|
|
- <text>仓库: SZ00001</text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
-
|
|
|
- <!-- 形状 -->
|
|
|
- <view class="single-diamond-shape">
|
|
|
- <view>
|
|
|
- <text>形状:圆明亮形(Round)</text>
|
|
|
- <text>净度:FL</text>
|
|
|
+ <!-- 卖家信息 -->
|
|
|
+ <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>
|
|
|
- <text>颜色:浅(Light)-Orange-蓝色</text>
|
|
|
- <text>对称度:EX</text>
|
|
|
+ <view class="content__item">
|
|
|
+ <text class="title">电话:</text>
|
|
|
+ <text class="value">{{ goods.mobile }}</text>
|
|
|
</view>
|
|
|
- <view>
|
|
|
- <text>莹光:微弱( faint)</text>
|
|
|
- <text>抛光:P</text>
|
|
|
+ <view class="content__item">
|
|
|
+ <text class="title">仓库:</text>
|
|
|
+ <text class="value">{{ goods.warehousenamedisplay }}</text>
|
|
|
</view>
|
|
|
- <view>
|
|
|
- <text>尺寸:1.21*1.33*1.34</text>
|
|
|
- <text>证书类型:GIA</text>
|
|
|
+ <view class="content__item">
|
|
|
+ <text class="title">履约:</text>
|
|
|
+ <text class="value">中国-广东省-广州市-南沙XXXxxxxX仓库</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <!-- 成批毛坯CSZS001000001 -->
|
|
|
- <view class="bulk-workblank-diamond" wx:if="{{false}}">
|
|
|
- <!-- 形状 -->
|
|
|
- <view class="bulk-workblank-diamond-type">
|
|
|
- <view>
|
|
|
- <text>成批毛坯CSZS001000001</text>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <text>总价:¥10023.23</text>
|
|
|
- <text>总重量:10.04 CT</text>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <text>克拉单价:¥10213.92</text>
|
|
|
- <text>单颗均重:0.51 CT</text>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <text>市场价: ¥10213.92</text>
|
|
|
- <text>仓库: SZ00001</text>
|
|
|
- </view>
|
|
|
+ <!-- 钻石属性 -->
|
|
|
+ <view class="attribute-info">
|
|
|
+ <text class="title">【钻石属性】</text>
|
|
|
+ <view class="attribute-info__item">
|
|
|
+ <text class="title">形状:</text>
|
|
|
+ <text class="value">{{ goods.zspolishtype2display }}</text>
|
|
|
</view>
|
|
|
-
|
|
|
- <!-- 形状 -->
|
|
|
- <view class="bulk-workblank-diamond-shape">
|
|
|
- <view>
|
|
|
- <text>晶型:圆明亮形(Round)</text>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <text>颜色:浅(Light)-Orange-蓝色</text>
|
|
|
- <text>净度:EX</text>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <text>莹光:微弱( faint)</text>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <text>原产地:1.21*1.33*1.34</text>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <text>金伯利证书编号:1.21*1.33*1.34</text>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <text>金伯利证书重量:1.21*1.33*1.34</text>
|
|
|
- </view>
|
|
|
+ <view class="attribute-info__item">
|
|
|
+ <text class="title">颜色:</text>
|
|
|
+ <text class="value">{{ goods.zscolortype1display }}~{{goods.zscolortype2display}}</text>
|
|
|
</view>
|
|
|
- </view>
|
|
|
-
|
|
|
- <!-- 钻石首饰CSZS001000001 -->
|
|
|
- <view class="jewelry-diamond" wx:if="{{true}}">
|
|
|
- <!-- 形状 -->
|
|
|
- <view class="jewelry-diamond-type">
|
|
|
- <view>
|
|
|
- <text>钻石首饰CSZS001000001</text>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <text>总价:¥10023.23</text>
|
|
|
- <text>总重量:10.04 CT</text>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <text>克拉单价:¥10213.92</text>
|
|
|
- <text>单颗均重:0.51 CT</text>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <text>市场价: ¥10213.92</text>
|
|
|
- <text>款式: SZ00001</text>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <text>仓库: ¥10213.92</text>
|
|
|
- </view>
|
|
|
+ <view class="attribute-info__item">
|
|
|
+ <text class="title">净度:</text>
|
|
|
+ <text class="value">{{ goods.zsclaritytype1display }}~{{goods.zsclaritytype2display}}</text>
|
|
|
</view>
|
|
|
-
|
|
|
- <!-- 形状 -->
|
|
|
- <view class="jewelry-diamond-shape">
|
|
|
- <view>
|
|
|
- <text>形状:圆明亮形(Round)</text>
|
|
|
- <text>颜色:FL</text>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <text>尺寸:浅(Light)-Orange-蓝色</text>
|
|
|
- <text>对称度:EX</text>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <text>切工:微弱( faint)</text>
|
|
|
- <text>抛光:P</text>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <text>莹光:1.21*1.33*1.34</text>
|
|
|
- <text>净度:GIA</text>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <text>证书类型:GIA</text>
|
|
|
- <text>镶嵌材料:人造钻石1</text>
|
|
|
- </view>
|
|
|
+ <view class="attribute-info__item">
|
|
|
+ <text class="title">切工:</text>
|
|
|
+ <text class="value">{{ goods.zscuttype1display }}~{{goods.zscuttype2display}}</text>
|
|
|
</view>
|
|
|
- </view>
|
|
|
-
|
|
|
- <!-- 彩色裸钻CSZS001000001 -->
|
|
|
- <view class="color-diamond" wx:if="{{false}}">
|
|
|
- <!-- 形状 -->
|
|
|
- <view class="color-diamond-type">
|
|
|
- <view>
|
|
|
- <text>彩色裸钻CSZS001000001</text>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <text>价格:¥10023.23</text>
|
|
|
- <text>克拉重量:EX</text>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <text>克拉单价:¥10213.92</text>
|
|
|
- <text>仓库:SZ00001</text>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <text>市场价: ¥10213.92</text>
|
|
|
- </view>
|
|
|
+ <view class="attribute-info__item">
|
|
|
+ <text class="title">抛光:</text>
|
|
|
+ <text class="value">{{ goods.zspolishtype1display }}~{{goods.zspolishtype2display}}</text>
|
|
|
</view>
|
|
|
-
|
|
|
- <!-- 形状 -->
|
|
|
- <view class="color-diamond-shape">
|
|
|
- <view>
|
|
|
- <text>形状:圆明亮形(Round)</text>
|
|
|
- <text>净度:FL</text>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <text>颜色:浅(Light)-Orange-蓝色</text>
|
|
|
- <text>对称度:EX</text>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <text>莹光:微弱( faint)</text>
|
|
|
- <text>抛光:P</text>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <text>尺寸:1.21*1.33*1.34</text>
|
|
|
- <text>证书类型:GIA</text>
|
|
|
- </view>
|
|
|
+ <view class="attribute-info__item">
|
|
|
+ <text class="title">荧光:</text>
|
|
|
+ <text class="value">{{ 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.zscategorydisplay }}</text>
|
|
|
+ </view>
|
|
|
+ <view class="attribute-info__item">
|
|
|
+ <text class="title">证书编号:</text>
|
|
|
+ <text class="value">{{ goods.cerno }}</text>
|
|
|
+ </view>
|
|
|
+ <view class="attribute-info__item">
|
|
|
+ <text class="title">镶嵌材料:</text>
|
|
|
+ <text class="value">{{ goods.settingmaterial }}</text>
|
|
|
+ </view>
|
|
|
+ <view class="attribute-info__item">
|
|
|
+ <text class="title">配石描述:</text>
|
|
|
+ <text class="value">{{ goods.stonedesc }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <!-- 卖家信息 -->
|
|
|
- <view class="seller-info">
|
|
|
- <text>卖家名称:EFGH钻石贸易商</text>
|
|
|
- <text>联系电话:13752388452</text>
|
|
|
- <text>备注:国际知名专家鉴定,纯天然钻石</text>
|
|
|
+ <!-- 按钮 -->
|
|
|
+ <view class="button-view">
|
|
|
+ <van-icon name="star-o" size="20"/>
|
|
|
+ <van-button custom-class="excute" id="excute" round color="linear-gradient(to right, #4bb0ff, #F7A657)" block bind:click="onButtonPressed">立即购买</van-button>
|
|
|
</view>
|
|
|
-
|
|
|
- <!-- 关闭 -->
|
|
|
- <van-button type="danger" block style="width: 90%;" round bind:click="backToParent">关闭</van-button>
|
|
|
</view>
|