add
This commit is contained in:
parent
1d83db07f4
commit
02b558210a
|
@ -11,7 +11,7 @@
|
|||
<view class="multiple-card-wrap" style="padding-top: 12rpx;">
|
||||
<block v-for="(item,indx) in shopList" :key="indx">
|
||||
<view class="multiple-card-item" :class="{active:currShop == item.id}"
|
||||
@click="onChooseShop(item.id)">
|
||||
@click="onChooseShop(item)">
|
||||
<view class="multiple-card-item-left">
|
||||
<view class="multiple-card-item-left-title">{{item.name}}</view>
|
||||
<view class="multiple-card-item-left-tag">
|
||||
|
@ -88,12 +88,12 @@
|
|||
});
|
||||
|
||||
// 门店选择
|
||||
const onChooseShop = (id) => {
|
||||
currShop.value = id;
|
||||
|
||||
const onChooseShop = (item) => {
|
||||
currShop.value = item.id;
|
||||
uni.setStorageSync('STORE_INFO', JSON.stringify(item))
|
||||
setTimeout(() => {
|
||||
uni.reLaunch({
|
||||
url: '/pages/index/index?id=' + id,
|
||||
url: '/pages/index/index?id=' + item.id,
|
||||
fail(err) {
|
||||
console.log(err);
|
||||
}
|
||||
|
|
|
@ -187,7 +187,7 @@
|
|||
if (item.check) list.push(item.id);
|
||||
})
|
||||
cartDeleteApi({
|
||||
cart_id: list
|
||||
id: list
|
||||
}).then(() => {
|
||||
getcartList(false);
|
||||
})
|
||||
|
|
|
@ -96,7 +96,7 @@
|
|||
<view class="row">
|
||||
<view>活动折扣 <text>9折</text></view>
|
||||
<view>
|
||||
<text>-¥</text>{{c_price(orderInfo.pay_price, 0)}}<text>.{{c_price(orderInfo.pay_price, 1)}}</text>
|
||||
<text>-¥</text>{{c_price(orderInfo.vip_price, 0)}}<text>.{{c_price(orderInfo.vip_price, 1)}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
|
@ -35,7 +35,7 @@ const useUserStore = defineStore("user", () => {
|
|||
mobile: "19330904744",
|
||||
nickname: "用户1714964250",
|
||||
supplier: null,
|
||||
token: "f3b5b546ef3fd35370ba0b38dfac65a8"
|
||||
token: "04d41270bc4dae8053cd180148514747"
|
||||
}
|
||||
// #endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue