Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wx-boss
Project
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
姜雷
wx-boss
Commits
1194e3c7
Commit
1194e3c7
authored
Nov 11, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改区域选择有筛选列表时根据序号显示问题
parent
021979b3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
AreaSelect.js
miniprogram/pages/components/AreaSelect/AreaSelect.js
+0
-0
AreaSelect.ts
miniprogram/pages/components/AreaSelect/AreaSelect.ts
+1
-1
AreaSelect.wxml
miniprogram/pages/components/AreaSelect/AreaSelect.wxml
+1
-1
No files found.
miniprogram/pages/components/AreaSelect/AreaSelect.js
View file @
1194e3c7
This diff is collapsed.
Click to expand it.
miniprogram/pages/components/AreaSelect/AreaSelect.ts
View file @
1194e3c7
...
...
@@ -111,7 +111,7 @@ Component({
});
}
else
{
this
.
setData
({
selected
:
this
.
data
.
range
[
value
].
id
,
selected
:
this
.
data
.
filterList
[
value
].
id
,
selectedIndex
:
value
,
});
}
...
...
miniprogram/pages/components/AreaSelect/AreaSelect.wxml
View file @
1194e3c7
...
...
@@ -5,7 +5,7 @@
<!-- </picker> -->
<view class="areaselect-picker" bindtap="inputClickHandle">
<view wx:if="{{mode === 'page' && selected}}" class="select-value">{{showText}}</view>
<view wx:elif="{{selected}}" class="select-value">{{
range
[selectedIndex][rangeKey]}}</view>
<view wx:elif="{{selected}}" class="select-value">{{
filterList
[selectedIndex][rangeKey]}}</view>
<view wx:else class="select-placeholder">{{placeholder}}</view>
<image class="select-icon" src="../../../images/btn_xiala@2x.png" mode="aspectFill" />
</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