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
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
14 additions
and
43 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 @@
...
@@ -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;
}
}
...
...
packageMall/pages/coupon/coupon.js
View file @
a6b8551
...
@@ -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
=>
{
...
...
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="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: {{nav
Bar
Height}}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.scss
View file @
a6b8551
/* 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
;
}
}
...
...
pages/tab/equity/index.js
View file @
a6b8551
...
@@ -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
...
...
pages/tab/equity/index.json
View file @
a6b8551
{
{
"navigation
BarTitleText"
:
"权益中心
"
,
"navigation
Style"
:
"custom
"
,
"usingComponents"
:
{
"usingComponents"
:
{
"commodity-item"
:
"/components/commodityItem/index"
"commodity-item"
:
"/components/commodityItem/index"
}
}
...
...
pages/tab/equity/index.wxml
View file @
a6b8551
<
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
pages/tab/index/index.js
View file @
a6b8551
...
@@ -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
...
...
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="home-top flex">
海马刀
海马刀
<view class="widget-box" bindtap="openKF">
<view class="widget-box" bindtap="openKF">
...
...
pages/tab/mall/index.js
View file @
a6b8551
...
@@ -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
{
...
...
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;">
<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}}">
...
...
pages/tab/mine/index.wxml
View file @
a6b8551
<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">
...
...
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