This commit is contained in:
GaoHao 2024-12-11 16:33:19 +08:00
commit a87c94fdba
3 changed files with 13 additions and 8 deletions

View File

@ -1,10 +1,10 @@
// const ROOTPATH1 = "https://dj-api.hnsiyao.cn/sqx_fast/"; //
// const ROOTPATH = "https://dj-api.hnsiyao.cn/sqx_fast/"; //后台服务域名
// const ROOTPATH2 = "https://dj-h5.hnsiyao.cn"; //后台服务域名
const ROOTPATH1 = "https://dj-api.hnsiyao.cn/sqx_fast/"; //
const ROOTPATH = "https://dj-api.hnsiyao.cn/sqx_fast/"; //后台服务域名
const ROOTPATH2 = "https://dj-h5.hnsiyao.cn"; //后台服务域名
const ROOTPATH1 = "https://video.hnsiyao.cn/sqx_fast/"; //
const ROOTPATH = "https://video.hnsiyao.cn/sqx_fast/"; //后台服务域名
const ROOTPATH2 = "https://video-h5.hnsiyao.cn"; //后台服务域名
// const ROOTPATH1 = "https://video.hnsiyao.cn/sqx_fast/"; //
// const ROOTPATH = "https://video.hnsiyao.cn/sqx_fast/"; //后台服务域名
// const ROOTPATH2 = "https://video-h5.hnsiyao.cn"; //后台服务域名
module.exports = {
APIHOST: ROOTPATH,

View File

@ -29,6 +29,7 @@
<view>退出登录</view>
<view><u-icon name="arrow-right"></u-icon></view>
</view>
<view class="version" style="position: absolute;bottom: 50rpx;left: 0;right: 0;margin: auto;text-align: center;color: #666;">{{ version }}版本</view>
</view>
</template>
@ -36,11 +37,14 @@
export default {
data() {
return {
version: null,
}
},
onLoad() {
plus.runtime.getProperty(plus.runtime.appid, widgetInfo => {
console.log(widgetInfo)
this.version = widgetInfo.version
})
},
methods: {
goNav(e) {

View File

@ -297,6 +297,7 @@
this.getBannerList()
},
onShow() {
this.isWxIosPay = uni.getStorageSync('isWxIosPay')
this.kmPaySel = this.$queue.getData('kmPaySel');
this.numCount = uni.getStorageSync('numCount')