微信小程序发布试用版本
This commit is contained in:
@@ -97,8 +97,10 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
// #ifdef APP
|
||||
import checkUpdate from '@/uni_modules/uni-upgrade-center-app/utils/check-update';
|
||||
import callCheckVersion from '@/uni_modules/uni-upgrade-center-app/utils/call-check-version';
|
||||
// #endif
|
||||
// #ifdef APP
|
||||
import UniShare from '@/uni_modules/uni-share/js_sdk/uni-share.js';
|
||||
const uniShare = new UniShare()
|
||||
@@ -110,7 +112,7 @@
|
||||
import {
|
||||
store,
|
||||
mutations
|
||||
} from '@/uni_modules/uni-id-pages/common/store.js'
|
||||
} from '@/common/store.js'
|
||||
import { put, get } from '@/common/request.js'
|
||||
import DeviceBindPopup from './components/DeviceBindPopup.vue'
|
||||
import DeviceListPopup from './components/DeviceListPopup.vue'
|
||||
@@ -188,13 +190,13 @@
|
||||
],
|
||||
[{
|
||||
"title": this.$t('mine.settings'),
|
||||
"to": '/pages/ucenter/settings/settings',
|
||||
"to": '/pages-subpackage/ucenter/settings/settings',
|
||||
"icon": "gear"
|
||||
}],
|
||||
// #ifdef APP
|
||||
[{
|
||||
"title": this.$t('mine.about'),
|
||||
"to": '/pages/ucenter/about/about',
|
||||
"to": '/pages-subpackage/ucenter/about/about',
|
||||
"icon": "info"
|
||||
}]
|
||||
// #endif
|
||||
@@ -327,7 +329,7 @@
|
||||
},
|
||||
toSettings() {
|
||||
uni.navigateTo({
|
||||
url: "/pages/ucenter/settings/settings"
|
||||
url: "/pages-subpackage/ucenter/settings/settings"
|
||||
})
|
||||
},
|
||||
signIn() { //普通签到
|
||||
@@ -344,7 +346,7 @@
|
||||
this[item.event]();
|
||||
} else if (item.to) {
|
||||
// 如果是 tabBar 页面,使用 switchTab
|
||||
const tabBarPages = ['/pages/reception/reception', '/pages/customer/customer', '/pages/team/team', '/pages/champion/champion']
|
||||
const tabBarPages = ['/pages/furniture_reception/furniture_reception', '/pages/furniture_customer/furniture_customer', '/pages/furniture_top_sales/furniture_top_sales', '/pages/ucenter/ucenter']
|
||||
if (tabBarPages.includes(item.to)) {
|
||||
uni.switchTab({
|
||||
url: item.to
|
||||
@@ -465,7 +467,7 @@
|
||||
content: { //公共的分享类型(type)、链接(herf)、标题(title)、summary(描述)、imageUrl(缩略图)
|
||||
type: 0,
|
||||
href: this.appConfig.h5.url +
|
||||
`/#/pages/ucenter/invite/invite?code=uniInvitationCode:${myInviteCode}`,
|
||||
`/#/pages-subpackage/ucenter/invite/invite?code=uniInvitationCode:${myInviteCode}`,
|
||||
title: appName,
|
||||
summary: slogan,
|
||||
imageUrl: logo +
|
||||
|
||||
Reference in New Issue
Block a user