Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
64001ddd
Commit
64001ddd
authored
Jun 25, 2023
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
魔方导航ui优化
parent
02267fd5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
static/nativeComponents/CubeNav/index.wxml
+1
-1
static/nativeComponents/CubeNav/index.wxss
+3
-0
No files found.
static/nativeComponents/CubeNav/index.wxml
View file @
64001ddd
...
...
@@ -15,7 +15,7 @@
</view>
<view wx:if="{{datas.componentData.layoutType == 1}}" style="position:relative;background-color:{{datas.componentData.backgroundColor || ''}};padding-bottom:{{navShow ? '10px' : '0'}}">
<view class="cube2 clearfix" style="overflow-x:auto;overflow-y:hidden" bindtouch
end
="touchmove">
<view class="cube2 clearfix" style="overflow-x:auto;overflow-y:hidden" bindtouch
move
="touchmove">
<view class="clearfix" style="width:{{wrapW}}px" id="wrapW">
<view class="cube-item" wx:for="{{imgList}}" style="padding-top:{{datas.componentData.lineHeight}}px;padding-bottom:{{datas.componentData.lineHeight}}px;width:{{w}}px;position:relative" bindtap="onclickHandle" data-item="{{item}}">
<view style="padding-left:{{getImgSize}}%;padding-right:{{getImgSize}}%">
...
...
static/nativeComponents/CubeNav/index.wxss
View file @
64001ddd
...
...
@@ -27,6 +27,9 @@
overflow: hidden;
position: relative;
}
.cube2{
padding-bottom: 10px;
}
.cube-item {
width: 100%;
box-sizing: border-box;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment