Commit e54504d0 by 杨明

Merge branch 'v3.12.0' of http://192.168.3.233:8090/saas/scrm-micro-battles into v3.12.0

2 parents db5368d3 2123c606
......@@ -305,7 +305,7 @@ export default {
// return `r${new Date().getTime()}d${Math.ceil(Math.random() * 1000)}`
},
setFocus() {
this.savedRange.setStartAfter(document.querySelector('.w-textarea_input').lastChild)
this.savedRange.setStartAfter && this.savedRange.setStartAfter(document.querySelector('.w-textarea_input').lastChild)
},
selectHandler() {
// 监听选定文本的变动
......
......@@ -46,7 +46,6 @@ export default {
data() {
return {
textNum: 0,
maxNum: 20,
limitContent: '',
emotionStatus: false
}
......@@ -59,6 +58,10 @@ export default {
mapList: {
type: Array,
default: () => []
},
maxNum: {
typr: Number,
default: 200
}
},
components: {
......@@ -154,6 +157,10 @@ export default {
}
setTimeout(() => {
document.querySelector('.w-textarea_input').innerHTML = htm
const html = this.getTextValue(htm),
text = html.replace(/\[.+?\]/g, '').replace(/\${.+?}/g, '')
this.textNum = text.length
if(this.textNum == 200) this.limitContent = htm
this.$refs.textContent.setFocus()
}, 100)
}
......@@ -210,6 +217,10 @@ export default {
}
.text-num {
padding-right: 10px;
font-size: 14px;
color: #999999;
position: absolute;
right: -85px;
}
}
.date-picker {
......
......@@ -154,7 +154,7 @@ export default {
box-sizing: border-box;
position: absolute;
z-index: 0;
bottom: 85px;
bottom: 75px;
font-size:14px;
.el-icon-warning {
width: 16px;
......
......@@ -11,7 +11,7 @@
<div class="empty">
<img src="@/assets/buttetin/empty.png" />
</div>
<p class="empty-text">暂无配置项</p>
<div class="explain">
<div class="color6 weight-6 font-14">
<i class="el-icon-warning"></i>
......@@ -84,6 +84,15 @@ export default {
height: 100%;
}
}
.empty-text {
font-size: 16px;
color: #666666;
line-height: 20px;
position: absolute;
top: 45%;
left: 50%;
transform: translate(-50%, -50%);
}
.explain {
width: 486px;
background: #f4f6fc;
......
......@@ -16,20 +16,20 @@ export default {
},
data() {
return {
activeName: 1,
activeName: '1',
currentComponent: 'saasOrder',
tabPaneList: [
{
label: '1.1',
name: 1
name: '1'
},
{
label: '1.3',
name: 2
name: '2'
},
{
label: '2.1',
name: 3
name: '3'
}
]
}
......
......@@ -206,7 +206,6 @@ export default {
{
label: '尾款',
format: data => {
console.log(data)
return data.crowdFundingPrice + ' * ' + data.orderGoods[0].goodsNumber
}
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!