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
debd7d53
Commit
debd7d53
authored
Mar 05, 2021
by
程智春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
ae25c918
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
2 deletions
+10
-2
custom-tab-bar/index.js
+4
-0
custom-tab-bar/index.wxml
+1
-1
custom-tab-bar/index.wxss
+4
-0
static/nativeComponents/PhotoGallery/index.wxml
+1
-1
No files found.
custom-tab-bar/index.js
View file @
debd7d53
...
...
@@ -125,6 +125,8 @@ Component({
console
.
log
(
73333381
);
app
.
footerCallBack
=
function
(
params
)
{
console
.
log
(
"back"
);
console
.
log
(
params
,
app
.
globalData
.
footerVal
.
componentData
)
params
.
componentData
.
selectIconColor
=
app
.
globalData
.
footerVal
.
componentData
.
selectIconBackground
==
1
?
'val(--main-color)'
:
params
.
componentData
.
selectIconColor
that
.
setData
({
componentData
:
params
.
componentData
,
list
:
params
.
componentData
.
list
...
...
@@ -136,6 +138,8 @@ Component({
that
.
data
.
selected
&&
params
.
componentData
[
"styleSelectionNum"
]
==
1
;
console
.
log
(
"87777777"
,
mm
);
console
.
log
(
that
.
data
.
componentData
,
'componentData'
)
};
}
...
...
custom-tab-bar/index.wxml
View file @
debd7d53
...
...
@@ -15,7 +15,7 @@
<!-- {{index}}{{selected}}--{{Math.ceil(5/2-1)}}--{{mm}} -->
<!-- &&componentData['styleSelectionNum']==1 -->
<!-- 图标 -->
<view class="item">
<view class="item"
class="{{index == selected ? 'current' : ''}}"
>
<view>
<view wx:if="{{item.iconType==0||!item.iconType}}">
<view class="antt {{item.icon}}" style="font-size:{{componentData.defaultIcon==1 ? '36rpx' : (componentData.defaultIconSize*2 + 'rpx')}};color:{{index==selected?componentData.selectIconColor:componentData.defaultIconColor}}"></view>
...
...
custom-tab-bar/index.wxss
View file @
debd7d53
...
...
@@ -1295,3 +1295,6 @@
line-height: 36rpx;
z-index: 999;
}
.current view{
color: var(--main-color);
}
\ No newline at end of file
static/nativeComponents/PhotoGallery/index.wxml
View file @
debd7d53
...
...
@@ -5,7 +5,7 @@
</view>
<view wx:if="{{datas.componentData.style==='list'}}">
<view class="imgcontent" wx:for="{{datas.componentData.imgList}}" wx:key="{{index}}" style="margin-bottom:{{datas.componentData.imgPadding * 2}}rpx">
<image src="{{item.imageUrl}}" lazy-load></image>
<image src="{{item.imageUrl}}" lazy-load
mode="widthFix"
></image>
</view>
</view>
<view wx:elif="{{datas.componentData.style==='across' || datas.componentData.style==='tiled'}}" class="across">
...
...
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