Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taobao-mini-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
qinhaitao
taobao-mini-template
Commits
cea1b34b
Commit
cea1b34b
authored
Dec 18, 2020
by
qinhaitao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor:
💡
format
parent
7da670d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
rank-dialog.axml
client/components/dialog/rank-dialog/rank-dialog.axml
+2
-6
No files found.
client/components/dialog/rank-dialog/rank-dialog.axml
View file @
cea1b34b
...
@@ -38,9 +38,7 @@
...
@@ -38,9 +38,7 @@
<select value="{{searchInfo.prizeDataType}}" onChange="handleInputChange" data-name='prizeDataType'>
<select value="{{searchInfo.prizeDataType}}" onChange="handleInputChange" data-name='prizeDataType'>
<option value="">全部</option>
<option value="">全部</option>
<% for(var i = 0; i < formatPrize.length; ++i) {%>
<% for(var i = 0; i < formatPrize.length; ++i) {%>
<%- `
<%- `<option value="${formatPrize[i].prizeDataType}">${formatPrize[i].name}</option> `
<option value="${formatPrize[i].prizeDataType}">${formatPrize[i].name}</option>
`
%><% } %>
%><% } %>
</select>
</select>
</form-item>
</form-item>
...
@@ -72,9 +70,7 @@
...
@@ -72,9 +70,7 @@
<table-column title="发奖来源" dataIndex="prizeDataType">
<table-column title="发奖来源" dataIndex="prizeDataType">
<view slot-scope="x">
<view slot-scope="x">
<% for(var i = 0; i < formatPrize.length; ++i) {%>
<% for(var i = 0; i < formatPrize.length; ++i) {%>
<%- `
<%- `<text a:if="{{x.record.prizeDataType == ${formatPrize[i].prizeDataType}}}">${formatPrize[i].name}</text> `
<text a:if="{{x.record.prizeDataType == ${formatPrize[i].prizeDataType}}}">${formatPrize[i].name}</text>
`
%><% } %>
%><% } %>
</view>
</view>
</table-column>
</table-column>
...
...
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