Commit 50474d4b by wangjian

1

parent 1cf86515
......@@ -66,7 +66,7 @@
<view class="exchange" @click="showSkuDialog"><text class="exchange-txt">立即兑换</text></view>
</view>
<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>
</view>
</template>
......@@ -105,6 +105,7 @@
this.$net.get('/goods/sku/detail', params).then(res => {
if (res.code === 200) {
this.goods = res.data
this.indictorLength = this.goods.image.length;
uni.setNavigationBarTitle({
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