Browse Source

[消费卡][增加]:[增加优惠券返回首页按钮]

tags/河北版C.8.1.01
meo 5 years ago
parent
commit
b518f0abad
5 changed files with 9 additions and 8 deletions
  1. +2
    -0
      pages/discountCardList/discountCardList.js
  2. +2
    -1
      pages/discountCardList/discountCardList.json
  3. +3
    -2
      pages/discountCardList/discountCardList.wxml
  4. +1
    -4
      pages/game/index.json
  5. +1
    -1
      pages/main/index.js

+ 2
- 0
pages/discountCardList/discountCardList.js View File

@@ -1,3 +1,4 @@
const navigationBarHeight = (getApp().statusBarHeight + 44) + 'px'
const util = require("../../utils/util.js");
const config = require("../../config/config.js");
const Http = require("../../utils/HttpBasics");
@@ -5,6 +6,7 @@ const imgurl = require("../../utils/imgurl");
let app = getApp();
Page({
data: {
navigationBarHeight,
tabData:[
{
title: '全部',


+ 2
- 1
pages/discountCardList/discountCardList.json View File

@@ -1,7 +1,8 @@
{
"usingComponents": {
"i-tab": "../../../dist/tab/index",
"i-tabs": "../../../dist/tabs/index"
"i-tabs": "../../../dist/tabs/index",
"navbar": "../../components/navbar/navbar"
},
"navigationBarTitleText": "消费卡",
"navigationBarBackgroundColor": "#F4F5F9"

+ 3
- 2
pages/discountCardList/discountCardList.wxml View File

@@ -1,6 +1,7 @@
<button class='goback' bindtap='goback'><image src='{{wmhome}}' mode="widthFix"></image></button>
<!-- <button class='goback' bindtap='goback'><image src='{{wmhome}}' mode="widthFix"></image></button> -->
<navbar back home text="消费卡"></navbar>
<!-- 折扣卡list页面 -->
<view class='content'>
<view class='content' style="padding-top:{{navigationBarHeight}}">
<view class="market clearfix">
<view class='tabss'>
<i-tabs current="{{current_scroll}}" scroll bindchange="handleChangeScroll">


+ 1
- 4
pages/game/index.json View File

@@ -1,6 +1,3 @@
{
"usingComponents": {
},
"navigationBarTitleText": ""
"navigationBarTitleText": "小游戏"
}

+ 1
- 1
pages/main/index.js View File

@@ -159,7 +159,7 @@ Page({
couponId: "" + that.data.couponId
};
}
wx.navigateTo({
wx.redirectTo({
url: '/pages/game/index?url=' + that.data.staticGamedata.url + "&id=" + that.data.staticGamedata.id + "&gameId=" + that.data.staticGamedata.gameId,
})
})


Loading…
Cancel
Save