|
@@ -27,16 +27,16 @@
|
|
|
<div class="time_box">
|
|
|
<span>触发时间:</span>
|
|
|
<el-input-number v-model="item.time" :controls="false" :min="1" placeholder="视频第几秒"
|
|
|
- @change="changeTime(item.time, index)"></el-input-number>
|
|
|
+ @change="changeTime(item.time, index)" style="width: 100px;"></el-input-number><span style="margin-left: 5px;">秒</span>
|
|
|
</div>
|
|
|
<div class="setting_fool">
|
|
|
<span>工具设置:</span>
|
|
|
<el-button type="primary" size="mini" @click="setting(index)">{{ item.tool.tool ? "已设置" :
|
|
|
- "工具设置" }}</el-button>
|
|
|
+ "插入工具" }}</el-button><el-button type="text" size="mini" @click="deleteSetting(index)" style="color:#818181">删除</el-button>
|
|
|
</div>
|
|
|
- <div>
|
|
|
+ <!-- <div>
|
|
|
<el-button type="primary" size="mini" @click="deleteSetting(index)">删除</el-button>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -220,7 +220,18 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
deleteSetting(index) {
|
|
|
- this.json.setting.splice(index, 1)
|
|
|
+ this
|
|
|
+ .$confirm("确定删除么?", "提示", {
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: "warning",
|
|
|
+ })
|
|
|
+ .then(() => {
|
|
|
+ this.json.setting.splice(index, 1)
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ return;
|
|
|
+ });
|
|
|
},
|
|
|
reset() {
|
|
|
this
|
|
@@ -361,7 +372,10 @@ export default {
|
|
|
margin-top: 20px;
|
|
|
position: relative;
|
|
|
}
|
|
|
-
|
|
|
+.btnBox{
|
|
|
+ display:flex;
|
|
|
+ justify-content: flex-end;
|
|
|
+}
|
|
|
.videoBox>.content {
|
|
|
/* position: absolute; */
|
|
|
line-height: 600px;
|
|
@@ -403,7 +417,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
.setting_b {
|
|
|
- margin: 0 20px 20px 0;
|
|
|
+ margin: 0 60px 20px 0;
|
|
|
}
|
|
|
|
|
|
.setting_b div+div {
|