Commit c6ce30ba by 张立顺

样式修复

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