|
@@ -20,15 +20,15 @@
|
|
|
<Card v-for="(item, index) in scened" :key="item.id" style="margin-bottom: 20px">
|
|
|
<h3>{{index + 1}}. {{item.sceneName}}</h3>
|
|
|
<div class="scene-list">
|
|
|
- <div class="l-scene">
|
|
|
+ <div class="l-scene l-label">
|
|
|
<p>推送逻辑:</p>
|
|
|
<p>推送用户:</p>
|
|
|
<p>模板对应firstdata字段:</p>
|
|
|
</div>
|
|
|
- <div class="l-scene">
|
|
|
+ <div class="l-scene r-w-cont">
|
|
|
<p>{{item.pushLogic?item.pushLogic:'-'}}</p>
|
|
|
<p>{{item.pushUser?item.pushUser:'-'}}</p>
|
|
|
- <p style="margin-left: 30px">
|
|
|
+ <p>
|
|
|
<i>{{item.firstdata?item.firstdata:'-'}}</i>
|
|
|
<Button size="small" @click="edits(item.id, item.firstdata)">修改</Button>
|
|
|
<Button size="small" type="primary" @click="save(item.id, 1)" style="margin: 0 20px" :disabled="item.isTest == 1">{{item.isTest == 1 ? '已测试' : '测试'}}</Button>
|
|
@@ -39,7 +39,7 @@
|
|
|
</Card>
|
|
|
</div>
|
|
|
<Modal v-model="info.show" title="修改" :width="500" :mask-closable="false">
|
|
|
- <Input v-model="info.descri" :rows="3" type="textarea"></Input>
|
|
|
+ <Input v-model="info.descri" :rows="5" type="textarea"></Input>
|
|
|
<div slot="footer">
|
|
|
<Button type="primary" size="large" @click="save(0, 0)">提交</Button>
|
|
|
</div>
|
|
@@ -127,8 +127,13 @@ export default {
|
|
|
display: flex;
|
|
|
flex-direction: inherit;
|
|
|
margin-top: 10px;
|
|
|
+ .l-label {
|
|
|
+ width: 180px;
|
|
|
+ p {
|
|
|
+ text-align: right;
|
|
|
+ }
|
|
|
+ }
|
|
|
.l-scene {
|
|
|
- min-width: 120px;
|
|
|
p {
|
|
|
line-height: 26px;
|
|
|
font-size: 15px;
|
|
@@ -139,6 +144,13 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ .r-w-cont {
|
|
|
+ p {
|
|
|
+ i {
|
|
|
+ width: 660px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|