|
@@ -34,22 +34,24 @@
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
<!-- 内容滚动视图 -->
|
|
<!-- 内容滚动视图 -->
|
|
|
-<scroll-view class="content-view" style="padding-bottom: 10px;">
|
|
|
|
|
|
|
+<scroll-view wx:if="{{ active === 0 ? sellOrders.length != 0 : askOrders.length != 0 }}" class="content-view" style="padding-bottom: {{ safeBottom+navHeight+15 }}px;">
|
|
|
<!-- 数据 -->
|
|
<!-- 数据 -->
|
|
|
<van-swipe-cell wx:for="{{ active === 0 ? sellOrders : askOrders }}" wx:for-item="itm" wx:for-index="idx" wx:key="wrtradeorderid" right-width="50">
|
|
<van-swipe-cell wx:for="{{ active === 0 ? sellOrders : askOrders }}" wx:for-item="itm" wx:for-index="idx" wx:key="wrtradeorderid" right-width="50">
|
|
|
<view class="vanSwipeCell-item">
|
|
<view class="vanSwipeCell-item">
|
|
|
<view class="vanSwipeCell-item__top">
|
|
<view class="vanSwipeCell-item__top">
|
|
|
<text>{{ itm.zsshapetypedisplay }}</text>
|
|
<text>{{ itm.zsshapetypedisplay }}</text>
|
|
|
- <tetx>{{ active === 0 ? itm.remainqty+"ct"+"|"+itm.zscolortype1display+"|"+itm.zsclaritytype1display : itm.zstabledisplay }}</tetx>
|
|
|
|
|
|
|
+ <tetx>{{ active === 0 ? itm.remainqty+"ct"+"|"+itm.zscolortype1display+"|"+itm.zsclaritytype1display : '' }}</tetx>
|
|
|
<text>{{ active === 0 ? itm.zscurrencytypedisplayunit+itm.price : '' }}</text>
|
|
<text>{{ active === 0 ? itm.zscurrencytypedisplayunit+itm.price : '' }}</text>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="vanSwipeCell-item__mid">
|
|
<view class="vanSwipeCell-item__mid">
|
|
|
<view class="vanSwipeCell-item__mid__left">
|
|
<view class="vanSwipeCell-item__mid__left">
|
|
|
|
|
+ <text wx:if="{{ active === 1 }}">颜色:{{ itm.zscolortypedisplay }}</text>
|
|
|
<text>切工:{{ active === 0 ? itm.zscuttype1display : itm.zscuttypedisplay }}</text>
|
|
<text>切工:{{ active === 0 ? itm.zscuttype1display : itm.zscuttypedisplay }}</text>
|
|
|
<text>抛光:{{ active === 0 ? itm.zspolishtype1display : itm.zspolishtypedisplay }}</text>
|
|
<text>抛光:{{ active === 0 ? itm.zspolishtype1display : itm.zspolishtypedisplay }}</text>
|
|
|
<text>尺寸:{{ itm.zssize }}</text>
|
|
<text>尺寸:{{ itm.zssize }}</text>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="vanSwipeCell-item__mid__mid">
|
|
<view class="vanSwipeCell-item__mid__mid">
|
|
|
|
|
+ <text wx:if="{{ active === 1 }}">净度:{{ itm.zsclaritytypedisplay }}</text>
|
|
|
<text>对称:{{ active === 0 ? itm.zssymmetrytype1display : itm.zssymmetrytypedisplay }}</text>
|
|
<text>对称:{{ active === 0 ? itm.zssymmetrytype1display : itm.zssymmetrytypedisplay }}</text>
|
|
|
<text>荧光:{{ active === 0 ? itm.zsfluorescencetype1display : itm.zsfluorescencetypedisplay }}</text>
|
|
<text>荧光:{{ active === 0 ? itm.zsfluorescencetype1display : itm.zsfluorescencetypedisplay }}</text>
|
|
|
<text wx:if="{{ active === 0 }}">证书:--</text>
|
|
<text wx:if="{{ active === 0 }}">证书:--</text>
|