Przeglądaj źródła

style(view): 调整UI

Zhou Jianjia 3 lat temu
rodzic
commit
c0864f74b1
3 zmienionych plików z 14 dodań i 3 usunięć
  1. 1 1
      core/site.js
  2. 1 1
      pages.json
  3. 12 1
      pages/my/member.vue

+ 1 - 1
core/site.js

xqd
@@ -3,6 +3,6 @@
  */
 const ENV = process.env.NODE_ENV === 'development';
 module.exports = {
-    root: ENV ? 'http://www.sange-bridge.me/' : 'https://t16.9026.com/',
+    root: ENV ? 'https://t16.9026.com/' : 'https://t16.9026.com/',
     authKey: "!j1^z9hE4sXJdEE$#S1GLYQnWfEBakex",
 }

+ 1 - 1
pages.json

xqd
@@ -258,7 +258,7 @@
         "pagePath": "pages/index/index",
         "iconPath": "static/images/icons/tabs/bridge.png",
         "selectedIconPath": "static/images/icons/tabs/bridge-HL.png",
-        "text": "桥计算"
+        "text": "桥计算"
       },
       {
         "pagePath": "pages/math/index",

+ 12 - 1
pages/my/member.vue

xqd
@@ -55,8 +55,19 @@
 				})
 			},
 			handleBuy(){
-				uni.showLoading({title: '数据处理中...'})
 				let _this = this;
+				let platform = uni.getSystemInfoSync().platform;
+				if(platform === 'ios'){
+					uni.showModal({
+						title: '提示',
+						content: '由于相关规范,iOS功能暂不可用',
+						success: function (res) {
+							// res.confirm res.cancel
+						}
+					});
+					return false
+				}
+				uni.showLoading({title: '数据处理中...'})
 				this.$u.api.userBuy().then(data => {
 					uni.hideLoading();
 					uni.requestPayment({