|
@@ -1,7 +1,7 @@
|
|
|
<navigator url="#" wx:for="{{list}}" wx:key="itemid" class="item-box">
|
|
|
<view class="top" bindtap="changeResults" data-item="{{item}}">
|
|
|
<view class="image">
|
|
|
- <van-image width="100%" height="100%" fit="cover" src="{{item.attinfos[0].subfiles[0].url}}" use-loading-slot use-error-slot lazy-load>
|
|
|
+ <van-image width="100%" height="100%" fit="cover" src="{{item.attinfos[0].subfiles[0].url||item.attinfos[0].url||item.cover}}" use-loading-slot use-error-slot lazy-load>
|
|
|
<van-loading slot="loading" type="spinner" size="20" vertical />
|
|
|
<text slot="error">加载失败</text>
|
|
|
</van-image>
|
|
@@ -25,7 +25,7 @@
|
|
|
起订量:{{item.orderminqty}},增减量:{{item.orderaddqty}}
|
|
|
</van-checkbox>
|
|
|
</view>
|
|
|
- <van-stepper value="{{ item.qty }}" min="{{item.orderminqty}}" step="{{item.orderaddqty}}" disable-input input-class='input-class' data-index="{{index}}" catch:change="stepperChange" />
|
|
|
+ <van-stepper value="{{ item.qty }}" min="{{item.orderminqty}}" step="{{item.orderaddqty}}" disable-input input-class='input-class' data-index="{{index}}" catch:change="stepperChange" />
|
|
|
<!-- <van-stepper value="{{ item.qty }}" input-class='input-class' data-index="{{index}}" catch:change="stepperChange" /> -->
|
|
|
</view>
|
|
|
</navigator>
|