Bläddra i källkod

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

tags/广东版3.2.1
meo 6 år sedan
förälder
incheckning
3e07d9a3b9
5 ändrade filer med 7 tillägg och 9 borttagningar
  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 Visa fil

@@ -1,7 +1,7 @@
var config = { 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://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', // url:'http://10.100.33.66:7000/C/api',
api: { api: {
/** /**
@@ -172,7 +172,7 @@ var config = {
}, },


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


+ 1
- 3
pages/grade/grade.js Visa fil

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


+ 1
- 1
pages/grade/grade.wxml Visa fil

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

+ 1
- 1
pages/user/index.wxml Visa fil

@@ -85,7 +85,7 @@
<view class="margin"></view> <view class="margin"></view>
<!-- <button bindtap="navigateTo" class="user-out-btn">退出登陆</button> --> <!-- <button bindtap="navigateTo" class="user-out-btn">退出登陆</button> -->
<view bindlongtap='showVersion' class='version'> <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 wx:if="{{flag=='hidden'}}"></view>
</view> </view>
</view> </view>


+ 1
- 1
project.config.json Visa fil

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


Laddar…
Avbryt
Spara