|
@@ -4,7 +4,7 @@
|
|
|
<tm-menubars title="详情" :shadow="0" :showback="true"></tm-menubars>
|
|
|
<image class="touimg" :src="moren" mode="widthFix"></image>
|
|
|
<view class="qiehuancla">
|
|
|
- <view :class="index==0?'border':'border1'" class="da" v-for="(item,index) in datall.images" @click="qiehuan(index,item)">
|
|
|
+ <view :class="index==0?'border':'border1'" class="da" v-for="(item,index) in datall.atlas_thumb" @click="qiehuan(index,item)">
|
|
|
<image class="xiaoimg" :src="item"></image>
|
|
|
<image v-if="index==chooseindex" class="sanjiao" src="/static/img/93.png" mode="widthFix"></image>
|
|
|
</view>
|
|
@@ -89,7 +89,7 @@ export default {
|
|
|
if (res.data.code == 200) {
|
|
|
console.log(res.data.data.details,'shuju1');
|
|
|
that.datall=res.data.data.data;
|
|
|
- that.moren=that.datall.images[0]
|
|
|
+ that.moren=that.datall.atlas_thumb[0]
|
|
|
res.data.data.details.forEach(item => {
|
|
|
that.test.push({
|
|
|
img: item.shopGoods.image,
|
|
@@ -99,8 +99,7 @@ export default {
|
|
|
id: item.shopGoods.id,
|
|
|
price:item.shopGoods.sale_price,
|
|
|
category_id:item.shopGoods.category_id,
|
|
|
- sale_num:item.shopGoods.sale_num,
|
|
|
-
|
|
|
+ sale_num:item.shopGoods.sale_num,
|
|
|
})
|
|
|
})
|
|
|
} else {
|