Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
hmd
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a6b85512
authored
Jul 21, 2023
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改样式
1 parent
7bcf767b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
9 additions
and
37 deletions
components/NavigationBar/NavigationBar.wxss
packageMall/pages/coupon/coupon.js
packageMall/pages/coupon/coupon.wxml
packageMine/pages/order/index/index.scss
pages/tab/equity/index.js
pages/tab/equity/index.json
pages/tab/equity/index.wxml
pages/tab/index/index.js
pages/tab/index/index.wxml
pages/tab/mall/index.js
pages/tab/mall/index.wxml
pages/tab/mine/index.wxml
components/NavigationBar/NavigationBar.wxss
View file @
a6b8551
...
...
@@ -5,7 +5,7 @@
left: 0;
width: 100%;
z-index: 99;
background-color: #
fff
;
background-color: #
F9F7F7
;
transition: all .15s;
}
...
...
packageMall/pages/coupon/coupon.js
View file @
a6b8551
...
...
@@ -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
=>
{
...
...
packageMall/pages/coupon/coupon.wxml
View file @
a6b8551
<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: {{nav
Bar
Height}}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.scss
View file @
a6b8551
/* 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
;
}
...
...
pages/tab/equity/index.js
View file @
a6b8551
...
...
@@ -135,12 +135,6 @@ Component({
}
)
},
navbarReady
(
e
)
{
let
{
height
}
=
e
.
detail
this
.
setData
({
navHeight
:
height
})
},
// 新版
openMorePack
(
e
)
{
const
{
show
}
=
e
.
currentTarget
.
dataset
...
...
pages/tab/equity/index.json
View file @
a6b8551
{
"navigation
BarTitleText"
:
"权益中心
"
,
"navigation
Style"
:
"custom
"
,
"usingComponents"
:
{
"commodity-item"
:
"/components/commodityItem/index"
}
...
...
pages/tab/equity/index.wxml
View file @
a6b8551
This diff is collapsed.
Click to expand it.
pages/tab/index/index.js
View file @
a6b8551
...
...
@@ -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
...
...
pages/tab/index/index.wxml
View file @
a6b8551
<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">
...
...
pages/tab/mall/index.js
View file @
a6b8551
...
...
@@ -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
{
...
...
pages/tab/mall/index.wxml
View file @
a6b8551
<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}}">
...
...
pages/tab/mine/index.wxml
View file @
a6b8551
<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">
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment