Commit f2c58e81 by 张立顺

首页推送先打开

1 parent 58704443
## 正式版appid wx2c28337db96364d2
## 体验版appid wx24ebae5768e74138
\ No newline at end of file
......@@ -50,9 +50,8 @@
<view class="num">{{item.completeRate}}</view>
</view>
</view>
<view class="warReportLink">
<!-- <view class="warReportLink">
<view class="label">点击了解详情:</view>
<!-- bind:tap="preView" -->
<view
class="link"
wx:if="{{item.valueUrl}}"
......@@ -61,7 +60,7 @@
bind:tap="downLoad">
战报详情
</view>
</view>
</view> -->
</msg-box>
</scroll-view>
</view>
......
......@@ -682,7 +682,7 @@ Page({
.then(result => {
// console.log(result)
// 为2是已经展示过了
if (result.status && result.status != 2) {
// if (result.status && result.status != 2) {
this.setData({
posterItem: {
activityName: result.activityName,
......@@ -690,7 +690,7 @@ Page({
posterUrl: result.valueUrl
}
})
}
// }
})
.catch(err => {})
},
......
......@@ -136,9 +136,11 @@ page {
color: #3964fe;
}
}
.list-wrap{
.list-wrap {
height: calc(100% - 80rpx);
}
.list {
// overflow: scroll;
box-sizing: border-box;
......@@ -238,7 +240,7 @@ page {
// margin-top: 4px;
// margin-bottom: 4px;
box-sizing: border-box;
height: 40rpx;
// height: 40rpx;
display: flex;
justify-content: space-between;
align-items: center;
......@@ -400,7 +402,8 @@ page {
box-sizing: border-box;
// border: 1px solid #f7f8fc;
}
.open-img{
.open-img {
position: absolute;
top: 0;
right: 0;
......@@ -430,6 +433,7 @@ page {
transform: rotate(45deg) translateX(-50%);
background-color: #fff;
}
// .open-img{
// display: none;
// }
......
const target = ['ip', 'dev', 'uat', 'prod']
const target = ['ip', 'dev', 'uat', 'prod', 'preRelease']
/**
*
0本地
......@@ -12,7 +13,7 @@ const systemInfo = wx.getSystemInfoSync()
// console.log(systemInfo);
// console.log(accountInfo.miniProgram.envVersion)
//手动控制体验版环境的请求 true就依据下面index false就默认为2
const manual = false
const manual = true
const release = true
let index = 2
......@@ -59,6 +60,12 @@ const secretKey = {
appKey: '8b31ae1009ccb0f96130ca4bd90e3d89',
secret: '02d60f17ae714872845d2aa9d3b087e109ccb0f96130ca4b'
}
},
preRelease: {
sso: {
appKey: '8b31ae1009ccb0f96130ca4bd90e3d89',
secret: '02d60f17ae714872845d2aa9d3b087e109ccb0f96130ca4b'
}
}
}[target[index]]
......@@ -70,7 +77,7 @@ const domain = {
商城: 192.168.2.3:8558 */
dev: 'https://scrm.dev.glsx.com.cn',
uat: 'https://scrm.test.glsx.com.cn',
// uat: 'https://scrm.beta.glsx.com.cn',
preRelease: 'https://scrm.beta.glsx.com.cn',
prod: 'https://scrm.cgacar.com'
}[target[index]]
......@@ -94,6 +101,7 @@ const defaultMerchantId = {
ip: '44184606',
dev: '44184606',
uat: '44184606',
preRelease: '44184606',
prod: '44189923'
}[target[index]]
module.exports = {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!