|
|
@@ -3,7 +3,7 @@
|
|
|
<!-- 导航栏 -->
|
|
|
<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>
|
|
|
+ <text slot="title" style="color: #fff;">钻石对比</text>
|
|
|
</van-nav-bar>
|
|
|
|
|
|
<!-- 图片区域 -->
|
|
|
@@ -13,7 +13,7 @@
|
|
|
|
|
|
<view class="item-image-view" wx:for="{{ values }}" wx:for-index="idx" wx:for-item="itm" wx:key="idx">
|
|
|
<!-- 图片 -->
|
|
|
- <van-image src="https://img.yzcdn.cn/vant/cat.jpeg" width="50" height="50" />
|
|
|
+ <van-image src="{{ itm.imagepath }}" show-error="加载失败" width="50" height="50" />
|
|
|
<!-- 商品编号 -->
|
|
|
<text class="goodsno">{{ itm.goodsno }}</text>
|
|
|
</view>
|
|
|
@@ -31,19 +31,19 @@
|
|
|
<!-- 价格 -->
|
|
|
<view class="item price">
|
|
|
<text class="title">价格</text>
|
|
|
- <text class="value" wx:for="{{ values }}" wx:for-index="idx" wx:for-item="itm" wx:key="idx">¥{{ itm.price }}</text>
|
|
|
+ <text class="value" wx:for="{{ values }}" wx:for-index="idx" wx:for-item="itm" wx:key="idx">{{ itm.zscurrencytypedisplayunit+itm.price }}</text>
|
|
|
</view>
|
|
|
|
|
|
<!-- 克拉单价 -->
|
|
|
<view class="item priceper">
|
|
|
<text class="title">克拉单价</text>
|
|
|
- <text class="value" wx:for="{{ values }}" wx:for-index="idx" wx:for-item="itm" wx:key="idx">¥{{ itm.priceper }}</text>
|
|
|
+ <text class="value" wx:for="{{ values }}" wx:for-index="idx" wx:for-item="itm" wx:key="idx">{{ itm.zscurrencytypedisplayunit+itm.priceper }}</text>
|
|
|
</view>
|
|
|
|
|
|
<!-- 市场价 -->
|
|
|
<view class="item marketprice">
|
|
|
<text class="title">市场价</text>
|
|
|
- <text class="value" wx:for="{{ values }}" wx:for-index="idx" wx:for-item="itm" wx:key="idx">¥{{ itm.marketprice }}</text>
|
|
|
+ <text class="value" wx:for="{{ values }}" wx:for-index="idx" wx:for-item="itm" wx:key="idx">{{ itm.zscurrencytypedisplayunit+itm.marketprice }}</text>
|
|
|
</view>
|
|
|
|
|
|
<!-- 仓库 -->
|