Browse Source

【】

release
GL 4 years ago
parent
commit
2a002eac6b
10 changed files with 39 additions and 33 deletions
  1. +1
    -1
      app.js
  2. +3
    -1
      custom-tab-bar/index.js
  3. +10
    -6
      ext.json
  4. +9
    -9
      index/index.js
  5. +3
    -3
      index/user.js
  6. +3
    -3
      pages/cardorder/index/index.js
  7. +5
    -5
      pages/coupon/detail/index.js
  8. +3
    -3
      pages/couponorder/index/index.js
  9. +1
    -1
      pages/spellGroup/mySpellGroup/index.wxml
  10. +1
    -1
      project.config.json

+ 1
- 1
app.js View File

@@ -6,7 +6,7 @@ App({
newArr:[],//存放分享二维进入消息信息
},
onLaunch: function(options) {
wx.hideTabBar()
// wx.hideTabBar()
var that = this;
if (that.globalData.previewFlag) {//解决微信图片预览重复进入app.js onshow
that.globalData.previewFlag = false


+ 3
- 1
custom-tab-bar/index.js View File

@@ -36,7 +36,9 @@ Component({
]
},
created(){
this.getType()
if(app.globalData.token){
this.getType()
}
},
// lifetimes: {
// attached: function () {


+ 10
- 6
ext.json View File

@@ -1,6 +1,13 @@
{
"ext": {
"attr": {
"car": {
"etcp": {
"etcpAppId": "wx192b7d2e8dcbefd0",
"etcpVersion": "release",
"etcpCallbackUrl": "https://admintest.malls.iformall.com/api/carCallback/etcpPaidCallback"
}
},
"imgProxy": [
{
"newUrl": "https://ctest.malls.iformall.com/img",
@@ -16,14 +23,11 @@
}
],
"configUrl": "https://ctest.malls.iformall.com/C/api",
"etcpAppId": "wx9f3a77763caa7c89",
"etcpVersion": "release",
"etcpCallbackUrl": "https://admintest.malls.iformall.com/api/carCallback/etcpPaidCallback",
"ifHaveWebSocket": "0",
"ifHaveCarModular": "1"
},
"name": "富茂望京测试版",
"weappId": "wx9f3a77763caa7c89",
"name": "金泸商务",
"weappId": "wx649b3be73c1afe47",
"appVersion": "C.test.5.2.0"
},
"debug": false,
@@ -69,7 +73,7 @@
"provider": "wx2b03c6e691cd7370"
}
},
"extAppid": "wx9f3a77763caa7c89",
"extAppid": "wx649b3be73c1afe47",
"extEnable": true,
"permission": {
"scope.userLocation": {


+ 9
- 9
index/index.js View File

@@ -382,15 +382,15 @@ Page({
let num = wx.getStorageSync('couponNum');
let num1 = wx.getStorageSync('couponNum2');

if (num == 'couponNum' || num1 == 'couponNum2') {
wx.showTabBarRedDot({
index: 3
})
} else {
wx.hideTabBarRedDot({
index: 3
})
}
// if (num == 'couponNum' || num1 == 'couponNum2') {
// wx.showTabBarRedDot({
// index: 3
// })
// } else {
// wx.hideTabBarRedDot({
// index: 3
// })
// }

if (app.globalData.score) {
that.setData({


+ 3
- 3
index/user.js View File

@@ -244,9 +244,9 @@ Page({
*/
let num = wx.getStorageSync('couponNum');
let num1 = wx.getStorageSync('couponNum2');
wx.hideTabBarRedDot({
index: 3
});
// wx.hideTabBarRedDot({
// index: 3
// });
if (num == 'couponNum1') {
wx.setStorage({
key: 'couponNum',


+ 3
- 3
pages/cardorder/index/index.js View File

@@ -51,9 +51,9 @@ Page({
key: 'couponNum2',
data: "couponNum3",
})
wx.hideTabBarRedDot({
index: 3
})
// wx.hideTabBarRedDot({
// index: 3
// })
},
userule: function() {
wx.navigateTo({


+ 5
- 5
pages/coupon/detail/index.js View File

@@ -107,7 +107,7 @@ Page({
status: 0,
merchantIds: id,
pageNum: that.data.page,
pageSize: 4,
pageSize: 5,
}
Http.post({
url: config.api.listByMerchant,
@@ -117,16 +117,16 @@ Page({
return
}
let dataLsit = []
dataLsit = that.data.couponList
dataLsit.push(...res.data.page.list)
// dataLsit = that.data.couponList
dataLsit=res.data.page.list
dataLsit.map((item,index)=>{
if (item.id == that.data.couponChannelId){
dataLsit.splice(index,1)
}
})
if (that.data.page>1){
let tmpeLsit = dataLsit
tmpeLsit.push(...res.data.page.list)
let tmpeLsit = that.data.couponList
tmpeLsit.push(...dataLsit)
that.setData({
couponList: tmpeLsit,
})


+ 3
- 3
pages/couponorder/index/index.js View File

@@ -48,9 +48,9 @@ Page({
key: 'couponNum',
data: "couponNum1",
})
wx.hideTabBarRedDot({
index:2
})
// wx.hideTabBarRedDot({
// index:2
// })
},
goback: function () {
wx.switchTab({


+ 1
- 1
pages/spellGroup/mySpellGroup/index.wxml View File

@@ -110,7 +110,7 @@
</view>
</view>
<!-- 问卷调查 -->
<view class="b1" style="opacity:{{opacity}};display: {{display}};position: fixed;bottom: 0px;left: 0px;right: 0px;background: rgba(0, 0, 0, 0.8);overflow: hidden;z-index: 10;" animation="{{queueData}}">
<view class="b1" style="opacity:{{opacity}};display: {{display}};position: fixed;top:{{navigationBarHeight}};bottom: 0px;left: 0px;right: 0px;background: rgba(0, 0, 0, 0.8);overflow: hidden;z-index: 13;" animation="{{queueData}}">
<view id='con' class='con'>
<image class='wmclose' mode='widthFix' src="{{closedUrl}}" bindtap="closeQuestion"></image>
<image class='ques_gou' mode='widthFix' src="{{quesGouUrl}}"></image>


+ 1
- 1
project.config.json View File

@@ -31,7 +31,7 @@
"userConfirmedUseCompilerModuleSwitch": false
},
"compileType": "miniprogram",
"libVersion": "2.9.5",
"libVersion": "2.16.0",
"appid": "wxfa336cad86ed598d",
"projectname": "oldC",
"isGameTourist": false,


Loading…
Cancel
Save