diff --git a/jiuyi2/api/index.js b/jiuyi2/api/index.js
index b5fb15a7..b2299a9f 100644
--- a/jiuyi2/api/index.js
+++ b/jiuyi2/api/index.js
@@ -103,9 +103,9 @@ const api = {
* 获取未读消息数量
* @param {Object} param
*/
- getNoReadNum() {
+ getAppVersion() {
return util.request({
- url: '/shopify/region/all',
+ url: '/system/appversion/latest',
method: 'GET',
})
},
diff --git a/jiuyi2/common/js/config.js b/jiuyi2/common/js/config.js
index d9448b2f..ea5d4755 100644
--- a/jiuyi2/common/js/config.js
+++ b/jiuyi2/common/js/config.js
@@ -6,7 +6,8 @@ const config = {
// host: 'h5api',
// #endif
// #ifndef H5
- host: 'http://91f.xyz:8080',
+ // host: 'http://91f.xyz:8080',
+ host: 'http://3f609e6a.r24.cpolar.top',
// #endif
// 支付方式配置
payType: {
diff --git a/jiuyi2/common/js/util.js b/jiuyi2/common/js/util.js
index 36f0c9ca..17db9ca8 100644
--- a/jiuyi2/common/js/util.js
+++ b/jiuyi2/common/js/util.js
@@ -213,7 +213,7 @@ const util = {
responseType: params.responseType || 'text',
// 请求成功返回
success: res => {
- console.log('request success', url, res, params.data ? params.data : '')
+ // console.log('request success', url, res, params.data ? params.data : '')
// 关闭加载效果
if (params.load) {
uni.hideLoading()
diff --git a/jiuyi2/components/index/appVerUpdate.vue b/jiuyi2/components/index/appVerUpdate.vue
new file mode 100644
index 00000000..83e43dcb
--- /dev/null
+++ b/jiuyi2/components/index/appVerUpdate.vue
@@ -0,0 +1,111 @@
+
+
+
+
+
+
+
+
+ 最新版本为{{versionCloud.versionName}}
+
+ 更新说明:
+ {{versionCloud.updateContent}}
+
+
+
+
+ 更新
+
+
+
+
+
+
\ No newline at end of file
diff --git a/jiuyi2/pages/index/article.vue b/jiuyi2/pages/index/article.vue
index b1e74a16..ef465df0 100644
--- a/jiuyi2/pages/index/article.vue
+++ b/jiuyi2/pages/index/article.vue
@@ -36,6 +36,10 @@
}).then(rs => {
if (rs.code == 200) {
Object.assign(wrap, rs.data)
+ // 设置标题
+ uni.setNavigationBarTitle({
+ title: rs.data.agreementType
+ })
return
}
util.alert({
diff --git a/jiuyi2/pages/index/durian.vue b/jiuyi2/pages/index/durian.vue
index 4414ebef..4c591c8f 100644
--- a/jiuyi2/pages/index/durian.vue
+++ b/jiuyi2/pages/index/durian.vue
@@ -317,6 +317,11 @@
置换流量
+
+
+ 玩法规则说明
+
+
diff --git a/jiuyi2/pages/index/index.nvue b/jiuyi2/pages/index/index.nvue
index 364e4ef3..d4752dc4 100644
--- a/jiuyi2/pages/index/index.nvue
+++ b/jiuyi2/pages/index/index.nvue
@@ -21,6 +21,8 @@
// api
import api from '@/api/index.js'
+ // 版本更新弹窗
+ import appVerUpdateAlt from '@/components/index/appVerUpdate.vue';
// 顶部状态栏
import statusBar from '@/components/header/statusBar.vue'
// 引入视频
@@ -216,6 +218,10 @@
// handleProBuy({
// productId: 42,
// })
+
+ setTimeout(() => {
+ proxy.$refs.appVerUpdateRef.init()
+ }, 1000)
})
onShow(() => {
@@ -830,6 +836,8 @@
+
+
diff --git a/jiuyi2/pages/index/integralMall.vue b/jiuyi2/pages/index/integralMall.vue
index f78a2614..4732375e 100644
--- a/jiuyi2/pages/index/integralMall.vue
+++ b/jiuyi2/pages/index/integralMall.vue
@@ -113,9 +113,13 @@
{{item.price}}购买
-
+
+
+ 玩法规则说明
+
+
diff --git a/jiuyi2/pages/index/myTeam.vue b/jiuyi2/pages/index/myTeam.vue
index 1994316e..17518191 100644
--- a/jiuyi2/pages/index/myTeam.vue
+++ b/jiuyi2/pages/index/myTeam.vue
@@ -194,6 +194,11 @@
+
+
+ 玩法规则说明
+
+
diff --git a/jiuyi2/vite.config.js b/jiuyi2/vite.config.js
index fc5535df..c135185a 100644
--- a/jiuyi2/vite.config.js
+++ b/jiuyi2/vite.config.js
@@ -3,7 +3,8 @@ import {
} from 'vite';
import uni from '@dcloudio/vite-plugin-uni';
-let target = 'http://91f.xyz:8080'
+// let target = 'http://91f.xyz:8080'
+let target = 'http://3f609e6a.r24.cpolar.top'
export default defineConfig({
plugins: [uni()],