Browse Source

[积分,特享礼遇][增加]:[增加优惠券返回首页按钮]

tags/河北版C.8.1.01
meo 5 years ago
parent
commit
09521b1db1
9 changed files with 21 additions and 9 deletions
  1. +2
    -0
      components/navbar/navbar.wxss
  2. +2
    -0
      pages/integralmall/index.js
  3. +2
    -1
      pages/integralmall/index.json
  4. +3
    -2
      pages/integralmall/index.wxml
  5. +2
    -2
      pages/integralmall/index.wxss
  6. +1
    -1
      pages/main/index.js
  7. +2
    -0
      pages/specialcourtesy/specialcourtesy.js
  8. +4
    -1
      pages/specialcourtesy/specialcourtesy.json
  9. +3
    -2
      pages/specialcourtesy/specialcourtesy.wxml

+ 2
- 0
components/navbar/navbar.wxss View File

@@ -2,6 +2,8 @@
width: 100vw;
background-color: #F4F5F9;
position: fixed;
left: 0;
top: 0;
z-index: 400000000;
}



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

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


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

@@ -6,6 +6,7 @@
"usingComponents": {
"c-banner": "../../components/spellbanner/index",
"i-tab": "../../../dist/tab/index",
"i-tabs": "../../../dist/tabs/index"
"i-tabs": "../../../dist/tabs/index",
"navbar": "../../components/navbar/navbar"
}
}

+ 3
- 2
pages/integralmall/index.wxml View File

@@ -1,5 +1,6 @@
<button class='goback' bindtap='goback'><image src='{{wmhome}}' mode="widthFix"></image></button>
<view class='content-box'>
<!-- <button class='goback' bindtap='goback'><image src='{{wmhome}}' mode="widthFix"></image></button> -->
<navbar back home text="积分商城" background='#fff'></navbar>
<view class='content-box' style="padding-top:{{navigationBarHeight}}">
<view class='topbg'>
<view class='topbg-top'>
<view class="user-avatar" bindtap='gotograde'>


+ 2
- 2
pages/integralmall/index.wxss View File

@@ -99,7 +99,7 @@ progress{
width: 500rpx;
height:30rpx;
position: absolute;
top: 176rpx;
top: 294rpx;
left:70rpx;
}
.jifen image{
@@ -110,7 +110,7 @@ progress{
font-size: 40rpx;
font-weight: 500;
position: absolute;
top:122rpx;
top:240rpx;
left:70rpx;
color: #FFFFFF;
}


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

@@ -1,4 +1,4 @@
const navigationBarHeight = (getApp().statusBarHeight + 60) + 'px'
const navigationBarHeight = (getApp().statusBarHeight + 44) + 'px'
const Http = require("../../utils/HttpBasics");
const imgurl = require("../../utils/imgurl");
const config = require("../../config/config");


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

@@ -1,3 +1,4 @@
const navigationBarHeight = (getApp().statusBarHeight + 44) + 'px'
var config = require("../../config/config.js");
var app = getApp();
const Http = require("../../utils/HttpBasics");
@@ -8,6 +9,7 @@ Page({
* 页面的初始数据
*/
data: {
navigationBarHeight,
myspeacialUrl: imgurl.myspeacial.url,
teliconUrl: imgurl.telicon.url,
wmhome: imgurl.wmhome.url,


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

@@ -1,5 +1,8 @@
{
"navigationBarTitleText": "我的特权",
"navigationBarBackgroundColor": "#FD832D",
"navigationBarTextStyle": "white"
"navigationBarTextStyle": "white",
"usingComponents": {
"navbar": "../../components/navbar/navbar"
}
}

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

@@ -1,5 +1,6 @@
<button class='goback' bindtap='goback'><image src='{{wmhome}}' mode="widthFix"></image></button>
<view class='code'>
<!-- <button class='goback' bindtap='goback'><image src='{{wmhome}}' mode="widthFix"></image></button> -->
<navbar back home text="我的特权" background='#FD832D' color="#fff"></navbar>
<view class='code' style="margin-top:{{navigationBarHeight}}!important">
<view class="canWrap">
<canvas canvas-id="mycanvas2" style="width: 1200rpx; height: 800rpx;" />
</view>


Loading…
Cancel
Save