Commit b77eee5c authored by zhaofei's avatar zhaofei

修改模板

parent 15f59646
.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
<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
......
......@@ -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">
......
......@@ -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",
......
......@@ -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/>
......
......@@ -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",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment