增加轮播图点击跳转示例,修改提交订单报错的问题
This commit is contained in:
@ -13,7 +13,7 @@
|
||||
<swiper indicatorDots="true" v-if="banner.length > 0" autoplay circular >
|
||||
<block v-for="(item, bannerIndex) in banner" :key="bannerIndex">
|
||||
<swiper-item>
|
||||
<view @click="item.url ? $yrouter.push('/' + item.url) : ''" class="swiper-item">
|
||||
<view @click="goRoll(item)" class="swiper-item">
|
||||
<image :src="item.pic" />
|
||||
</view>
|
||||
</swiper-item>
|
||||
|
@ -522,6 +522,7 @@ export default {
|
||||
if (this.$deviceType == "app") {
|
||||
from.from = "app";
|
||||
}
|
||||
console.log(this.storeItems, this.systemStore);
|
||||
createOrder(this.orderGroupInfo.orderKey, {
|
||||
realName: this.contacts,
|
||||
phone: this.contactsTel,
|
||||
@ -536,7 +537,7 @@ export default {
|
||||
from: this.from,
|
||||
mark: this.mark || "",
|
||||
shippingType: parseInt(shipping_type) + 1,
|
||||
storeId: this.storeItems.id || this.systemStore.id,
|
||||
storeId: this.storeItems ? this.storeItems.id : this.systemStore.id,
|
||||
...from
|
||||
})
|
||||
.then(res => {
|
||||
|
Reference in New Issue
Block a user