From e7d9d12556a1853c479a2061fb6ca6117e4c743f Mon Sep 17 00:00:00 2001 From: "@fawn-nine" <1271023382@qq.com> Date: Mon, 26 Jun 2023 17:46:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E7=89=88=E4=B8=8A=E7=BA=BF=E5=90=8E?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/baseUrl.js | 4 +-- main.js | 4 +-- manifest.json | 6 ++-- pages.json | 11 +++++++- pages/peanut/home.vue | 2 +- pages/peanut/mine.vue | 33 +++++++++++++++++++++- pages/peanut/opeVip.vue | 31 ++++++++++++++++----- pages/user/login.vue | 62 ++++++++++++++++++++++++++++++++++++----- pages/user/protocol.vue | 2 ++ pages/yRead/angbook.vue | 7 +++-- 10 files changed, 136 insertions(+), 26 deletions(-) diff --git a/config/baseUrl.js b/config/baseUrl.js index 183a5c5..333a73d 100644 --- a/config/baseUrl.js +++ b/config/baseUrl.js @@ -5,8 +5,8 @@ if (process.env.NODE_ENV === 'development') { // baseUrl = "http://localhost:7001/"; // socketUrl = "ws://localhost:6001/"; // baseUrl = "https://twin-ui.com/demo/"; - // baseUrl = "http://59.110.212.44:9100/pb/"; - baseUrl = "http://192.168.110.100:9100/pb/"; + baseUrl = "http://59.110.212.44:9100/pb/"; + // baseUrl = "http://192.168.110.100:9100/pb/"; // socketUrl = "ws://8.129.186.35:6001/"; } else if (process.env.NODE_ENV === 'production') { // 生产环境 diff --git a/main.js b/main.js index 8934661..8373461 100644 --- a/main.js +++ b/main.js @@ -3,8 +3,8 @@ import App from './App' import qs from 'qs' // 地址 -Vue.prototype.$baseUrl = "http://192.168.110.100:9100/pb/" -// Vue.prototype.$baseUrl = "http://59.110.212.44:9100/pb/" +// Vue.prototype.$baseUrl = "http://192.168.110.100:9100/pb/" + Vue.prototype.$baseUrl = "http://59.110.212.44:9100/pb/" diff --git a/manifest.json b/manifest.json index 4be880d..b1e57d5 100644 --- a/manifest.json +++ b/manifest.json @@ -22,7 +22,7 @@ "prompt" : "template", "template" : { "title" : "用户协议和隐私政策", - "message" : "请你务必审慎阅读、充分理解“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。
  你可阅读《用户协议》《隐私政策》了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。", + "message" : "请你务必审慎阅读、充分理解“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。
  你可阅读《用户协议》《隐私协议》了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。", "buttonAccept" : "同意", "buttonRefuse" : "暂不同意" } @@ -30,7 +30,7 @@ "modules" : { "Payment" : {}, "OAuth" : {}, - "Messaging" : {}, + // "Messaging" : {}, 短信权限 "VideoPlayer" : {}, "Share" : {} }, @@ -99,7 +99,7 @@ }, "ios" : { "dSYMs" : false, - "UIBackgroundModes":["audio"] // 背景播放音乐 + "UIBackgroundModes" : [ "audio" ] // 背景播放音乐 }, "icons" : { "android" : { diff --git a/pages.json b/pages.json index fee2b0a..39b19ec 100644 --- a/pages.json +++ b/pages.json @@ -249,7 +249,16 @@ } } -], + ,{ + "path" : "pages/peanut/aboutUs", + "style" : + { + "navigationBarTitleText": "关于我们", + "enablePullDownRefresh": false + } + + } + ], "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "uni-app", diff --git a/pages/peanut/home.vue b/pages/peanut/home.vue index 99cc054..99338c0 100644 --- a/pages/peanut/home.vue +++ b/pages/peanut/home.vue @@ -217,7 +217,7 @@ seckillList: [], goodsList: [], bgiStyle: { - background: '#2ab588' + background: '#fff' }, iconStyle: { fontSize: '40rpx', diff --git a/pages/peanut/mine.vue b/pages/peanut/mine.vue index e7b2447..78471f4 100644 --- a/pages/peanut/mine.vue +++ b/pages/peanut/mine.vue @@ -73,9 +73,16 @@ + + 关于我们 + 退出登录 + + 注销帐号 + + { + .then(res => { this.xieyi = res.page.list[0] this.xieyiShow = true }) @@ -185,11 +185,28 @@ if(this.radioValue == '1'){ if(this.stepsVc.money > this.userMes.peanutCoin){ - uni.showToast({ - title:'疯币不足,请充值', - icon: 'error', - duration: 2000 - }) + // uni.showToast({ + // title:'疯币不足,请充值', + // icon: 'none', + // duration: 2000 + // }) + uni.showModal({ + title: '提示', + content: '疯币不足', + confirmText:'去充值', + showCancel:'知道了', + success: function (res) { + let that = this + if (res.confirm) { + console.log('用户点击确定'); + uni.navigateTo({ + url: '../peanut/reCharge' + }); + } else if (res.cancel) { + //console.log('用户点击取消'); + } + } + }); return }else{ this.kaiVip() @@ -203,7 +220,7 @@ } }, // 充值疯币 - buPoint() { + buPoint() { uni.navigateTo({ url: '../peanut/reCharge' }); diff --git a/pages/user/login.vue b/pages/user/login.vue index 97431a6..ee9cbcd 100644 --- a/pages/user/login.vue +++ b/pages/user/login.vue @@ -40,10 +40,13 @@ 我已同意 - 《用户协议》 + + + 《用户协议》 和 - 《隐私协议》 - + 《隐私协议》 + + @@ -95,10 +98,10 @@ 确定 - + - + + + + {{xieyi.title}} + + + + + - +