Browse Source

[成长值 权益里面,判断是否显示我的特权]

tags/广东版3.2.1
meo 6 years ago
parent
commit
3e07d9a3b9
5 changed files with 7 additions and 9 deletions
  1. +3
    -3
      config/config.js
  2. +1
    -3
      pages/grade/grade.js
  3. +1
    -1
      pages/grade/grade.wxml
  4. +1
    -1
      pages/user/index.wxml
  5. +1
    -1
      project.config.json

+ 3
- 3
config/config.js View File

@@ -1,7 +1,7 @@
var config = {
// url: "https://ciformall.youlane.cn/C/api",
url: "https://ciformall.youlane.cn/C/api",
// url:"https://c.malls.iformall.com/C/api",
url:'https://ctest.malls.iformall.com/C/api',
// url:'https://ctest.malls.iformall.com/C/api',
// url:'http://10.100.33.66:7000/C/api',
api: {
/**
@@ -172,7 +172,7 @@ var config = {
},

weapp: {
AppId: "wx649b3be73c1afe47"
AppId: "wxea71200db93d756b"
},
ErrorCode: {
NICK_NOT_AUTH: 11004,


+ 1
- 3
pages/grade/grade.js View File

@@ -31,9 +31,7 @@ Page({
let that = this;
Http.get({
url: config.api.scoreLevelInfo,
data: {
appId: config.weapp.AppId,
}
data: {}
})
.then(res=>{
// if true 则开启特享礼遇


+ 1
- 1
pages/grade/grade.wxml View File

@@ -40,6 +40,6 @@
<image class='img' src='./../../assets/img/act.png' mode='widthFix'></image>
<text class="txt">暂无配置信息</text>
</view>
<view class='growthbg' bindtap='gotospecialcourtesy'>
<view class='growthbg' bindtap='gotospecialcourtesy' wx:if="{{discountEnable}}">
<image src='./../../assets/img/growthbg.png' mode='widthFix'></image>
</view>

+ 1
- 1
pages/user/index.wxml View File

@@ -85,7 +85,7 @@
<view class="margin"></view>
<!-- <button bindtap="navigateTo" class="user-out-btn">退出登陆</button> -->
<view bindlongtap='showVersion' class='version'>
<view wx:if="{{flag=='show'}}">版本号:3.1.4</view>
<view wx:if="{{flag=='show'}}">版本号:3.2.1</view>
<view wx:if="{{flag=='hidden'}}"></view>
</view>
</view>


+ 1
- 1
project.config.json View File

@@ -12,7 +12,7 @@
},
"compileType": "miniprogram",
"libVersion": "2.0.9",
"appid": "wx649b3be73c1afe47",
"appid": "wxea71200db93d756b",
"projectname": "C",
"isGameTourist": false,
"condition": {


Loading…
Cancel
Save