Commit a6b85512 by 李伟康

修改样式

1 parent 7bcf767b
......@@ -5,7 +5,7 @@
left: 0;
width: 100%;
z-index: 99;
background-color: #fff;
background-color: #F9F7F7;
transition: all .15s;
}
......
......@@ -21,11 +21,6 @@ Page({
list: [],
pageNum: 1
},
navbarReady(e) {
this.setData({
navBarHeight: e.detail.height
})
},
unique(arr) {
let res = new Set()
return arr.filter(item => {
......
<navigation-bar custom bindnavbarReady="navbarReady" page-title="卡券详情">
<navigation-bar custom page-title="卡券详情">
<view class="navigation">
<view class="back text-center y-center" bindtap="jump">
<glsx-image webp src="mall/back.png" class="icon"></glsx-image>
......@@ -8,7 +8,7 @@
</view>
</view>
</navigation-bar>
<view class="layout isFullSucreen" wx:if="{{couponDetail.couponName}}" style="margin-top: {{navBarHeight}}px;">
<view class="layout isFullSucreen" wx:if="{{couponDetail.couponName}}" style="margin-top: {{navHeight}}px;">
<block wx:if="{{qr}}">
<block wx:if="{{couponDetail.discountType == 3 && couponDetail.useChannel == 1}}">
<view class="coupon-X">
......
/* packageMine/pages/order/index/index.wxss */
.sticky-box {
background-color: #fff;
background-color: #F9F7F7;
}
.tab {
......@@ -8,7 +8,7 @@
top: 0;
left: 0;
width: 100%;
background-color: #fff;
background-color: #F9F7F7;
z-index: 2;
transition: all 0.4s;
}
......
......@@ -135,12 +135,6 @@ Component({
}
)
},
navbarReady(e) {
let { height } = e.detail
this.setData({
navHeight: height
})
},
// 新版
openMorePack(e) {
const { show } = e.currentTarget.dataset
......
{
"navigationBarTitleText": "权益中心",
"navigationStyle": "custom",
"usingComponents": {
"commodity-item": "/components/commodityItem/index"
}
......
......@@ -18,14 +18,6 @@ Page({
onLoad: function (options) {
this.getActivityList()
},
navbarReady(e) {
let {
height
} = e.detail
this.setData({
navHeight: height
})
},
getActivityList() {
wx.p.wxApi.showLoading()
let total = 0
......
<navigation-bar page-title="首页" custom bindnavbarReady="navbarReady" navStyle="background-color: #F9F7F7;">
<navigation-bar page-title="首页" custom >
<view class="home-top flex">
海马刀
<view class="widget-box" bindtap="openKF">
......
......@@ -9,15 +9,6 @@ Page({
tagIndex: 0,
tabList: []
},
navbarReady(e) {
console.log(e)
let {
height
} = e.detail
this.setData({
navHeight: height,
})
},
search(e) {
let value = e.detail
let {
......
<navigation-bar bindnavbarReady="navbarReady" navStyle="background-color:#F9F7F7;">商城</navigation-bar>
<navigation-bar bindnavbarReady="navbarReady">商城</navigation-bar>
<view class="mall-layout" style="margin-top: {{navHeight}}px;">
<search-box search-type="2" bindsearch="search" model:value="{{searchVal}}"></search-box>
<block wx:if="{{flag}}">
......
<view class="navigation-bar">
<navigation-bar navStyle="background-color: #F9F7F7;" bindnavbarReady="navbarReady" page-title="会员中心">会员中心</navigation-bar>
<navigation-bar bindnavbarReady="navbarReady" page-title="会员中心">会员中心</navigation-bar>
</view>
<block wx:if="{{user_box_style}}">
<view class="layout mine">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!