Commit 50474d4b by wangjian

1

parent 1cf86515
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
<view class="exchange" @click="showSkuDialog"><text class="exchange-txt">立即兑换</text></view> <view class="exchange" @click="showSkuDialog"><text class="exchange-txt">立即兑换</text></view>
</view> </view>
<goodsSelect :goods="goods" closeName="showSku" v-show="showSku" @certain="goSubmit"></goodsSelect> <goodsSelect :goods="goods" closeName="showSku" v-show="showSku" @certain="goSubmit"></goodsSelect>
<previewImages v-if="showPreviewImages" :picList="imgList" :current="currentPosition" indicatorDots="true"></previewImages> <previewImages v-if="showPreviewImages" :picList="goods.image" :current="currentPosition" indicatorDots="true"></previewImages>
<setPwdAlert closeName="showPwdAlert" v-show="showPwdAlert"></setPwdAlert> <setPwdAlert closeName="showPwdAlert" v-show="showPwdAlert"></setPwdAlert>
</view> </view>
</template> </template>
...@@ -105,6 +105,7 @@ ...@@ -105,6 +105,7 @@
this.$net.get('/goods/sku/detail', params).then(res => { this.$net.get('/goods/sku/detail', params).then(res => {
if (res.code === 200) { if (res.code === 200) {
this.goods = res.data this.goods = res.data
this.indictorLength = this.goods.image.length;
uni.setNavigationBarTitle({ uni.setNavigationBarTitle({
title:this.goods.skuDetail.name title:this.goods.skuDetail.name
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment