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
182543ec
Commit
182543ec
authored
Nov 11, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test'
parents
2c81b80e
460b6bf4
Expand all
Show 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 @
182543ec
This diff is collapsed.
Click to expand it.
miniprogram/pages/components/AreaSelect/AreaSelect.ts
View file @
182543ec
...
@@ -111,7 +111,7 @@ Component({
...
@@ -111,7 +111,7 @@ Component({
});
});
}
else
{
}
else
{
this
.
setData
({
this
.
setData
({
selected
:
this
.
data
.
range
[
value
].
id
,
selected
:
this
.
data
.
filterList
[
value
].
id
,
selectedIndex
:
value
,
selectedIndex
:
value
,
});
});
}
}
...
...
miniprogram/pages/components/AreaSelect/AreaSelect.wxml
View file @
182543ec
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<!-- </picker> -->
<!-- </picker> -->
<view class="areaselect-picker" bindtap="inputClickHandle">
<view class="areaselect-picker" bindtap="inputClickHandle">
<view wx:if="{{mode === 'page' && selected}}" class="select-value">{{showText}}</view>
<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>
<view wx:else class="select-placeholder">{{placeholder}}</view>
<image class="select-icon" src="../../../images/btn_xiala@2x.png" mode="aspectFill" />
<image class="select-icon" src="../../../images/btn_xiala@2x.png" mode="aspectFill" />
</view>
</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