Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高淑倩
7-Eleven
Commits
1533eeec
Commit
1533eeec
authored
Sep 19, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tab
parent
5e4a35f5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
12 deletions
+6
-12
bottomTabs.wxml
src/component/bottomTabs/bottomTabs.wxml
+6
-12
No files found.
src/component/bottomTabs/bottomTabs.wxml
View file @
1533eeec
...
...
@@ -15,7 +15,7 @@
hover-class="btn-hover"
style="height: 100%;"
>
<image class='tab-img' src="{{utils.formateUrl(currHomePageId ==
tab.redirectId
? tab.activeImageUrl: tab.imageUrl,baseImgUrl)}}" />
<image class='tab-img' src="{{utils.formateUrl(currHomePageId ==
(tab.link.type == '2' ? tab.link.url : '0')
? tab.activeImageUrl: tab.imageUrl,baseImgUrl)}}" />
</button>
</view>
<view
...
...
@@ -25,7 +25,7 @@
bindtap="handelToPage"
>
<button class='btn' style="height: 100%;">
<image class='tab-img' src="{{utils.formateUrl(currHomePageId ==
tab.redirectId
? tab.activeImageUrl: tab.imageUrl,baseImgUrl)}}" />
<image class='tab-img' src="{{utils.formateUrl(currHomePageId ==
(tab.link.type == '2' ? tab.link.url : '0')
? tab.activeImageUrl: tab.imageUrl,baseImgUrl)}}" />
</button>
</view>
</view>
...
...
@@ -36,7 +36,7 @@
bindtap="handelToPage"
>
<button class='btn' style="height: 100%">
<image class='tab-img' src="{{utils.formateUrl(currHomePageId ==
tab.redirectId
? tab.activeImageUrl: tab.imageUrl,baseImgUrl)}}" />
<image class='tab-img' src="{{utils.formateUrl(currHomePageId ==
(tab.link.type == '2' ? tab.link.url : '0')
? tab.activeImageUrl: tab.imageUrl,baseImgUrl)}}" />
</button>
</view>
</view>
...
...
@@ -56,7 +56,7 @@
hover-class="btn-hover"
style="height: 100%;"
>
<image class='tab-img' src="{{utils.formateUrl(currHomePageId ==
tab.redirectId
? tab.activeImageUrl: tab.imageUrl,baseImgUrl)}}" />
<image class='tab-img' src="{{utils.formateUrl(currHomePageId ==
(tab.link.type == '2' ? tab.link.url : '0')
? tab.activeImageUrl: tab.imageUrl,baseImgUrl)}}" />
</button>
</view>
<view
...
...
@@ -66,7 +66,7 @@
bindtap="handelToPage"
>
<button class='btn' style="height: 100%;">
<image class='tab-img' src="{{utils.formateUrl(currHomePageId ==
tab.redirectId
? tab.activeImageUrl: tab.imageUrl,baseImgUrl)}}" />
<image class='tab-img' src="{{utils.formateUrl(currHomePageId ==
(tab.link.type == '2' ? tab.link.url : '0')
? tab.activeImageUrl: tab.imageUrl,baseImgUrl)}}" />
</button>
</view>
</view>
...
...
@@ -77,15 +77,9 @@
bindtap="handelToPage"
>
<button class='btn' style="height: 100%">
<image class='tab-img' src="{{utils.formateUrl(currHomePageId ==
tab.redirectId
? tab.activeImageUrl: tab.imageUrl,baseImgUrl)}}" />
<image class='tab-img' src="{{utils.formateUrl(currHomePageId ==
(tab.link.type == '2' ? tab.link.url : '0')
? tab.activeImageUrl: tab.imageUrl,baseImgUrl)}}" />
</button>
</view>
<!-- <button wx:if="{{currHomePageId == tab.redirectId}}">
<image class='tab-img' src='{{tab.activeImageUrl}}' />
</button>
<button wx:else>
<image class='tab-img' src='{{tab.imageUrl}}' />
</button>-->
</view>
</block>
</view>
...
...
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