Commit cc0aed2e by 匡雅琴 Committed by chenwq

fixed

1 parent fbeb0d07
......@@ -19,8 +19,8 @@ export const fetchConfig = function (isEnv = true) {
// }
//return window.fetch('https://', {}).then(res => res.json())
// request({ url: 'https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config/oss_commodity_center', method: 'get' })
return new Http().get('https://oss-config.test.glsx.com.cn/mock/619c87331072f92988f05a29/marketing/config')
// return new Http().get('http://192.168.3.171:7300/mock/619c87331072f92988f05a29/marketing/config')
// return new Http().get('https://oss-config.test.glsx.com.cn/mock/619c87331072f92988f05a29/marketing/config')
return new Http().get('http://192.168.3.171:7300/mock/619c87331072f92988f05a29/marketing/config')
}
export const config = {
install(vue, cfg) {
......
......@@ -38,10 +38,12 @@
<div class="preview-operation">赞 | 评论</div>
</div>
</div>
<el-dialog :visible.sync="videoShow" :before-close="handleClose" class="video-dialog">
<div slot="title" style="height: 18px"></div>
<video v-if="videoShow" width="100%" height="100%" autoplay controls :src="this.videoUrl"></video>
</el-dialog>
<div class="video-dialog" v-if="videoShow">
<div class="video-dialog-panel">
<div class="video-close"><i class="el-icon-close" @click="videoShow = false"></i></div>
<video height="100%" autoplay controls :src="this.videoUrl"></video>
</div>
</div>
</div>
</template>
......@@ -272,13 +274,34 @@ export default {
}
}
.video-dialog {
/deep/ {
.el-dialog__header {
border-bottom: 0px;
background-color: rgb(0, 0, 0);
}
.el-dialog__body {
padding: 0px;
z-index: 2001;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
overflow: auto;
background: rgba($color: #000000, $alpha: 0.5);
&-panel {
background: #000000;
position: absolute;
top: 100px;
left: 50%;
transform: translateX(-50%);
height: calc(100% - 200px);
width: auto;
box-sizing: border-box;
padding: 10px 20px 20px;
overflow: hidden;
.video-close {
display: flex;
justify-content: flex-end;
height: 40px;
i {
cursor: pointer;
font-size: 25px;
color: #5850ff;
}
}
}
}
......
......@@ -36,8 +36,8 @@
</div>
</div>
<div slot="sendType" slot-scope="scope">
<span style="color: #eb4e4e" v-if="scope.scope.sendType == 1">定时发送</span>
<span v-if="scope.scope.sendType == 2">立即发送</span>
<span style="color: #eb4e4e" v-if="scope.scope.sendType == 2">定时发送</span>
<span v-if="scope.scope.sendType == 1">立即发送</span>
</div>
<div class="table-btns" slot="auth-button" slot-scope="scope">
<el-button type="text" disabled v-if="scope.scope.status == 2 || scope.scope.status == 1">创建中</el-button>
......@@ -134,7 +134,8 @@ export default {
{
label: '内容',
prop: 'attachmentList',
addHtml: 'attachmentList'
addHtml: 'attachmentList',
width: '240'
},
{
label: '发布方式',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!