Commit 7702aef5 by 匡雅琴 Committed by chenwq

营销素材样式优化

1 parent 8dab4e19
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
<div class="tips-text"> <div class="tips-text">
<img src="@/assets/guestCustom/tips.png" class="tips-icon" alt /> <img src="@/assets/guestCustom/tips.png" class="tips-icon" alt />
<span>因企业微信限制,图片长宽建议不超过1440x1080,大小不超过10M,数量不超过9张。视频建议不超过1280x720,帧率30FPS,视频码率1.67 Mbps,最长不超过30S,最大不超过10MB</span> <span>因企业微信限制,普通图片:总像素不超过1555200,大小不超过10M,数量不超过9张。视频建议不超过1280x720,帧率30FPS,视频码率1.67 Mbps,最长不超过30S,最大不超过10MB</span>
</div> </div>
</div> </div>
<ActivityModel ref="activity" @selectActivity="selectActivity"></ActivityModel> <ActivityModel ref="activity" @selectActivity="selectActivity"></ActivityModel>
...@@ -192,10 +192,10 @@ export default { ...@@ -192,10 +192,10 @@ export default {
// 默认1MB // 默认1MB
const limitSize = 10 const limitSize = 10
const isLt = file.size / 1024 / 1024 < limitSize const isLt = file.size / 1024 / 1024 < limitSize
if (!isLt) { // if (!isLt) {
this.$message.error('上传图片大小不能超过' + limitSize + 'MB!') // this.$message.error('上传图片大小不能超过' + limitSize + 'MB!')
return true // return true
} // }
reader.readAsDataURL(file) reader.readAsDataURL(file)
reader.onload = e => { reader.onload = e => {
var image = new Image() var image = new Image()
......
...@@ -207,7 +207,7 @@ export default { ...@@ -207,7 +207,7 @@ export default {
font-size: 16px; font-size: 16px;
padding-top: 6px; padding-top: 6px;
position: absolute; position: absolute;
right: 16px; right: 0px;
transform: rotate(90deg); transform: rotate(90deg);
} }
} }
......
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
</div> </div>
</el-popover> </el-popover>
<!-- 视频 --> <!-- 视频 -->
<el-popover placement="right" trigger="click" v-if="scope.scope.urlType == 'video'"> <el-popover placement="right" trigger="hover" v-if="scope.scope.urlType == 'video'">
<div> <div>
<video controls autoplay width="300" height="300"> <video controls autoplay width="300" height="300">
<source :src="scope.scope.materialContentRpcResponse.materialUrl" type="video/mp4" /> <source :src="scope.scope.materialContentRpcResponse.materialUrl" type="video/mp4" />
...@@ -389,7 +389,7 @@ export default { ...@@ -389,7 +389,7 @@ export default {
let clientHeight = document.documentElement.clientHeight let clientHeight = document.documentElement.clientHeight
let offTop = document.querySelector('.tabelList').offsetTop let offTop = document.querySelector('.tabelList').offsetTop
this.boxHeight = clientHeight - offTop - 80 this.boxHeight = clientHeight - offTop - 80
this.tableHeight = clientHeight - offTop - 132 + 'px' this.tableHeight = clientHeight - offTop - 135 + 'px'
// this.findAllDictData('business_type') // this.findAllDictData('business_type')
this.getListEntBusinessType() this.getListEntBusinessType()
this.firstCome() this.firstCome()
...@@ -657,7 +657,6 @@ ul { ...@@ -657,7 +657,6 @@ ul {
height: 100%; height: 100%;
.left { .left {
height: 100%; height: 100%;
min-width: 260px;
position: relative; position: relative;
border-right: 1px solid #e8e8ea; border-right: 1px solid #e8e8ea;
} }
...@@ -718,4 +717,10 @@ ul { ...@@ -718,4 +717,10 @@ ul {
/deep/ .el-switch__core { /deep/ .el-switch__core {
width: 32px !important; width: 32px !important;
} }
/deep/ .el-table::before {
background-color: transparent;
}
/deep/ .el-table__fixed-right::before {
background-color: transparent;
}
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!