Commit a6b85512 by 李伟康

修改样式

1 parent 7bcf767b
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
left: 0; left: 0;
width: 100%; width: 100%;
z-index: 99; z-index: 99;
background-color: #fff; background-color: #F9F7F7;
transition: all .15s; transition: all .15s;
} }
......
...@@ -21,11 +21,6 @@ Page({ ...@@ -21,11 +21,6 @@ Page({
list: [], list: [],
pageNum: 1 pageNum: 1
}, },
navbarReady(e) {
this.setData({
navBarHeight: e.detail.height
})
},
unique(arr) { unique(arr) {
let res = new Set() let res = new Set()
return arr.filter(item => { return arr.filter(item => {
......
<navigation-bar custom bindnavbarReady="navbarReady" page-title="卡券详情"> <navigation-bar custom page-title="卡券详情">
<view class="navigation"> <view class="navigation">
<view class="back text-center y-center" bindtap="jump"> <view class="back text-center y-center" bindtap="jump">
<glsx-image webp src="mall/back.png" class="icon"></glsx-image> <glsx-image webp src="mall/back.png" class="icon"></glsx-image>
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
</view> </view>
</view> </view>
</navigation-bar> </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="{{qr}}">
<block wx:if="{{couponDetail.discountType == 3 && couponDetail.useChannel == 1}}"> <block wx:if="{{couponDetail.discountType == 3 && couponDetail.useChannel == 1}}">
<view class="coupon-X"> <view class="coupon-X">
......
/* packageMine/pages/order/index/index.wxss */ /* packageMine/pages/order/index/index.wxss */
.sticky-box { .sticky-box {
background-color: #fff; background-color: #F9F7F7;
} }
.tab { .tab {
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
top: 0; top: 0;
left: 0; left: 0;
width: 100%; width: 100%;
background-color: #fff; background-color: #F9F7F7;
z-index: 2; z-index: 2;
transition: all 0.4s; transition: all 0.4s;
} }
......
...@@ -135,12 +135,6 @@ Component({ ...@@ -135,12 +135,6 @@ Component({
} }
) )
}, },
navbarReady(e) {
let { height } = e.detail
this.setData({
navHeight: height
})
},
// 新版 // 新版
openMorePack(e) { openMorePack(e) {
const { show } = e.currentTarget.dataset const { show } = e.currentTarget.dataset
......
{ {
"navigationBarTitleText": "权益中心", "navigationStyle": "custom",
"usingComponents": { "usingComponents": {
"commodity-item": "/components/commodityItem/index" "commodity-item": "/components/commodityItem/index"
} }
......
<block wx:if="{{showPage}}"> <!-- <navigation-bar bindnavbarReady="navbarReady" page-title="权益中心">权益中心</navigation-bar> -->
<!-- <navigation-bar bindnavbarReady="navbarReady" page-title="权益中心">权益中心</navigation-bar> --> <navigation-bar>权益中心</navigation-bar>
<view class="equity-container" id="equity"> <view class="equity-container" id="equity" style="margin-top: {{navHeight}}px;">
<!-- 顶部个人信息 --> <!-- 顶部个人信息 -->
<!-- <view class="top_wrapper"> <!-- <view class="top_wrapper">
<view class="top_idCard_con"> <view class="top_idCard_con">
...@@ -244,6 +244,5 @@ ...@@ -244,6 +244,5 @@
<glsx-image webp class="loca_icon" webp src="location_icon.png" /> <glsx-image webp class="loca_icon" webp src="location_icon.png" />
<view bind:tap="relocation" class="loca_text">定位一下,发现附近优惠</view> <view bind:tap="relocation" class="loca_text">定位一下,发现附近优惠</view>
</view> </view>
</view>
<authorize id="authorize" scopeType="userLocation" isShowCheck="{{false}}" bindfail="authFail" bindsuccess="authSuccess" show="{{showAuth}}"></authorize>
</block>
\ No newline at end of file \ No newline at end of file
</view>
<authorize id="authorize" scopeType="userLocation" isShowCheck="{{false}}" bindfail="authFail" bindsuccess="authSuccess" show="{{showAuth}}"></authorize>
\ No newline at end of file \ No newline at end of file
...@@ -18,14 +18,6 @@ Page({ ...@@ -18,14 +18,6 @@ Page({
onLoad: function (options) { onLoad: function (options) {
this.getActivityList() this.getActivityList()
}, },
navbarReady(e) {
let {
height
} = e.detail
this.setData({
navHeight: height
})
},
getActivityList() { getActivityList() {
wx.p.wxApi.showLoading() wx.p.wxApi.showLoading()
let total = 0 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="home-top flex">
海马刀 海马刀
<view class="widget-box" bindtap="openKF"> <view class="widget-box" bindtap="openKF">
......
...@@ -9,15 +9,6 @@ Page({ ...@@ -9,15 +9,6 @@ Page({
tagIndex: 0, tagIndex: 0,
tabList: [] tabList: []
}, },
navbarReady(e) {
console.log(e)
let {
height
} = e.detail
this.setData({
navHeight: height,
})
},
search(e) { search(e) {
let value = e.detail let value = e.detail
let { 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;"> <view class="mall-layout" style="margin-top: {{navHeight}}px;">
<search-box search-type="2" bindsearch="search" model:value="{{searchVal}}"></search-box> <search-box search-type="2" bindsearch="search" model:value="{{searchVal}}"></search-box>
<block wx:if="{{flag}}"> <block wx:if="{{flag}}">
......
<view class="navigation-bar"> <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> </view>
<block wx:if="{{user_box_style}}"> <block wx:if="{{user_box_style}}">
<view class="layout mine"> <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!