Commit c6ce30ba by 张立顺

样式修复

1 parent 2c2efa17
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
<view class="num">{{item.completeRate}}</view> <view class="num">{{item.completeRate}}</view>
</view> </view>
</view> </view>
<!-- <view class="warReportLink"> <view class="warReportLink">
<view class="label">点击了解详情:</view> <view class="label">点击了解详情:</view>
<view <view
class="link" class="link"
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
bind:tap="downLoad"> bind:tap="downLoad">
战报详情 战报详情
</view> </view>
</view> --> </view>
</msg-box> </msg-box>
</scroll-view> </scroll-view>
</view> </view>
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
<view class="label">结算时间:</view> <view class="label">结算时间:</view>
<view class="value">{{item.activityEndTime||'-'}}</view> <view class="value">{{item.activityEndTime||'-'}}</view>
</view> </view>
<view class="cell"> <!-- <view class="cell">
<view class="label">活动链接:</view> <view class="label">活动链接:</view>
<view <view
class="link" class="link"
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
data-url="{{item.activityUrl}}"> data-url="{{item.activityUrl}}">
下载海报 下载海报
</view> </view>
</view> </view> -->
</view> </view>
<view class="cell" wx:if="{{item.messageType == 4}}"> <view class="cell" wx:if="{{item.messageType == 4}}">
<view class="label">产品名称:</view> <view class="label">产品名称:</view>
......
...@@ -329,7 +329,7 @@ Component({ ...@@ -329,7 +329,7 @@ Component({
} else { } else {
swiperHeight = 686 swiperHeight = 686
} }
} else if (condition) { } else {
swiperHeight = 570 swiperHeight = 570
} }
// console.log(swiperHeight) // console.log(swiperHeight)
......
...@@ -13,8 +13,8 @@ const systemInfo = wx.getSystemInfoSync() ...@@ -13,8 +13,8 @@ const systemInfo = wx.getSystemInfoSync()
// console.log(systemInfo); // console.log(systemInfo);
// console.log(accountInfo.miniProgram.envVersion) // console.log(accountInfo.miniProgram.envVersion)
//手动控制体验版环境的请求 true就依据下面index false就默认为2 //手动控制体验版环境的请求 true就依据下面index false就默认为2
const manual = true const manual = false
const release = true const release = false
let index = 2 let index = 2
...@@ -24,21 +24,29 @@ let index = 2 ...@@ -24,21 +24,29 @@ let index = 2
// release:正式版 // release:正式版
// console.log( systemInfo.platform); // console.log( systemInfo.platform);
// console.log(accountInfo.miniProgram.envVersion); // console.log(accountInfo.miniProgram.envVersion);
// 对比一下appkey
console.log();
if (systemInfo.platform != 'devtools') { if (systemInfo.platform != 'devtools') {
switch (accountInfo.miniProgram.envVersion) { // 判断预发布的appid 是强制锁定为4(预发布的地址)
case 'develop': if (accountInfo.miniProgram.appId == 'wx24ebae5768e74138') {
// this.globalData.url = 'http://192.168.0.252:3000/api'; // index = 4
break } else {
case 'trial': switch (accountInfo.miniProgram.envVersion) {
index = manual ? index : 2 case 'develop':
break // this.globalData.url = 'http://192.168.0.252:3000/api'; //
case 'release': break
index = release ? index : 3 case 'trial':
break index = manual ? index : 2
default: break
index = 3 case 'release':
break index = release ? index : 3
break
default:
index = 3
break
}
} }
} }
const secretKey = { const secretKey = {
...@@ -78,7 +86,7 @@ const domain = { ...@@ -78,7 +86,7 @@ const domain = {
dev: 'https://scrm.dev.glsx.com.cn', dev: 'https://scrm.dev.glsx.com.cn',
uat: 'https://scrm.test.glsx.com.cn', uat: 'https://scrm.test.glsx.com.cn',
preRelease: 'https://scrm.beta.glsx.com.cn', preRelease: 'https://scrm.beta.glsx.com.cn',
prod: 'https://scrm.cgacar.com' prod: 'https://scrm.glsx.com.cn'
}[target[index]] }[target[index]]
const pathEnum = { const pathEnum = {
......
账号登录: 10988866666(超管)xiong110 账号登录: 10988866666(超管)xiong110
测试环境 bb123456 密码 bb123456 测试环境 bb123456 密码 bb123456
csysfws a123456 csysfws a123456
预发布服务商:csyfbfws01/a123456
ssfwsa a123456
\ No newline at end of file \ No newline at end of file
生意助手小程序--生意助手2号
账号:ssfwsa a123456
csyfbfws01/a123456
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!