Browse Source

[限时抢购][增加]:[返回首页按钮]

tags/河北版C.8.1.01
meo 5 years ago
parent
commit
1dc51317dd
3 changed files with 7 additions and 3 deletions
  1. +2
    -0
      pages/rushToBuy/index.js
  2. +2
    -1
      pages/rushToBuy/index.json
  3. +3
    -2
      pages/rushToBuy/index.wxml

+ 2
- 0
pages/rushToBuy/index.js View File

@@ -1,3 +1,4 @@
const navigationBarHeight = (getApp().statusBarHeight + 44) + 'px'
let config = require("../../config/config.js");
let Http = require("../../utils/HttpBasics");
const util = require("../../utils/util");
@@ -8,6 +9,7 @@ Page({
* 页面的初始数据
*/
data: {
navigationBarHeight,
linesUrl: imgurl.lines.url,
loadingUrl: imgurl.loading.url,
wmhome: imgurl.wmhome.url,


+ 2
- 1
pages/rushToBuy/index.json View File

@@ -1,5 +1,6 @@
{
"usingComponents": {
"usingComponents": {
"navbar": "../../components/navbar/navbar"
},
"navigationBarTitleText": "限时秒杀"
}

+ 3
- 2
pages/rushToBuy/index.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 background="#fff" text="限时抢购"></navbar>
<!-- 限时抢购 查看更多对应的页面 -->
<view wx:if="{{showPage}}">
<view wx:if="{{showPage}}" style="padding-top:{{navigationBarHeight}}">
<view wx:for="{{list}}" wx:if="{{item.targetA!='end'&&list.length>0}}" class='flashSaleItemWrap' wx:key="index">
<view class='flashSaleItem' data-couponId="{{item.couponId}}" data-couponChannelId="{{item.id}}" data-targetAd="{{item.targetAd}}" bindtap="gotodetail">
<view class='flashSaleItemTop'>


Loading…
Cancel
Save