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
b77eee5c
Commit
b77eee5c
authored
Nov 10, 2020
by
zhaofei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改模板
parent
15f59646
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
9 deletions
+9
-9
tb-textarea.acss
client/components/form/tb-textarea/tb-textarea.acss
+2
-2
tb-textarea.axml
client/components/form/tb-textarea/tb-textarea.axml
+3
-3
add.axml
client/pages/activity/addBackup/add.axml
+1
-1
add.json
client/pages/activity/addBackup/add.json
+1
-1
index.axml
client/pages/cmp/index/index.axml
+1
-1
index.json
client/pages/cmp/index/index.json
+1
-1
No files found.
client/components/form/tb-textarea/tb-textarea.acss
View file @
b77eee5c
.tb-
rule
-title {
.tb-
textarea
-title {
font-size: 12px;
color: #333;
margin: 15px 10px 0 0;
}
.tb-
rule
-title_container {
.tb-
textarea
-title_container {
display: flex;
align-items: center;
}
\ No newline at end of file
client/components/form/tb-textarea/tb-textarea.axml
View file @
b77eee5c
<view class="tb-
rule
-container">
<view class="tb-
rule
-title_container">
<view class="tb-
rule
-title">用于展示在活动页的规则说明</view>
<view class="tb-
textarea
-container">
<view class="tb-
textarea
-title_container">
<view class="tb-
textarea
-title">用于展示在活动页的规则说明</view>
<button a:if="{{false}}" type="primary" size="small" text onTap="handleTapGeneralRule">{{value ? '重新生成' : '生成规则'}}</button>
</view>
<textarea
...
...
client/pages/activity/addBackup/add.axml
View file @
b77eee5c
...
...
@@ -213,7 +213,7 @@
class="edit-content-form-item"
label="活动规则"
asterisk="{{false}}">
<tb-
rule
value="{{rule}}" onChange="onRuleChange" generateRuleInfo="{{{title: subtitle, startTime, endTime, prizeInfoList}}}"/>
<tb-
textarea
value="{{rule}}" onChange="onRuleChange" generateRuleInfo="{{{title: subtitle, startTime, endTime, prizeInfoList}}}"/>
</form-item>
<view class="submit-btn">
...
...
client/pages/activity/addBackup/add.json
View file @
b77eee5c
...
...
@@ -6,7 +6,7 @@
"tb-config-input"
:
"/components/form/tb-config-input/tb-config-input"
,
"tb-range-picker"
:
"/components/form/tb-range-picker/tb-range-picker"
,
"question-tips"
:
"/components/basic/question-tips/question-tips"
,
"tb-
rule"
:
"/components/form/tb-rule/tb-rule
"
,
"tb-
textarea"
:
"/components/form/tb-textarea/tb-textarea
"
,
"probability-prize-table"
:
"/components/prize/probability-prize-table/probability-prize-table"
,
"list-table"
:
"/components/list/list-table/list-table"
,
"rank-config"
:
"/components/rank/rank-config/rank-config"
,
...
...
client/pages/cmp/index/index.axml
View file @
b77eee5c
...
...
@@ -40,7 +40,7 @@
placeholder="1-99"
/>
<view class="hr"></view>
<tb-
rule value="{{rule}}" onChange="onRuleChange"></tb-rule
>
<tb-
textarea value="{{rule}}" onChange="onRuleChange"></tb-textarea
>
<view class="hr"></view>
<probability-prize-table/>
...
...
client/pages/cmp/index/index.json
View file @
b77eee5c
...
...
@@ -3,7 +3,7 @@
"tb-input"
:
"/components/form/tb-input/tb-input"
,
"tb-config-input"
:
"/components/form/tb-config-input/tb-config-input"
,
"tb-range-picker"
:
"/components/form/tb-range-picker/tb-range-picker"
,
"tb-
rule"
:
"/components/form/tb-rule/tb-rule
"
,
"tb-
textarea"
:
"/components/form/tb-textarea/tb-textarea
"
,
"probability-prize-table"
:
"/components/prize/probability-prize-table/probability-prize-table"
,
"list-table"
:
"/components/list/list-table/list-table"
,
"rank-config"
:
"/components/rank/rank-config/rank-config"
,
...
...
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