Browse Source

[铜锣湾项目发版]

tags/铜锣湾3.3.3
meo 6 years ago
parent
commit
ce3051d144
3 changed files with 8 additions and 1 deletions
  1. +1
    -0
      ext.json
  2. +6
    -0
      pages/user/index.js
  3. +1
    -1
      pages/user/index.wxml

+ 1
- 0
ext.json View File

@@ -4,6 +4,7 @@
"ext": {
"weappId": "wx6a2524a8286d687f",
"name": "富茂链客生产版",
"appVersion": "C.nocar.3.3.3",
"attr": {
"ifHaveCarModular": "0",
"etcpversion": "release",


+ 6
- 0
pages/user/index.js View File

@@ -3,6 +3,8 @@ var app = getApp();
const Http = require("../../utils/HttpBasics");
const QR = require("../../utils/memberqrcode.js");
const imgurl = require("../../utils/imgurl");
const extConfig = wx.getExtConfigSync ? wx.getExtConfigSync() : {}
console.log(extConfig)
Page({
/**
* 页面的初始数据
@@ -97,6 +99,10 @@ Page({
*/
onShow: function() {
let that = this;
console.log(extConfig.appVersion)
that.setData({
appVersion: extConfig.appVersion
})
let num = wx.getStorageSync('couponNum');
let num1 = wx.getStorageSync('couponNum2');
wx.hideTabBarRedDot({


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

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


Loading…
Cancel
Save