| @@ -2,6 +2,8 @@ | |||||
| width: 100vw; | width: 100vw; | ||||
| background-color: #F4F5F9; | background-color: #F4F5F9; | ||||
| position: fixed; | position: fixed; | ||||
| left: 0; | |||||
| top: 0; | |||||
| z-index: 400000000; | z-index: 400000000; | ||||
| } | } | ||||
| @@ -1,3 +1,4 @@ | |||||
| const navigationBarHeight = (getApp().statusBarHeight + 44) + 'px' | |||||
| var config = require("../../config/config.js"); | var config = require("../../config/config.js"); | ||||
| const Http = require("../../utils/HttpBasics"); | const Http = require("../../utils/HttpBasics"); | ||||
| const imgurl = require("../../utils/imgurl"); | const imgurl = require("../../utils/imgurl"); | ||||
| @@ -7,6 +8,7 @@ Page({ | |||||
| * 页面的初始数据 | * 页面的初始数据 | ||||
| */ | */ | ||||
| data: { | data: { | ||||
| navigationBarHeight, | |||||
| erweima: imgurl.erweima.url, | erweima: imgurl.erweima.url, | ||||
| bannerUrl: imgurl.banner.url, | bannerUrl: imgurl.banner.url, | ||||
| loadingUrl: imgurl.loading.url, | loadingUrl: imgurl.loading.url, | ||||
| @@ -6,6 +6,7 @@ | |||||
| "usingComponents": { | "usingComponents": { | ||||
| "c-banner": "../../components/spellbanner/index", | "c-banner": "../../components/spellbanner/index", | ||||
| "i-tab": "../../../dist/tab/index", | "i-tab": "../../../dist/tab/index", | ||||
| "i-tabs": "../../../dist/tabs/index" | |||||
| "i-tabs": "../../../dist/tabs/index", | |||||
| "navbar": "../../components/navbar/navbar" | |||||
| } | } | ||||
| } | } | ||||
| @@ -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'> | ||||
| <view class='topbg-top'> | <view class='topbg-top'> | ||||
| <view class="user-avatar" bindtap='gotograde'> | <view class="user-avatar" bindtap='gotograde'> | ||||
| @@ -99,7 +99,7 @@ progress{ | |||||
| width: 500rpx; | width: 500rpx; | ||||
| height:30rpx; | height:30rpx; | ||||
| position: absolute; | position: absolute; | ||||
| top: 176rpx; | |||||
| top: 294rpx; | |||||
| left:70rpx; | left:70rpx; | ||||
| } | } | ||||
| .jifen image{ | .jifen image{ | ||||
| @@ -110,7 +110,7 @@ progress{ | |||||
| font-size: 40rpx; | font-size: 40rpx; | ||||
| font-weight: 500; | font-weight: 500; | ||||
| position: absolute; | position: absolute; | ||||
| top:122rpx; | |||||
| top:240rpx; | |||||
| left:70rpx; | left:70rpx; | ||||
| color: #FFFFFF; | color: #FFFFFF; | ||||
| } | } | ||||
| @@ -1,4 +1,4 @@ | |||||
| const navigationBarHeight = (getApp().statusBarHeight + 60) + 'px' | |||||
| const navigationBarHeight = (getApp().statusBarHeight + 44) + 'px' | |||||
| const Http = require("../../utils/HttpBasics"); | const Http = require("../../utils/HttpBasics"); | ||||
| const imgurl = require("../../utils/imgurl"); | const imgurl = require("../../utils/imgurl"); | ||||
| const config = require("../../config/config"); | const config = require("../../config/config"); | ||||
| @@ -1,3 +1,4 @@ | |||||
| const navigationBarHeight = (getApp().statusBarHeight + 44) + 'px' | |||||
| var config = require("../../config/config.js"); | var config = require("../../config/config.js"); | ||||
| var app = getApp(); | var app = getApp(); | ||||
| const Http = require("../../utils/HttpBasics"); | const Http = require("../../utils/HttpBasics"); | ||||
| @@ -8,6 +9,7 @@ Page({ | |||||
| * 页面的初始数据 | * 页面的初始数据 | ||||
| */ | */ | ||||
| data: { | data: { | ||||
| navigationBarHeight, | |||||
| myspeacialUrl: imgurl.myspeacial.url, | myspeacialUrl: imgurl.myspeacial.url, | ||||
| teliconUrl: imgurl.telicon.url, | teliconUrl: imgurl.telicon.url, | ||||
| wmhome: imgurl.wmhome.url, | wmhome: imgurl.wmhome.url, | ||||
| @@ -1,5 +1,8 @@ | |||||
| { | { | ||||
| "navigationBarTitleText": "我的特权", | "navigationBarTitleText": "我的特权", | ||||
| "navigationBarBackgroundColor": "#FD832D", | "navigationBarBackgroundColor": "#FD832D", | ||||
| "navigationBarTextStyle": "white" | |||||
| "navigationBarTextStyle": "white", | |||||
| "usingComponents": { | |||||
| "navbar": "../../components/navbar/navbar" | |||||
| } | |||||
| } | } | ||||
| @@ -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"> | <view class="canWrap"> | ||||
| <canvas canvas-id="mycanvas2" style="width: 1200rpx; height: 800rpx;" /> | <canvas canvas-id="mycanvas2" style="width: 1200rpx; height: 800rpx;" /> | ||||
| </view> | </view> | ||||