更新
This commit is contained in:
parent
0c03d067db
commit
1958afbda0
@ -268,7 +268,9 @@ import activityCard from "@/components/activityCard.vue"
|
||||
uni.stopPullDownRefresh()
|
||||
})
|
||||
},
|
||||
onShow() {},
|
||||
onShow() {
|
||||
this.$store.commit('INIT_CONFIG');
|
||||
},
|
||||
onLoad() {
|
||||
this.Area()
|
||||
// this.selfLocation()
|
||||
|
@ -174,6 +174,13 @@
|
||||
</uni-popup>
|
||||
|
||||
<shortPopup ref="shortPopupRef" @addCart="loadCart" :source="103"></shortPopup>
|
||||
|
||||
<uni-popup ref="activityRef">
|
||||
<view style="padding-bottom: 10vh;display: flex;flex-direction: column;align-items: center;" @click="closeAcvtivity">
|
||||
<image style="width: 560rpx;" mode="widthFix" src="https://lihai001.oss-cn-chengdu.aliyuncs.com/public/uploads/new_activity/activity_card.webp"></image>
|
||||
<image style="width: 60rpx" mode="widthFix" src="https://lihai001.oss-cn-chengdu.aliyuncs.com/public/uploads/new_activity/close.png"></image>
|
||||
</view>
|
||||
</uni-popup>
|
||||
|
||||
</view>
|
||||
</template>
|
||||
@ -368,9 +375,9 @@
|
||||
})
|
||||
.exec();
|
||||
}, 100)
|
||||
// this.$nextTick(()=>{
|
||||
// this.$refs.shortPopupRef.open();
|
||||
// })
|
||||
this.$nextTick(()=>{
|
||||
this.$refs.activityRef.open();
|
||||
})
|
||||
},
|
||||
computed: {
|
||||
downMenus: function() {
|
||||
@ -391,6 +398,9 @@
|
||||
}, mapGetters(['viewColor', 'keyColor'])),
|
||||
},
|
||||
methods: {
|
||||
closeAcvtivity(){
|
||||
this.$refs.activityRef.close();
|
||||
},
|
||||
async getCloundShop() {
|
||||
const {
|
||||
data
|
||||
|
@ -160,7 +160,6 @@ const actions = {
|
||||
title: info.title || '发现新版本',
|
||||
content: info.content || '修复了部分BUG',
|
||||
versionName: info.version || '1.0.1',
|
||||
|
||||
brand:res.data.appInfo.phone_brand,
|
||||
downUrl: info.dow_url || '',
|
||||
force: info.force == 1 ? true : false, // 是否强制更新
|
||||
|
Loading…
x
Reference in New Issue
Block a user