@@ -2,7 +2,7 @@ | |||||
width: 100vw; | width: 100vw; | ||||
background-color: #F4F5F9; | background-color: #F4F5F9; | ||||
position: fixed; | position: fixed; | ||||
z-index: 4; | |||||
z-index: 400000000; | |||||
} | } | ||||
.title-container { | .title-container { | ||||
@@ -1,5 +1,5 @@ | |||||
<navbar back home text="{{barTitle}}" background='#fff'></navbar> | <navbar back home text="{{barTitle}}" background='#fff'></navbar> | ||||
<view wx:if="{{showPage}}"> | |||||
<view wx:if="{{showPage}}" style="padding-top:{{navigationBarHeight}}"> | |||||
<!-- 券的详情页面 --> | <!-- 券的详情页面 --> | ||||
<view class='coupons'> | <view class='coupons'> | ||||
<view class="coupons-body"> | <view class="coupons-body"> | ||||
@@ -1,4 +1,5 @@ | |||||
// pages/spellGroup/mySpellGroup/index.js | // pages/spellGroup/mySpellGroup/index.js | ||||
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"); | ||||
@@ -9,6 +10,7 @@ Page({ | |||||
* 页面的初始数据 | * 页面的初始数据 | ||||
*/ | */ | ||||
data: { | data: { | ||||
navigationBarHeight, | |||||
fenxiang: imgurl.fenxiang.url, | fenxiang: imgurl.fenxiang.url, | ||||
homeSelectedO:imgurl.homeSelectedO.url, | homeSelectedO:imgurl.homeSelectedO.url, | ||||
isshowposter:false,//是否显示分享弹框 | isshowposter:false,//是否显示分享弹框 | ||||
@@ -1,5 +1,7 @@ | |||||
{ | { | ||||
"navigationBarTitleText": "拼团券详情", | "navigationBarTitleText": "拼团券详情", | ||||
"enablePullDownRefresh": true, | "enablePullDownRefresh": true, | ||||
"usingComponents": {} | |||||
"usingComponents": { | |||||
"navbar": "../../../../components/navbar/navbar" | |||||
} | |||||
} | } |
@@ -1,4 +1,5 @@ | |||||
<view class="content-box"> | |||||
<navbar back home text="拼团券" background='#fff'></navbar> | |||||
<view class="content-box" style="padding-top:{{navigationBarHeight}}"> | |||||
<view class='content'> | <view class='content'> | ||||
<view wx:if="{{coverPicture.length>0}}" class="banner"> | <view wx:if="{{coverPicture.length>0}}" class="banner"> | ||||
<swiper class="index-slide" bindchange="swiperChange" indicator-dots="true" autoplay="true" circular="false" current="{{swiperCurrent}}"> | <swiper class="index-slide" bindchange="swiperChange" indicator-dots="true" autoplay="true" circular="false" current="{{swiperCurrent}}"> | ||||