【类 型】:feat

【原  因】:获取禁飞区和贤妃去列表
【过  程】:
【影  响】:
This commit is contained in:
air 2025-06-16 19:46:15 +08:00
parent 754963fe17
commit 8fa898a5f7
3 changed files with 1326 additions and 11 deletions

14
App.vue
View File

@ -3,8 +3,11 @@
//
onLaunch: function(options) {
//id id
this.$store.commit('setShopId', String(options.query.s))
this.$store.commit('setSiteId', String(options.query.z))
// 使
const shopId = options?.query?.s || '2dc23dcfecc05fb1'
const siteId = options?.query?.z || '13'
this.$store.commit('setShopId', String(shopId))
this.$store.commit('setSiteId', String(siteId))
//
this.$store.dispatch('fetchShopCon')
//
@ -374,8 +377,8 @@
.h100 {
height: 100%;
}
.h80{
.h80 {
height: 80%;
}
@ -386,7 +389,8 @@
.w100 {
width: 100%;
}
.w80{
.w80 {
width: 80%;
}

1311
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -31,7 +31,7 @@
</view> -->
<!-- 主按钮 -->
<view class="flex mse" style="margin-top: 30rpx;">
<mainBut url="/pages/shop/list" bg="#D43030" imgSrc="/static/icons/ordernow.svg" butBt="开始点餐"
<mainBut url="/pages/shop/list" bg="#D43030" imgSrc="/static/icons/ordernow.svg" butBt="景区闪购"
butSt="Order Now" />
<mainBut url="/pages/shop/list?tag=shop" bg="#FF8D1A" imgSrc="/static/icons/buggoods.svg" butBt="购买商品"
butSt="Buy Goods" />
@ -96,11 +96,11 @@
},
//banner
bannerList() {
return this.$store.state.bannerList
.filter(item => item.type === 'index')
.map(item => ({
url: item.photo
}))
return this.$store.state.bannerList
.filter(item => item.type === 'index')
.map(item => ({
url: item.photo
}))
}
},
watch: {},