修复跳转类型

This commit is contained in:
liaozetao
2023-11-21 12:02:35 +08:00
parent fa47d94a96
commit 376a72fdb2

View File

@@ -91,13 +91,13 @@
<el-input v-model="resource.skipContent" style="width: 75%" class="input"
:placeholder="[resource.skipType == 3 ? '请输入跳转链接' : (resource.skipType == 2 ? '请输入房间ID' : '')]"></el-input>
</div>
<div style="margin-bottom: 25px" v-if="resource.skipType == 2">
<div style="margin-bottom: 25px" v-if="resource.skipType == 3">
<span style="display: inline-block; margin-right: 20px" class="col-sm-2 control-label">切换banner</span>
<input type="hidden" class="form-control" name="avatar" v-model="resource.url" />
<img :src="resource.url" style="width:120px;" />
<input type="file" style="width: 26%; display: inline-block;" id="urlFile" name="uploadFile" />
</div>
<div style="margin-bottom: 25px" v-if="resource.skipType == 2">
<div style="margin-bottom: 25px" v-if="resource.skipType == 3">
<span style="display: inline-block; margin-right: 20px" class="col-sm-2 control-label"></span>
<button class="btn btn-success col-sm-4" type="button" id="urlUploadBtn" @click="uploadUrl()">上传</button>
<span class="btn col-sm-4" id="urlUploadInfo" style="color:red;"></span>