@@ -5,6 +5,8 @@ | |||||
left: 0; | left: 0; | ||||
top: 0; | top: 0; | ||||
z-index: 400000000; | z-index: 400000000; | ||||
top:0; | |||||
left: 0; | |||||
} | } | ||||
.title-container { | .title-container { | ||||
@@ -1,4 +1,5 @@ | |||||
// pages/spellDetail/index.js | // pages/spellDetail/index.js | ||||
const navigationBarHeight = (getApp().statusBarHeight + 50) + '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, | |||||
orangeImg: imgurl.orange.url, | orangeImg: imgurl.orange.url, | ||||
blueImg: imgurl.blue.url, | blueImg: imgurl.blue.url, | ||||
grayImg: imgurl.gray.url, | grayImg: imgurl.gray.url, | ||||
@@ -1,6 +1,8 @@ | |||||
{ | { | ||||
"navigationBarTitleText": "拼团详情", | "navigationBarTitleText": "拼团详情", | ||||
"usingComponents": {}, | |||||
"usingComponents": { | |||||
"navbar": "../../components/navbar/navbar" | |||||
}, | |||||
"navigationBarBackgroundColor": "#F4F5F9", | "navigationBarBackgroundColor": "#F4F5F9", | ||||
"navigationBarTextStyle": "black", | "navigationBarTextStyle": "black", | ||||
"enablePullDownRefresh": true | "enablePullDownRefresh": true |
@@ -1,5 +1,6 @@ | |||||
<!--pages/spellDetail/index.wxml--> | <!--pages/spellDetail/index.wxml--> | ||||
<view class='container'> | |||||
<navbar back home text="{{barTitle}}" background='#fff'></navbar> | |||||
<view class='container' style="margin-top:{{navigationBarHeight}}"> | |||||
<!-- 拼团产品详情 --> | <!-- 拼团产品详情 --> | ||||
<view class='detail'> | <view class='detail'> | ||||
<view class='return-index' bindtap='gotoIndex'> | <view class='return-index' bindtap='gotoIndex'> | ||||
@@ -1,4 +1,5 @@ | |||||
// pages/spellDetail/index.js | // pages/spellDetail/index.js | ||||
const navigationBarHeight = (getApp().statusBarHeight + 50) + '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, | |||||
blueImg: imgurl.blue.url, | blueImg: imgurl.blue.url, | ||||
tuanzhang: imgurl.tuanzhang.url, | tuanzhang: imgurl.tuanzhang.url, | ||||
spellBg: imgurl.spellBg.url, | spellBg: imgurl.spellBg.url, | ||||
@@ -1,5 +1,7 @@ | |||||
{ | { | ||||
"navigationBarTitleText": "拼团详情", | "navigationBarTitleText": "拼团详情", | ||||
"usingComponents": {}, | |||||
"usingComponents": { | |||||
"navbar": "../../../../components/navbar/navbar" | |||||
}, | |||||
"enablePullDownRefresh": true | "enablePullDownRefresh": true | ||||
} | } |
@@ -1,5 +1,6 @@ | |||||
<!--pages/spellDetail/index.wxml--> | <!--pages/spellDetail/index.wxml--> | ||||
<view class='container'> | |||||
<navbar back home text="拼团券" background='#fff'></navbar> | |||||
<view class='container' style="margin-top:{{navigationBarHeight}}"> | |||||
<!-- 拼团产品详情 --> | <!-- 拼团产品详情 --> | ||||
<view class='detail'> | <view class='detail'> | ||||
<view class='return-index' bindtap='gotoIndex'> | <view class='return-index' bindtap='gotoIndex'> | ||||
@@ -1,3 +1,4 @@ | |||||
const navigationBarHeight = (getApp().statusBarHeight + 50) + '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, | |||||
noCoupon: imgurl.noCoupon.url, | noCoupon: imgurl.noCoupon.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,5 @@ | |||||
<button class='goback' bindtap='goback'><image src='{{wmhome}}' mode="widthFix"></image></button> | |||||
<view class='content-box' style='{{"padding-bottom:"+(lists.length>0?"200rpx":"0")}}'> | |||||
<navbar back home text="{{barTitle}}" background='#fff'></navbar> | |||||
<view class='content-box' style='{{"padding-bottom:"+(lists.length>0?"200rpx":"0")+";padding-top:"+navigationBarHeight}}'> | |||||
<!-- <view class='top' wx:if='{{flag=="spellList"&&list.length>0}}'> | <!-- <view class='top' wx:if='{{flag=="spellList"&&list.length>0}}'> | ||||
<view class="banner" wx:if="{{list.length>0}}" hover-class="none" hover-stop-propagation="false"> | <view class="banner" wx:if="{{list.length>0}}" hover-class="none" hover-stop-propagation="false"> | ||||
<c-banner wx:key="unique" list="{{list}}" /> | <c-banner wx:key="unique" list="{{list}}" /> | ||||