Kaynağa Gözat

[拼团相关设置导航栏]

tags/河北版C.8.1.01
刘晖 5 yıl önce
ebeveyn
işleme
d502dccd99
10 değiştirilmiş dosya ile 22 ekleme ve 7 silme
  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 Dosyayı Görüntüle

@@ -5,6 +5,8 @@
left: 0;
top: 0;
z-index: 400000000;
top:0;
left: 0;
}

.title-container {


+ 2
- 0
pages/spellDetail/index.js Dosyayı Görüntüle

@@ -1,4 +1,5 @@
// pages/spellDetail/index.js
const navigationBarHeight = (getApp().statusBarHeight + 50) + 'px'
var config = require("../../config/config.js");
const Http = require("../../utils/HttpBasics");
const imgurl = require("../../utils/imgurl");
@@ -9,6 +10,7 @@ Page({
* 页面的初始数据
*/
data: {
navigationBarHeight,
orangeImg: imgurl.orange.url,
blueImg: imgurl.blue.url,
grayImg: imgurl.gray.url,


+ 3
- 1
pages/spellDetail/index.json Dosyayı Görüntüle

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

+ 2
- 1
pages/spellDetail/index.wxml Dosyayı Görüntüle

@@ -1,5 +1,6 @@
<!--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='return-index' bindtap='gotoIndex'>


+ 2
- 0
pages/spellGroup/paySpellGroup/index.js Dosyayı Görüntüle

@@ -1,4 +1,5 @@
// pages/spellDetail/index.js
const navigationBarHeight = (getApp().statusBarHeight + 50) + 'px'
var config = require("../../../config/config.js");
const Http = require("../../../utils/HttpBasics");
const imgurl = require("../../../utils/imgurl");
@@ -9,6 +10,7 @@ Page({
* 页面的初始数据
*/
data: {
navigationBarHeight,
blueImg: imgurl.blue.url,
tuanzhang: imgurl.tuanzhang.url,
spellBg: imgurl.spellBg.url,


+ 3
- 1
pages/spellGroup/paySpellGroup/index.json Dosyayı Görüntüle

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

+ 2
- 1
pages/spellGroup/paySpellGroup/index.wxml Dosyayı Görüntüle

@@ -1,5 +1,6 @@
<!--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='return-index' bindtap='gotoIndex'>


+ 2
- 0
pages/spellGroup/spellGroup.js Dosyayı Görüntüle

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


+ 2
- 1
pages/spellGroup/spellGroup.json Dosyayı Görüntüle

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

+ 2
- 2
pages/spellGroup/spellGroup.wxml Dosyayı Görüntüle

@@ -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="banner" wx:if="{{list.length>0}}" hover-class="none" hover-stop-propagation="false">
<c-banner wx:key="unique" list="{{list}}" />


Yükleniyor…
İptal
Kaydet