lyuis 7 months ago
parent
commit
a7556d0996
3 changed files with 12 additions and 5 deletions
  1. 2 2
      common/config.js
  2. 1 1
      pages/msg/im.vue
  3. 9 2
      pages/my/index.vue

+ 2 - 2
common/config.js

@@ -6,8 +6,8 @@ mobile=1
 //#endif
 if (process.env.NODE_ENV !== 'development'||mobile) {
 	//正式环境
-	const ROOTPATH = "http://www.bosszan.com/sqx_fast";
-	const ROOTPATH1 = "http://www.bosszan.com/sqx_fast";
+	const ROOTPATH = "https://www.bosszan.com/sqx_fast";
+	const ROOTPATH1 = "https://www.bosszan.com/sqx_fast";
 	const ROOTPATH2 = "wss://www.bosszan.com/wss/websocket/"; //联系客服
 	const ROOTPATH3 = "wss://www.bosszan.com/wss/chatSocket/" ; //聊天
 	const ROOTPATH4 = "https://www.bosszan.com";

+ 1 - 1
pages/msg/im.vue

@@ -1236,7 +1236,7 @@
 						complete(ret) {
 							if (ret.confirm) {
 								uni.navigateTo({
-									url: '/my/vip/index'
+									url: '/pages/my/VIP/benefits'
 								})
 							}
 						}

+ 9 - 2
pages/my/index.vue

@@ -409,7 +409,7 @@
 				</view>
 				<view class="user-content">
 					<!-- 升级VIP -->
-					<view class="vip-upgrade-banner" @click="goVipUpgrade">
+					<view v-if="isAndroid" class="vip-upgrade-banner" @click="goVipUpgrade">
 						<view class="vip-banner-content">
 							<view class="vip-banner-text"> 升级VIP专享超值权益 </view>
 							<view class="vip-upgrade-button"> 去升级 </view>
@@ -618,7 +618,7 @@
 											规则中心
 										</view>
 									</view>
-									<view class="util-item" @click="goNav('/pages/my/VIP/benefits')">
+									<view v-if="isAndroid" class="util-item" @click="goNav('/pages/my/VIP/benefits')">
 										<image src="../../static/images/my/icon/utils/benefits.png"
 											style="width: 54rpx; height: 54rpx" mode=""></image>
 										<view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
@@ -849,11 +849,18 @@ export default {
 			token: "",
 			companyInfo: "",
 			companyStatus: "", //企业认证状态(1:审核中 2:已通过 3:已拒绝 空:未认证)
+			isAndroid:false
 		};
 	},
 	onLoad(e) {
 		this.XCXIsSelect = this.$queue.getData("XCXIsSelect");
 		var that = this
+		//#ifdef APP-PLUS
+		this.isAndroid=uni.getSystemInfoSync().platform=='android'
+		//#endif
+		//#ifndef APP-PLUS
+		this.isAndroid=true
+		//#endif
 		uni.$on('changeRole', function (res) {
 			console.log(res.userType)
 			if (res.userType == 1) {