Ver a proveniência

[拼团相关设置导航栏]

tags/河北版C.8.1.01
刘晖 há 5 anos
ascendente
cometimento
d502dccd99
10 ficheiros alterados com 22 adições e 7 eliminações
  1. +2
    -0
      components/navbar/navbar.wxss
  2. +2
    -0
      pages/spellDetail/index.js
  3. +3
    -1
      pages/spellDetail/index.json
  4. +2
    -1
      pages/spellDetail/index.wxml
  5. +2
    -0
      pages/spellGroup/paySpellGroup/index.js
  6. +3
    -1
      pages/spellGroup/paySpellGroup/index.json
  7. +2
    -1
      pages/spellGroup/paySpellGroup/index.wxml
  8. +2
    -0
      pages/spellGroup/spellGroup.js
  9. +2
    -1
      pages/spellGroup/spellGroup.json
  10. +2
    -2
      pages/spellGroup/spellGroup.wxml

+ 2
- 0
components/navbar/navbar.wxss Ver ficheiro

@@ -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 {


+ 2
- 0
pages/spellDetail/index.js Ver ficheiro

@@ -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,


+ 3
- 1
pages/spellDetail/index.json Ver ficheiro

@@ -1,6 +1,8 @@
{ {
"navigationBarTitleText": "拼团详情", "navigationBarTitleText": "拼团详情",
"usingComponents": {},
"usingComponents": {
"navbar": "../../components/navbar/navbar"
},
"navigationBarBackgroundColor": "#F4F5F9", "navigationBarBackgroundColor": "#F4F5F9",
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
"enablePullDownRefresh": true "enablePullDownRefresh": true

+ 2
- 1
pages/spellDetail/index.wxml Ver ficheiro

@@ -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'>


+ 2
- 0
pages/spellGroup/paySpellGroup/index.js Ver ficheiro

@@ -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,


+ 3
- 1
pages/spellGroup/paySpellGroup/index.json Ver ficheiro

@@ -1,5 +1,7 @@
{ {
"navigationBarTitleText": "拼团详情", "navigationBarTitleText": "拼团详情",
"usingComponents": {},
"usingComponents": {
"navbar": "../../../../components/navbar/navbar"
},
"enablePullDownRefresh": true "enablePullDownRefresh": true
} }

+ 2
- 1
pages/spellGroup/paySpellGroup/index.wxml Ver ficheiro

@@ -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'>


+ 2
- 0
pages/spellGroup/spellGroup.js Ver ficheiro

@@ -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,


+ 2
- 1
pages/spellGroup/spellGroup.json Ver ficheiro

@@ -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"
} }
} }

+ 2
- 2
pages/spellGroup/spellGroup.wxml Ver ficheiro

@@ -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}}" />


Carregando…
Cancelar
Guardar