Browse Source

统一修改顶部

tags/河北版C.8.1.01
caserKing 5 years ago
parent
commit
059b203f00
9 changed files with 24 additions and 6 deletions
  1. +2
    -0
      pages/acSignIn/index.js
  2. +4
    -1
      pages/acSignIn/index.json
  3. +1
    -0
      pages/acSignIn/index.wxml
  4. +2
    -0
      pages/addPark/addPark.js
  5. +4
    -1
      pages/addPark/addPark.json
  6. +2
    -1
      pages/addPark/addPark.wxml
  7. +2
    -0
      pages/bannerdetail/index.js
  8. +4
    -1
      pages/bannerdetail/index.json
  9. +3
    -2
      pages/bannerdetail/index.wxml

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

@@ -1,3 +1,4 @@
const navigationBarHeight = (getApp().statusBarHeight + 44) + 'px'
const util = require("../../utils/util.js");
const Http = require("../../utils/HttpBasics");
const config = require("../../config/config");
@@ -6,6 +7,7 @@ Page({
* 页面的初始数据
*/
data: {
navigationBarHeight,
showPage: false,
showPage1:false
},


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

@@ -1,3 +1,6 @@
{
"navigationBarTitleText": "签到"
"navigationBarTitleText": "签到",
"usingComponents": {
"navbar": "../../components/navbar/navbar"
}
}

+ 1
- 0
pages/acSignIn/index.wxml View File

@@ -1,3 +1,4 @@
<navbar back home text="签到" background="#fff"></navbar>
<view class='success' wx:if="{{showPage}}">
<text class='tit'>签到成功</text>
<button class='goback' bindtap='goback'>返回首页</button>


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

@@ -1,5 +1,6 @@
// pages/park/addPark/addPark.js
const app = getApp();
const navigationBarHeight = (getApp().statusBarHeight + 44) + 'px'
const imgurl = require("../../utils/imgurl");
Page({

@@ -7,6 +8,7 @@ Page({
* 页面的初始数据
*/
data: {
navigationBarHeight,
shanchuGrayUrl: imgurl.shanchuGray.url,
shanchuUrl: imgurl.shanchu.url,
title: '京',


+ 4
- 1
pages/addPark/addPark.json View File

@@ -1,4 +1,7 @@
{
"navigationBarTitleText": "添加车辆",
"navigationBarBackgroundColor": "#F4F5F9"
"navigationBarBackgroundColor": "#F4F5F9",
"usingComponents": {
"navbar": "../../components/navbar/navbar"
}
}

+ 2
- 1
pages/addPark/addPark.wxml View File

@@ -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-head">
<view class="{{chooseTop == 'carData.title' ? 'choose-title' : ''}}" data-carData="carData.title" data-msg="{{title}}">{{title}}</view>


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

@@ -1,10 +1,12 @@
let config = require("../../config/config.js");
const navigationBarHeight = (getApp().statusBarHeight + 44) + 'px'
let app = getApp();
const Http = require("../../utils/HttpBasics");
const util = require("../../utils/util");
const imgurl = require("../../utils/imgurl");
Page({
data: {
navigationBarHeight,
data: {},
couponId: null,
orderId: "",


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

@@ -1,3 +1,6 @@
{
"navigationBarTitleText": "活动详情"
"navigationBarTitleText": "活动详情",
"usingComponents": {
"navbar": "../../components/navbar/navbar"
}
}

+ 3
- 2
pages/bannerdetail/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 text="签到" background="#fff"></navbar>
<!-- banner活动详情页面 -->
<view class='coupons'>
<view class='coupons' style="padding-top:{{navigationBarHeight}}">
<view class="coupons-body">
<view class='banner'>
<image src='{{data.coverImg}}'></image>


Loading…
Cancel
Save