@@ -1,5 +1,5 @@ | |||||
<!-- <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 home back text="我的卡包" color="#3c3c3c"></navbar> | |||||
<navbar home back text="我的卡包" color="#000" background="#ffff"></navbar> | |||||
<view class="market" wx:if="{{showPage}}" style="padding-top:{{navigationBarHeight}}"> | <view class="market" wx:if="{{showPage}}" style="padding-top:{{navigationBarHeight}}"> | ||||
<!-- 卡包 我的优惠券 --> | <!-- 卡包 我的优惠券 --> | ||||
<i-tabs style="top:{{navigationBarHeight}}" class='tabs' current="{{ current_scroll }}" scroll bindchange="handleChangeScroll"> | <i-tabs style="top:{{navigationBarHeight}}" class='tabs' current="{{ current_scroll }}" scroll bindchange="handleChangeScroll"> | ||||
@@ -1,5 +1,5 @@ | |||||
<!-- <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 home back text="我的券包" background="#F4F5F9"></navbar> | |||||
<navbar home back text="我的券包" background="#ffff"></navbar> | |||||
<view class="market" wx:if="{{showPage}}" style="padding-top:{{navigationBarHeight}}"> | <view class="market" wx:if="{{showPage}}" style="padding-top:{{navigationBarHeight}}"> | ||||
<!-- 券包 我的优惠券 --> | <!-- 券包 我的优惠券 --> | ||||
<i-tabs style="top:{{navigationBarHeight}}" class='tabs' current="{{ current_scroll }}" scroll bindchange="handleChangeScroll"> | <i-tabs style="top:{{navigationBarHeight}}" class='tabs' current="{{ current_scroll }}" scroll bindchange="handleChangeScroll"> | ||||
@@ -1,5 +1,5 @@ | |||||
<!-- <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 home back text="我的订单"></navbar> | |||||
<navbar home back text="我的订单" background="#fff"></navbar> | |||||
<view class="market" style="padding-top:{{navigationBarHeight}}"> | <view class="market" style="padding-top:{{navigationBarHeight}}"> | ||||
<i-tabs style="top:{{navigationBarHeight}}" class='tabs' current="{{ current_scroll }}" scroll bindchange="handleChangeScroll"> | <i-tabs style="top:{{navigationBarHeight}}" class='tabs' current="{{ current_scroll }}" scroll bindchange="handleChangeScroll"> | ||||
<i-tab class='i-tab' wx:for="{{tabs}}" wx:key="unique" key="{{item.key}}" title="{{item.name}}"></i-tab> | <i-tab class='i-tab' wx:for="{{tabs}}" wx:key="unique" key="{{item.key}}" title="{{item.name}}"></i-tab> | ||||
@@ -1,3 +1,4 @@ | |||||
const navigationBarHeight = (getApp().statusBarHeight + 44) + 'px'; | |||||
let config = require("../../config/config.js"); | let config = require("../../config/config.js"); | ||||
let app = getApp(); | let app = getApp(); | ||||
const Http = require("../../utils/HttpBasics"); | const Http = require("../../utils/HttpBasics"); | ||||
@@ -8,6 +9,7 @@ const extConfig = wx.getExtConfigSync ? wx.getExtConfigSync() : {} | |||||
let configUrls = extConfig.attr.configUrl; | let configUrls = extConfig.attr.configUrl; | ||||
Page({ | Page({ | ||||
data: { | data: { | ||||
navigationBarHeight, | |||||
data: {}, | data: {}, | ||||
status: 1, | status: 1, | ||||
couponId: null, | couponId: null, | ||||
@@ -1,3 +1,6 @@ | |||||
{ | { | ||||
"navigationBarTitleText": "活动详情" | |||||
"navigationBarTitleText": "活动详情", | |||||
"usingComponents": { | |||||
"navbar": "../../../components/navbar/navbar" | |||||
} | |||||
} | } |
@@ -1,10 +1,11 @@ | |||||
<import src="../../wxParse/wxParse.wxml" /> | <import src="../../wxParse/wxParse.wxml" /> | ||||
<button class='goback' bindtap='goback'> | |||||
<navbar home back text="活动详情" background="#ffff"></navbar> | |||||
<!-- <button class='goback' bindtap='goback'> | |||||
<image src='{{homeSelectedO}}' mode="widthFix"></image> | <image src='{{homeSelectedO}}' mode="widthFix"></image> | ||||
<text class='btnTxt'>首页</text> | <text class='btnTxt'>首页</text> | ||||
</button> | |||||
</button> --> | |||||
<!-- 活动正常排版格式 --> | <!-- 活动正常排版格式 --> | ||||
<view class='coupons' style='{{data.type!=2?"padding-bottom: 160rpx":0}}'> | |||||
<view class='coupons' style='{{data.type!=2?"padding-bottom: 160rpx":0}};padding-top:{{navigationBarHeight}}'> | |||||
<view class="coupons-body"> | <view class="coupons-body"> | ||||
<view class='banner'> | <view class='banner'> | ||||
<image src='{{data.coverImg}}' mode='widthFix'></image> | <image src='{{data.coverImg}}' mode='widthFix'></image> | ||||
@@ -1,3 +1,4 @@ | |||||
const navigationBarHeight = (getApp().statusBarHeight + 44) + 'px' | |||||
let config = require("../../../config/config.js"); | let config = require("../../../config/config.js"); | ||||
let Http = require("../../../utils/HttpBasics"); | let Http = require("../../../utils/HttpBasics"); | ||||
const util = require("../../../utils/util"); | const util = require("../../../utils/util"); | ||||
@@ -5,6 +6,7 @@ let app = getApp(); | |||||
const imgurl = require("../../../utils/imgurl"); | const imgurl = require("../../../utils/imgurl"); | ||||
Page({ | Page({ | ||||
data: { | data: { | ||||
navigationBarHeight, | |||||
orangeImg: imgurl.orange.url, | orangeImg: imgurl.orange.url, | ||||
blueImg: imgurl.blue.url, | blueImg: imgurl.blue.url, | ||||
grayImg: imgurl.gray.url, | grayImg: imgurl.gray.url, | ||||
@@ -1,7 +1,8 @@ | |||||
{ | { | ||||
"usingComponents": { | "usingComponents": { | ||||
"i-tab": "../../../dist/tab/index", | "i-tab": "../../../dist/tab/index", | ||||
"i-tabs": "../../../dist/tabs/index" | |||||
"i-tabs": "../../../dist/tabs/index", | |||||
"navbar": "../../../components/navbar/navbar" | |||||
}, | }, | ||||
"navigationBarTitleText": "我的活动", | "navigationBarTitleText": "我的活动", | ||||
"navigationBarBackgroundColor": "#F4F5F9" | "navigationBarBackgroundColor": "#F4F5F9" |
@@ -1,5 +1,6 @@ | |||||
<view class="market"> | |||||
<i-tabs class='tabs' current="{{ current_scroll }}" scroll bindchange="handleChangeScroll"> | |||||
<navbar home back text="我的活动" background="#fff"></navbar> | |||||
<view class="market" style="padding-top:{{navigationBarHeight}}"> | |||||
<i-tabs class='tabs' current="{{ current_scroll }}" scroll bindchange="handleChangeScroll" style="top:{{navigationBarHeight}}"> | |||||
<i-tab class='i-tab' wx:for="{{tabs}}" wx:key="unique" key="{{item.key}}" title="{{item.name}}"></i-tab> | <i-tab class='i-tab' wx:for="{{tabs}}" wx:key="unique" key="{{item.key}}" title="{{item.name}}"></i-tab> | ||||
</i-tabs> | </i-tabs> | ||||
<view style='padding-top:114rpx;'> | <view style='padding-top:114rpx;'> | ||||
@@ -8,7 +8,6 @@ | |||||
position: fixed; | position: fixed; | ||||
width: 100% !important; | width: 100% !important; | ||||
height: 88rpx; | height: 88rpx; | ||||
top: 0; | |||||
left: 0; | left: 0; | ||||
right: 0; | right: 0; | ||||
text-align: center; | text-align: center; | ||||