Commit 9188b7e5 authored by Mac's avatar Mac

1

parent 2511e443
......@@ -40,6 +40,7 @@
</div>
</div>
</div>
<q-input clearable filled v-model="addMsg.MediaName" placeholder="请输入图片名称" class="q-mt-lg" maxlength="20" />
</q-card-section>
<q-separator />
......@@ -223,9 +224,9 @@
},
created() {
if (this.editobj != null) {
this.addMsg = this.editobj
this.addMsg = JSON.parse(JSON.stringify(this.editobj))
if(this.type==1){
this.imgPath = this.editobj.Path;
this.imgPath = this.addMsg.ImageUrl;
}
}
},
......
......@@ -30,8 +30,12 @@
{{x.timevalue?x.timevalue.toFixed(1):0}}
</span>
</q-circular-progress>
<div class="onetext" style="margin-top: 5px;">上传者:{{x.UpdateBy}}</div>
<div class="onetext" style="margin-top: 5px;">分组:{{x.MediaGroupName}}</div>
<div class="onetext" style="margin-top: 5px;">{{x.MediaName}}</div>
<div style="margin-top: 5px;display: flex;justify-content: space-between;align-items: center;">
<span class="onetext" style="width: 50%;"><i class="iconfont icon-ico-64" style="font-size: 12px;color: #1890ff;margin-right: 3px;" ></i>{{x.MediaGroupName}}</span>
<span class="onetext" style="width: 50%;text-align: right;" ><i class="iconfont icon-ren-" style="font-size: 14px;color: #1890ff;margin-right: 3px;" ></i>{{x.UpdateByName}}</span>
</div>
</q-card-section>
</q-card>
......
......@@ -38,8 +38,12 @@
</div>
</div>
<q-img :src="x.ImageUrl" class="imgstyle"></q-img>
<div class="onetext" style="margin-top: 5px;">上传者:{{x.UpdateByName}}</div>
<div class="onetext" style="margin-top: 5px;">分组:{{x.MediaGroupName}}</div>
<div class="onetext" style="margin-top: 5px;">{{x.MediaName}}</div>
<div style="margin-top: 5px;display: flex;justify-content: space-between;align-items: center;">
<span class="onetext" style="width: 50%;"><i class="iconfont icon-ico-64" style="font-size: 12px;color: #1890ff;margin-right: 3px;" ></i>{{x.MediaGroupName}}</span>
<span class="onetext" style="width: 50%;text-align: right;" ><i class="iconfont icon-ren-" style="font-size: 14px;color: #1890ff;margin-right: 3px;" ></i>{{x.UpdateByName}}</span>
</div>
</q-card-section>
</q-card>
......
......@@ -26,8 +26,12 @@
<video width="260" height="180" :src="x.Path" controls="controls" v-if="x.Path">
<!-- <source :src="x.Path" type="video/mp4" /> -->
</video>
<div class="onetext" style="margin-top: 5px;">视频名称:{{x.MediaName}}</div>
<div class="onetext" style="margin-top: 5px;">分组:{{x.MediaGroupName}}</div>
<div class="onetext" style="margin-top: 5px;">{{x.MediaName}}</div>
<div style="margin-top: 5px;display: flex;justify-content: space-between;align-items: center;">
<span class="onetext" style="width: 50%;"><i class="iconfont icon-ico-64" style="font-size: 12px;color: #1890ff;margin-right: 3px;" ></i>{{x.MediaGroupName}}</span>
<span class="onetext" style="width: 50%;text-align: right;" ><i class="iconfont icon-ren-" style="font-size: 14px;color: #1890ff;margin-right: 3px;" ></i>{{x.UpdateByName}}</span>
</div>
</q-card-section>
</q-card>
......
......@@ -27,7 +27,7 @@
<q-btn-dropdown color="accent" size="sm" class="q-mr-md" style="float:right;margin-right:0;"
label="新增创作">
<q-list>
<q-item clickable v-close-popup @click="goadd(x.Id)" v-for="(x,y) in TypeList2" :key="y">
<q-item clickable v-close-popup @click="goadd(x.Id)" v-for="(x,y) in TypeList2" :key="y" v-if='x.Id!=3'>
<q-item-section>
<q-item-label>{{x.Name}}</q-item-label>
</q-item-section>
......
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