@@ -1,3 +1,4 @@ | |||||
const navigationBarHeight = (getApp().statusBarHeight + 44) + 'px' | |||||
const util = require("../../utils/util.js"); | const util = require("../../utils/util.js"); | ||||
const Http = require("../../utils/HttpBasics"); | const Http = require("../../utils/HttpBasics"); | ||||
const config = require("../../config/config"); | const config = require("../../config/config"); | ||||
@@ -6,6 +7,7 @@ Page({ | |||||
* 页面的初始数据 | * 页面的初始数据 | ||||
*/ | */ | ||||
data: { | data: { | ||||
navigationBarHeight, | |||||
showPage: false, | showPage: false, | ||||
showPage1:false | showPage1:false | ||||
}, | }, | ||||
@@ -1,3 +1,6 @@ | |||||
{ | { | ||||
"navigationBarTitleText": "签到" | |||||
"navigationBarTitleText": "签到", | |||||
"usingComponents": { | |||||
"navbar": "../../components/navbar/navbar" | |||||
} | |||||
} | } |
@@ -1,3 +1,4 @@ | |||||
<navbar back home text="签到" background="#fff"></navbar> | |||||
<view class='success' wx:if="{{showPage}}"> | <view class='success' wx:if="{{showPage}}"> | ||||
<text class='tit'>签到成功</text> | <text class='tit'>签到成功</text> | ||||
<button class='goback' bindtap='goback'>返回首页</button> | <button class='goback' bindtap='goback'>返回首页</button> | ||||
@@ -1,5 +1,6 @@ | |||||
// pages/park/addPark/addPark.js | // pages/park/addPark/addPark.js | ||||
const app = getApp(); | const app = getApp(); | ||||
const navigationBarHeight = (getApp().statusBarHeight + 44) + 'px' | |||||
const imgurl = require("../../utils/imgurl"); | const imgurl = require("../../utils/imgurl"); | ||||
Page({ | Page({ | ||||
@@ -7,6 +8,7 @@ Page({ | |||||
* 页面的初始数据 | * 页面的初始数据 | ||||
*/ | */ | ||||
data: { | data: { | ||||
navigationBarHeight, | |||||
shanchuGrayUrl: imgurl.shanchuGray.url, | shanchuGrayUrl: imgurl.shanchuGray.url, | ||||
shanchuUrl: imgurl.shanchu.url, | shanchuUrl: imgurl.shanchu.url, | ||||
title: '京', | title: '京', | ||||
@@ -1,4 +1,7 @@ | |||||
{ | { | ||||
"navigationBarTitleText": "添加车辆", | "navigationBarTitleText": "添加车辆", | ||||
"navigationBarBackgroundColor": "#F4F5F9" | |||||
"navigationBarBackgroundColor": "#F4F5F9", | |||||
"usingComponents": { | |||||
"navbar": "../../components/navbar/navbar" | |||||
} | |||||
} | } |
@@ -1,4 +1,5 @@ | |||||
<view class="addpark-title">请输入车牌号(新能源选填)</view> | |||||
<navbar back home text="添加车辆"></navbar> | |||||
<view class="addpark-title" style="padding-top:{{navigationBarHeight}}">请输入车牌号(新能源选填)</view> | |||||
<view class="addpark-num" capture-bind:touchstart="handleTap"> | <view class="addpark-num" capture-bind:touchstart="handleTap"> | ||||
<view class="addpark-num-head"> | <view class="addpark-num-head"> | ||||
<view class="{{chooseTop == 'carData.title' ? 'choose-title' : ''}}" data-carData="carData.title" data-msg="{{title}}">{{title}}</view> | <view class="{{chooseTop == 'carData.title' ? 'choose-title' : ''}}" data-carData="carData.title" data-msg="{{title}}">{{title}}</view> | ||||
@@ -1,10 +1,12 @@ | |||||
let config = require("../../config/config.js"); | let config = require("../../config/config.js"); | ||||
const navigationBarHeight = (getApp().statusBarHeight + 44) + 'px' | |||||
let app = getApp(); | let app = getApp(); | ||||
const Http = require("../../utils/HttpBasics"); | const Http = require("../../utils/HttpBasics"); | ||||
const util = require("../../utils/util"); | const util = require("../../utils/util"); | ||||
const imgurl = require("../../utils/imgurl"); | const imgurl = require("../../utils/imgurl"); | ||||
Page({ | Page({ | ||||
data: { | data: { | ||||
navigationBarHeight, | |||||
data: {}, | data: {}, | ||||
couponId: null, | couponId: null, | ||||
orderId: "", | orderId: "", | ||||
@@ -1,3 +1,6 @@ | |||||
{ | { | ||||
"navigationBarTitleText": "活动详情" | |||||
"navigationBarTitleText": "活动详情", | |||||
"usingComponents": { | |||||
"navbar": "../../components/navbar/navbar" | |||||
} | |||||
} | } |
@@ -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="签到" background="#fff"></navbar> | |||||
<!-- banner活动详情页面 --> | <!-- banner活动详情页面 --> | ||||
<view class='coupons'> | |||||
<view class='coupons' style="padding-top:{{navigationBarHeight}}"> | |||||
<view class="coupons-body"> | <view class="coupons-body"> | ||||
<view class='banner'> | <view class='banner'> | ||||
<image src='{{data.coverImg}}'></image> | <image src='{{data.coverImg}}'></image> | ||||