Commit ed43ee12 by ext.wangyuman1

Merge branch 'vue3-master' of https://e.coding.net/linkwechat/linkwechat-front/l…

…inkwechat into bs-dev-wangyuman
2 parents 81d36165 eb6b80db
Showing 85 changed files with 265 additions and 247 deletions
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
"crypto-js": "^4.1.1", "crypto-js": "^4.1.1",
"driver.js": "^0.9.8", "driver.js": "^0.9.8",
"echarts": "^5.4.2", "echarts": "^5.4.2",
"element-plus": "^2.3.6", "element-plus": "^2.3.7",
"fabric": "^5.3.0", "fabric": "^5.3.0",
"file-saver": "^2.0.5", "file-saver": "^2.0.5",
"fuse.js": "^6.6.2", "fuse.js": "^6.6.2",
......
...@@ -32,20 +32,29 @@ ...@@ -32,20 +32,29 @@
--top-nav-heght: 64px; /* 顶部导航条高度 */ --top-nav-heght: 64px; /* 顶部导航条高度 */
--font-black: #1d2129; /* 通用字体黑色 */ --font-black: #1d2129; /* 通用字体黑色 */
--black-: #000; --font-black-2: rgba(0, 0, 0, 0.8); /* #333*/
--black-d2: rgba(0, 0, 0, 0.2); /* 黑色 #ddd*/ --font-black-3: rgba(0, 0, 0, 0.7); /* #444*/
--black-d3: rgba(0, 0, 0, 0.3); /* 黑色 #ccc*/ --font-black-4: rgba(0, 0, 0, 0.6); /* #666 */
--black-d4: rgba(0, 0, 0, 0.4); /* 黑色 #aaa*/ --font-black-5: rgba(0, 0, 0, 0.5); /* #777*/
--black-d5: rgba(0, 0, 0, 0.5); /* 黑色 */ --font-black-6: rgba(0, 0, 0, 0.4); /* #999*/
--black-d6: rgba(0, 0, 0, 0.6); /* 黑色 */ --font-black-7: rgba(0, 0, 0, 0.3); /* #ababab #aaa*/
--black-d7: rgba(0, 0, 0, 0.7); /* 黑色 */ --font-black-8: rgba(0, 0, 0, 0.2); /* #c4c4c4 #ccc*/
--black-d8: rgba(0, 0, 0, 0.8); /* 黑色 */ --font-black-9: rgba(0, 0, 0, 0.1); /* #dcdcdc #ddd*/
--black-d9: rgba(0, 0, 0, 0.9); /* 黑色 */
--font-white: #fff; /* 通用字体白色 */ --font-white: #fff; /* 通用字体白色 */
/* 背景色,暗黑模式下为黑色 */ /* 背景色,暗黑模式下为黑色 */
--bg-white: #fff; --bg-white: #fff;
--bg-black: #000; /* 通用背景黑色 */
--bg-black-2: rgba(0, 0, 0, 0.8); /* #333*/
--bg-black-3: rgba(0, 0, 0, 0.7); /* #444*/
--bg-black-4: rgba(0, 0, 0, 0.6); /* #666 */
--bg-black-5: rgba(0, 0, 0, 0.5); /* #777*/
--bg-black-6: rgba(0, 0, 0, 0.4); /* #999*/
--bg-black-7: rgba(0, 0, 0, 0.3); /* #ababab #aaa*/
--bg-black-8: rgba(0, 0, 0, 0.2); /* #c4c4c4 #ccc*/
--bg-black-9: rgba(0, 0, 0, 0.1); /* #dcdcdc #ddd*/
} }
/* 暗黑模式 */ /* 暗黑模式 */
......
...@@ -120,7 +120,7 @@ export default { ...@@ -120,7 +120,7 @@ export default {
line-height: 1.15; line-height: 1.15;
} }
.el-icon-warning { .el-icon-warning {
color: #999; color: var(--font-black-6);
} }
.icon-arrow { .icon-arrow {
position: absolute; position: absolute;
......
...@@ -86,11 +86,11 @@ export default { ...@@ -86,11 +86,11 @@ export default {
</a> </a>
<div v-else-if="message.msgType === 'voice'"> <div v-else-if="message.msgType === 'voice'">
<voice :amrUrl="JSON.parse(message.contact)['attachment']"></voice> <voice :amrUrl="JSON.parse(message.contact)['attachment']"></voice>
<span style="font-size: 12px; color: #999">语音消息</span> <span style="font-size: 12px; color: var(--font-black-6)">语音消息</span>
</div> </div>
<div v-else-if="message.msgType === 'meeting_voice_call'"> <div v-else-if="message.msgType === 'meeting_voice_call'">
<voice :amrUrl="JSON.parse(message.contact)['attachment']"></voice> <voice :amrUrl="JSON.parse(message.contact)['attachment']"></voice>
<span style="font-size: 12px; color: #999" v-if="JSON.parse(message.contact)['endtime']"> <span style="font-size: 12px; color: var(--font-black-6)" v-if="JSON.parse(message.contact)['endtime']">
语音通话-结束时间:{{ setDate(JSON.parse(message.contact)['endtime']) }} 语音通话-结束时间:{{ setDate(JSON.parse(message.contact)['endtime']) }}
</span> </span>
</div> </div>
...@@ -177,7 +177,7 @@ export default { ...@@ -177,7 +177,7 @@ export default {
.message { .message {
@extend .mes; @extend .mes;
color: #333; color: var(--font-black);
margin-left: 10px; margin-left: 10px;
background: var(--bg-white); background: var(--bg-white);
border-top-left-radius: 0; border-top-left-radius: 0;
...@@ -229,7 +229,7 @@ export default { ...@@ -229,7 +229,7 @@ export default {
padding: 10px; padding: 10px;
line-height: 1.5; line-height: 1.5;
// text-indent: 10px; // text-indent: 10px;
color: #333; color: var(--font-black);
z-index: -1; z-index: -1;
.card--link-title { .card--link-title {
font-size: 15px; font-size: 15px;
...@@ -247,7 +247,7 @@ export default { ...@@ -247,7 +247,7 @@ export default {
} }
.card--link-desc { .card--link-desc {
font-size: 13px; font-size: 13px;
color: #666; color: var(--font-black-4);
text-overflow: -o-ellipsis-lastline; text-overflow: -o-ellipsis-lastline;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
...@@ -263,7 +263,7 @@ export default { ...@@ -263,7 +263,7 @@ export default {
border-top: 1px solid #efefef; border-top: 1px solid #efefef;
text-align: left; text-align: left;
padding: 10px; padding: 10px;
color: #333; color: var(--font-black);
font-weight: bold; font-weight: bold;
width: 100%; width: 100%;
} }
......
...@@ -242,7 +242,7 @@ export default { ...@@ -242,7 +242,7 @@ export default {
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
.title-name { .title-name {
color: rgba(0, 0, 0, 0.9); color: var(--font-black);
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
// color: #333333; // color: #333333;
...@@ -308,7 +308,7 @@ export default { ...@@ -308,7 +308,7 @@ export default {
} }
} }
&:hover { &:hover {
color: rgba(0, 0, 0, 0.9); color: var(--font-black);
background: #f5f8fe; background: #f5f8fe;
opacity: 0.8; opacity: 0.8;
border-radius: 2px; border-radius: 2px;
...@@ -320,7 +320,7 @@ export default { ...@@ -320,7 +320,7 @@ export default {
.active { .active {
// border-left: 2px solid var(--color); // border-left: 2px solid var(--color);
color: rgba(0, 0, 0, 0.9); color: var(--font-black);
background: #f5f8fe; background: #f5f8fe;
border-radius: 2px; border-radius: 2px;
} }
...@@ -369,7 +369,7 @@ export default { ...@@ -369,7 +369,7 @@ export default {
// } // }
.sub-des { .sub-des {
// color: #aaa; // color: var(--font-black-7);
color: var(--color); color: var(--color);
font-size: 12px; font-size: 12px;
} }
......
...@@ -462,7 +462,7 @@ export default { ...@@ -462,7 +462,7 @@ export default {
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
font-weight: bold; font-weight: bold;
color: #aaa; color: var(--font-black-7);
font-size: 12px; font-size: 12px;
} }
.imgsize { .imgsize {
......
...@@ -201,7 +201,7 @@ export default { ...@@ -201,7 +201,7 @@ export default {
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
font-weight: bold; font-weight: bold;
color: #aaa; color: var(--font-black-7);
font-size: 12px; font-size: 12px;
} }
.imgsize { .imgsize {
......
...@@ -383,7 +383,7 @@ export default { ...@@ -383,7 +383,7 @@ export default {
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
font-weight: bold; font-weight: bold;
color: #aaa; color: var(--font-black-7);
font-size: 12px; font-size: 12px;
} }
.imgsize { .imgsize {
......
...@@ -13,7 +13,9 @@ ...@@ -13,7 +13,9 @@
<el-alert type="warning" show-icon v-if="type === '11'"> <el-alert type="warning" show-icon v-if="type === '11'">
<template #title> <template #title>
<div style="display: flex"> <div style="display: flex">
<div style="color: #333">小程序必须已经绑定关联到企业微信,否则将无法在欢迎语、群发、话术中正常发送。</div> <div style="color: var(--font-black)">
小程序必须已经绑定关联到企业微信,否则将无法在欢迎语、群发、话术中正常发送。
</div>
<a href="https://www.yuque.com/linkwechat/help/gy4ghv" target="_blank" style="color: var(--color)"> <a href="https://www.yuque.com/linkwechat/help/gy4ghv" target="_blank" style="color: var(--color)">
如何关联绑定? 如何关联绑定?
</a> </a>
...@@ -564,7 +566,7 @@ export default { ...@@ -564,7 +566,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.tip { .tip {
color: #999; color: var(--font-black-6);
font-size: 12px; font-size: 12px;
} }
::v-deep .ql-editor { ::v-deep .ql-editor {
......
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.time { .time {
font-size: 12px; font-size: 12px;
color: #aaa; color: var(--font-black-7);
padding: 10px 0 5px; padding: 10px 0 5px;
text-align: center; text-align: center;
} }
......
...@@ -130,7 +130,7 @@ export default { ...@@ -130,7 +130,7 @@ export default {
.bottom { .bottom {
padding: 15px 0 20px; padding: 15px 0 20px;
line-height: 1; line-height: 1;
color: #999; color: var(--font-black-6);
text-align: center; text-align: center;
} }
} }
......
...@@ -220,7 +220,7 @@ export default { ...@@ -220,7 +220,7 @@ export default {
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
.title-name { .title-name {
color: rgba(0, 0, 0, 0.9); color: var(--font-black);
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
// color: #333333; // color: #333333;
...@@ -286,7 +286,7 @@ export default { ...@@ -286,7 +286,7 @@ export default {
} }
} }
&:hover { &:hover {
color: rgba(0, 0, 0, 0.9); color: var(--font-black);
background: #f5f8fe; background: #f5f8fe;
opacity: 0.8; opacity: 0.8;
border-radius: 2px; border-radius: 2px;
...@@ -298,7 +298,7 @@ export default { ...@@ -298,7 +298,7 @@ export default {
.active { .active {
// border-left: 2px solid var(--color); // border-left: 2px solid var(--color);
color: rgba(0, 0, 0, 0.9); color: var(--font-black);
background: #f5f8fe; background: #f5f8fe;
border-radius: 2px; border-radius: 2px;
} }
......
...@@ -263,7 +263,7 @@ export default { ...@@ -263,7 +263,7 @@ export default {
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
.title-name { .title-name {
color: rgba(0, 0, 0, 0.9); color: var(--font-black);
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
// color: #333333; // color: #333333;
...@@ -329,7 +329,7 @@ export default { ...@@ -329,7 +329,7 @@ export default {
} }
} }
&:hover { &:hover {
color: rgba(0, 0, 0, 0.9); color: var(--font-black);
background: #f5f8fe; background: #f5f8fe;
opacity: 0.8; opacity: 0.8;
border-radius: 2px; border-radius: 2px;
...@@ -341,7 +341,7 @@ export default { ...@@ -341,7 +341,7 @@ export default {
.active { .active {
// border-left: 2px solid var(--color); // border-left: 2px solid var(--color);
color: rgba(0, 0, 0, 0.9); color: var(--font-black);
background: #f5f8fe; background: #f5f8fe;
border-radius: 2px; border-radius: 2px;
} }
......
...@@ -728,7 +728,7 @@ export default { ...@@ -728,7 +728,7 @@ export default {
} }
.tip { .tip {
margin-top: 10px; margin-top: 10px;
color: #aaa; color: var(--font-black-7);
font-size: 12px; font-size: 12px;
} }
.img-item { .img-item {
......
...@@ -120,7 +120,7 @@ export default { ...@@ -120,7 +120,7 @@ export default {
margin-left: 20px; margin-left: 20px;
.no-redirect { .no-redirect {
color: #999; color: var(--font-black-6);
cursor: text; cursor: text;
} }
} }
......
...@@ -261,7 +261,7 @@ export default { ...@@ -261,7 +261,7 @@ export default {
border-radius: 4px; border-radius: 4px;
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #333; color: var(--font-black);
box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, 0.3); box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, 0.3);
li { li {
margin: 0; margin: 0;
......
...@@ -72,7 +72,7 @@ export default { ...@@ -72,7 +72,7 @@ export default {
} }
.el-icon-s-operation { .el-icon-s-operation {
color: #333; color: var(--font-black);
font-size: 20px; font-size: 20px;
} }
} }
......
...@@ -77,7 +77,7 @@ export default { ...@@ -77,7 +77,7 @@ export default {
.login-nav--wrap { .login-nav--wrap {
.nav-li { .nav-li {
color: #aaa; color: var(--font-black-7);
margin-left: 20px; margin-left: 20px;
} }
} }
......
...@@ -150,7 +150,7 @@ div:focus { ...@@ -150,7 +150,7 @@ div:focus {
font-weight: 400; font-weight: 400;
margin: 0 5px; margin: 0 5px;
font-size: 12px; font-size: 12px;
color: #999; color: var(--font-black-6);
} }
// & + .g-card { // & + .g-card {
// border-radius: 0 0 var(--border-radius-big) var(--border-radius-big); // border-radius: 0 0 var(--border-radius-big) var(--border-radius-big);
...@@ -219,7 +219,7 @@ div:focus { ...@@ -219,7 +219,7 @@ div:focus {
} }
&tip-color { &tip-color {
color: #999; color: var(--font-black-6);
} }
// 粘性底部 // 粘性底部
&footer-sticky { &footer-sticky {
...@@ -251,7 +251,7 @@ div:focus { ...@@ -251,7 +251,7 @@ div:focus {
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
.title-name { .title-name {
color: rgba(0, 0, 0, 0.9); color: var(--font-black);
font-size: 14px; font-size: 14px;
font-weight: 600; font-weight: 600;
// color: #333333; // color: #333333;
...@@ -315,7 +315,7 @@ div:focus { ...@@ -315,7 +315,7 @@ div:focus {
} }
} }
&:hover { &:hover {
color: rgba(0, 0, 0, 0.9); color: var(--font-black);
background: #f5f8fe; background: #f5f8fe;
opacity: 0.8; opacity: 0.8;
border-radius: 2px; border-radius: 2px;
...@@ -327,7 +327,7 @@ div:focus { ...@@ -327,7 +327,7 @@ div:focus {
.active { .active {
// border-left: 2px solid #3c88f0; // border-left: 2px solid #3c88f0;
color: rgba(0, 0, 0, 0.9); color: var(--font-black);
background: #f5f8fe; background: #f5f8fe;
border-radius: 2px; border-radius: 2px;
} }
......
...@@ -138,7 +138,7 @@ export default { ...@@ -138,7 +138,7 @@ export default {
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
.title-name { .title-name {
color: rgba(0, 0, 0, 0.9); color: var(--font-black);
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
// color: #333333; // color: #333333;
...@@ -204,7 +204,7 @@ export default { ...@@ -204,7 +204,7 @@ export default {
} }
} }
&:hover { &:hover {
color: rgba(0, 0, 0, 0.9); color: var(--font-black);
background: #f5f8fe; background: #f5f8fe;
opacity: 0.8; opacity: 0.8;
border-radius: 2px; border-radius: 2px;
...@@ -216,7 +216,7 @@ export default { ...@@ -216,7 +216,7 @@ export default {
.active { .active {
// border-left: 2px solid var(--color); // border-left: 2px solid var(--color);
color: rgba(0, 0, 0, 0.9); color: var(--font-black);
background: #f5f8fe; background: #f5f8fe;
border-radius: 2px; border-radius: 2px;
} }
......
...@@ -334,7 +334,7 @@ export default { ...@@ -334,7 +334,7 @@ export default {
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
font-weight: bold; font-weight: bold;
color: #aaa; color: var(--font-black-7);
font-size: 12px; font-size: 12px;
} }
.imgsize { .imgsize {
......
...@@ -260,7 +260,7 @@ export default { ...@@ -260,7 +260,7 @@ export default {
</template> </template>
<style lang="scss" scoped> <style lang="scss" scoped>
.tip { .tip {
color: #aaa; color: var(--font-black-7);
font-size: 12px; font-size: 12px;
line-height: 20px; line-height: 20px;
} }
......
...@@ -388,7 +388,7 @@ export default { ...@@ -388,7 +388,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.el-icon-s-custom { .el-icon-s-custom {
font-size: 16px; font-size: 16px;
color: #999; color: var(--font-black-6);
&.man { &.man {
color: #13a2e8; color: #13a2e8;
} }
...@@ -397,7 +397,7 @@ export default { ...@@ -397,7 +397,7 @@ export default {
} }
} }
.tip { .tip {
color: #aaa; color: var(--font-black-7);
font-size: 12px; font-size: 12px;
line-height: 20px; line-height: 20px;
} }
......
...@@ -162,7 +162,7 @@ export default { ...@@ -162,7 +162,7 @@ export default {
line-height: 26px; line-height: 26px;
} }
.tip { .tip {
color: #999; color: var(--font-black-6);
} }
.welcome-input { .welcome-input {
display: table; display: table;
......
...@@ -260,7 +260,7 @@ export default { ...@@ -260,7 +260,7 @@ export default {
line-height: 26px; line-height: 26px;
} }
.tip { .tip {
color: #999; color: var(--font-black-6);
} }
.welcome-input { .welcome-input {
display: table; display: table;
......
...@@ -548,7 +548,7 @@ export default { ...@@ -548,7 +548,7 @@ export default {
} }
.title { .title {
font-size: 16px; font-size: 16px;
color: #333; color: var(--font-black);
font-weight: 600; font-weight: 600;
max-width: 500px; max-width: 500px;
word-break: break-all; word-break: break-all;
......
...@@ -139,7 +139,7 @@ export default { ...@@ -139,7 +139,7 @@ export default {
.content { .content {
width: 95%; width: 95%;
overflow: hidden; overflow: hidden;
color: #aaa; color: var(--font-black-7);
font-size: 13px; font-size: 13px;
.name { .name {
margin-right: 6px; margin-right: 6px;
......
...@@ -262,7 +262,7 @@ export default { ...@@ -262,7 +262,7 @@ export default {
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
font-weight: bold; font-weight: bold;
color: #aaa; color: var(--font-black-7);
font-size: 12px; font-size: 12px;
} }
.imgsize { .imgsize {
......
...@@ -652,7 +652,9 @@ export default { ...@@ -652,7 +652,9 @@ export default {
<el-alert type="warning" show-icon v-if="type === '11'"> <el-alert type="warning" show-icon v-if="type === '11'">
<template #title> <template #title>
<div style="display: flex"> <div style="display: flex">
<div style="color: #333">小程序必须已经绑定关联到企业微信,否则将无法在欢迎语、群发、话术中正常发送。</div> <div style="color: var(--font-black)">
小程序必须已经绑定关联到企业微信,否则将无法在欢迎语、群发、话术中正常发送。
</div>
<a href="https://www.yuque.com/linkwechat/help/gy4ghv" target="_blank" style="color: var(--color)"> <a href="https://www.yuque.com/linkwechat/help/gy4ghv" target="_blank" style="color: var(--color)">
如何关联绑定? 如何关联绑定?
</a> </a>
...@@ -920,7 +922,7 @@ export default { ...@@ -920,7 +922,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.tip { .tip {
color: #999; color: var(--font-black-6);
font-size: 12px; font-size: 12px;
} }
...@@ -958,7 +960,7 @@ export default { ...@@ -958,7 +960,7 @@ export default {
} }
.sub-des { .sub-des {
// color: #aaa; // color: var(--font-black-7);
color: var(--color); color: var(--color);
font-size: 12px; font-size: 12px;
} }
......
...@@ -195,7 +195,7 @@ export default { ...@@ -195,7 +195,7 @@ export default {
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
font-weight: bold; font-weight: bold;
color: #aaa; color: var(--font-black-7);
font-size: 12px; font-size: 12px;
} }
.imgsize { .imgsize {
......
...@@ -544,7 +544,7 @@ export default { ...@@ -544,7 +544,7 @@ export default {
} }
.sub-des { .sub-des {
// color: #aaa; // color: var(--font-black-7);
color: var(--color); color: var(--color);
font-size: 12px; font-size: 12px;
} }
......
...@@ -435,7 +435,7 @@ export default { ...@@ -435,7 +435,7 @@ export default {
margin: 30px auto; margin: 30px auto;
text-align: center; text-align: center;
.tips { .tips {
color: #aaa; color: var(--font-black-7);
font-size: 12px; font-size: 12px;
line-height: 60px; line-height: 60px;
} }
......
...@@ -41,7 +41,7 @@ export default { ...@@ -41,7 +41,7 @@ export default {
margin: 20px 0; margin: 20px 0;
} }
.content { .content {
color: #333; color: var(--font-black);
font-size: 12px; font-size: 12px;
line-height: 16px; line-height: 16px;
} }
......
...@@ -102,7 +102,7 @@ export default { ...@@ -102,7 +102,7 @@ export default {
} }
.title { .title {
font-size: 16px; font-size: 16px;
color: #333; color: var(--font-black);
font-weight: 600; font-weight: 600;
} }
.data-content { .data-content {
......
...@@ -638,7 +638,7 @@ export default { ...@@ -638,7 +638,7 @@ export default {
} }
.title { .title {
font-size: 16px; font-size: 16px;
color: #333; color: var(--font-black);
font-weight: 600; font-weight: 600;
max-width: 500px; max-width: 500px;
word-break: break-all; word-break: break-all;
......
...@@ -214,7 +214,7 @@ export default { ...@@ -214,7 +214,7 @@ export default {
background: white; background: white;
overflow-y: scroll; overflow-y: scroll;
border-bottom: 1px solid #efefef; border-bottom: 1px solid #efefef;
color: #999; color: var(--font-black-6);
text-align: center; text-align: center;
::-webkit-scrollbar { ::-webkit-scrollbar {
......
...@@ -94,7 +94,7 @@ export default { ...@@ -94,7 +94,7 @@ export default {
} }
.gray { .gray {
color: #999; color: var(--font-black-6);
} }
.padt10 { .padt10 {
padding-top: 10px; padding-top: 10px;
......
...@@ -59,7 +59,7 @@ export default { ...@@ -59,7 +59,7 @@ export default {
} }
.gray { .gray {
color: #999; color: var(--font-black-6);
} }
.list { .list {
padding: 10px; padding: 10px;
......
...@@ -244,7 +244,7 @@ export default { ...@@ -244,7 +244,7 @@ export default {
height: calc(100vh - 320px); height: calc(100vh - 320px);
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
color: #999; color: var(--font-black-6);
text-align: center; text-align: center;
.customer-li { .customer-li {
padding: 10px; padding: 10px;
...@@ -269,7 +269,7 @@ export default { ...@@ -269,7 +269,7 @@ export default {
.el-icon-Avatar { .el-icon-Avatar {
font-size: 16px; font-size: 16px;
margin-left: 4px; margin-left: 4px;
color: #999; color: var(--font-black-6);
&.man { &.man {
color: #13a2e8; color: #13a2e8;
} }
......
...@@ -210,7 +210,7 @@ export default { ...@@ -210,7 +210,7 @@ export default {
background: white; background: white;
overflow-y: scroll; overflow-y: scroll;
border-bottom: 1px solid #efefef; border-bottom: 1px solid #efefef;
color: #999; color: var(--font-black-6);
text-align: center; text-align: center;
::-webkit-scrollbar { ::-webkit-scrollbar {
......
...@@ -285,13 +285,13 @@ export default { ...@@ -285,13 +285,13 @@ export default {
} }
.prompt-title { .prompt-title {
margin-left: 10px; margin-left: 10px;
color: #999; color: var(--font-black-6);
} }
.tag-place { .tag-place {
color: var(--color); color: var(--color);
} }
.sub-title { .sub-title {
font-size: 13px; font-size: 13px;
color: #999; color: var(--font-black-6);
} }
</style> </style>
...@@ -654,7 +654,7 @@ export default { ...@@ -654,7 +654,7 @@ export default {
.el-icon-Avatar { .el-icon-Avatar {
font-size: 16px; font-size: 16px;
// margin-left: 4px; // margin-left: 4px;
color: #999; color: var(--font-black-6);
&.man { &.man {
color: #13a2e8; color: #13a2e8;
} }
......
...@@ -124,7 +124,7 @@ export default { ...@@ -124,7 +124,7 @@ export default {
.title { .title {
font-weight: 700; font-weight: 700;
font-size: 12px; font-size: 12px;
color: #333; color: var(--font-black);
line-height: 18px; line-height: 18px;
width: 100%; width: 100%;
white-space: nowrap; white-space: nowrap;
......
...@@ -496,7 +496,7 @@ export default { ...@@ -496,7 +496,7 @@ export default {
.el-col { .el-col {
box-shadow: 0px 1px 0px 0px #f1f1f1; box-shadow: 0px 1px 0px 0px #f1f1f1;
&:first-child { &:first-child {
color: #999; color: var(--font-black-6);
} }
} }
&::before { &::before {
......
...@@ -186,7 +186,7 @@ export default { ...@@ -186,7 +186,7 @@ export default {
.info-wrap { .info-wrap {
margin-left: 20px; margin-left: 20px;
.info { .info {
color: #aaa; color: var(--font-black-7);
line-height: 32px; line-height: 32px;
} }
} }
...@@ -194,7 +194,7 @@ export default { ...@@ -194,7 +194,7 @@ export default {
.el-icon-s-custom { .el-icon-s-custom {
font-size: 16px; font-size: 16px;
margin-left: 4px; margin-left: 4px;
color: #999; color: var(--font-black-6);
&.man { &.man {
color: #13a2e8; color: #13a2e8;
} }
......
...@@ -234,17 +234,17 @@ export default { ...@@ -234,17 +234,17 @@ export default {
.info-wrap { .info-wrap {
margin-left: 20px; margin-left: 20px;
.info { .info {
color: #666; color: var(--font-black-4);
} }
} }
.overview { .overview {
justify-content: space-around; justify-content: space-around;
line-height: 30px; line-height: 30px;
.key { .key {
color: #999; color: var(--font-black-6);
} }
.value { .value {
color: #333; color: var(--font-black);
font-weight: 600; font-weight: 600;
font-size: 16px; font-size: 16px;
} }
......
...@@ -316,7 +316,7 @@ export default { ...@@ -316,7 +316,7 @@ export default {
.el-icon-s-custom { .el-icon-s-custom {
font-size: 16px; font-size: 16px;
margin-left: 4px; margin-left: 4px;
color: #999; color: var(--font-black-6);
&.man { &.man {
color: #13a2e8; color: #13a2e8;
} }
......
...@@ -205,7 +205,7 @@ export default { ...@@ -205,7 +205,7 @@ export default {
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
font-weight: bold; font-weight: bold;
color: #aaa; color: var(--font-black-7);
font-size: 12px; font-size: 12px;
} }
.imgsize { .imgsize {
......
...@@ -251,7 +251,7 @@ export default { ...@@ -251,7 +251,7 @@ export default {
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
.title-name { .title-name {
color: rgba(0, 0, 0, 0.9); color: var(--font-black);
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
// color: #333333; // color: #333333;
...@@ -317,7 +317,7 @@ export default { ...@@ -317,7 +317,7 @@ export default {
} }
} }
&:hover { &:hover {
color: rgba(0, 0, 0, 0.9); color: var(--font-black);
background: #f5f8fe; background: #f5f8fe;
opacity: 0.8; opacity: 0.8;
border-radius: 2px; border-radius: 2px;
...@@ -329,7 +329,7 @@ export default { ...@@ -329,7 +329,7 @@ export default {
.active { .active {
// border-left: 2px solid var(--color); // border-left: 2px solid var(--color);
color: rgba(0, 0, 0, 0.9); color: var(--font-black);
background: #f5f8fe; background: #f5f8fe;
border-radius: 2px; border-radius: 2px;
} }
...@@ -378,7 +378,7 @@ export default { ...@@ -378,7 +378,7 @@ export default {
// } // }
.sub-des { .sub-des {
// color: #aaa; // color: var(--font-black-7);
color: var(--color); color: var(--color);
font-size: 12px; font-size: 12px;
} }
......
...@@ -396,7 +396,7 @@ export default { ...@@ -396,7 +396,7 @@ export default {
} }
} }
.tip { .tip {
color: #aaa; color: var(--font-black-7);
font-size: 12px; font-size: 12px;
} }
.green-text { .green-text {
......
...@@ -350,7 +350,7 @@ export default { ...@@ -350,7 +350,7 @@ export default {
font-size: 10px; font-size: 10px;
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
color: #aaa; color: var(--font-black-7);
} }
::v-deep .image-uploader { ::v-deep .image-uploader {
.uploader-icon { .uploader-icon {
......
...@@ -259,7 +259,7 @@ export default { ...@@ -259,7 +259,7 @@ export default {
margin: 30px auto; margin: 30px auto;
text-align: center; text-align: center;
.tips { .tips {
color: #aaa; color: var(--font-black-7);
font-size: 12px; font-size: 12px;
line-height: 60px; line-height: 60px;
} }
......
...@@ -648,7 +648,7 @@ export default { ...@@ -648,7 +648,7 @@ export default {
} }
this.pageDataAll = JSON.parse(data.styles) this.pageDataAll = JSON.parse(data.styles)
} }
this.baseFormUrl4 = window.lwConfig.DOMAIN + '/#/formsDetail?id=true&formId=' + this.formId this.baseFormUrl4 = window.lwConfig.DOMAIN + '/formsDetail?id=true&formId=' + this.formId
this.creatQrCode() this.creatQrCode()
// this.$forceUpdate() // this.$forceUpdate()
...@@ -735,7 +735,7 @@ export default { ...@@ -735,7 +735,7 @@ export default {
// } // }
var qrcode = QRCode.toDataURL( var qrcode = QRCode.toDataURL(
this.$refs.qrCodeUrl, this.$refs.qrCodeUrl,
window.lwConfig.DOMAIN + '/#/formsDetail?id=q&formId=' + that.formId, // 需要转换为二维码的内容 window.lwConfig.DOMAIN + '/formsDetail?id=q&formId=' + that.formId, // 需要转换为二维码的内容
{ {
width: 150, width: 150,
margin: 4, margin: 4,
...@@ -1517,7 +1517,7 @@ export default { ...@@ -1517,7 +1517,7 @@ export default {
height: 90px; // line-height: 90px; height: 90px; // line-height: 90px;
font-size: 18px; font-size: 18px;
font-weight: 500; font-weight: 500;
color: #333; color: var(--font-black);
padding: 0 20px; padding: 0 20px;
background: var(--bg-white); background: var(--bg-white);
border-top-left-radius: 4px; border-top-left-radius: 4px;
...@@ -1543,7 +1543,7 @@ export default { ...@@ -1543,7 +1543,7 @@ export default {
} }
.tip { .tip {
color: #999; color: var(--font-black-6);
} }
.welcome-input { .welcome-input {
......
...@@ -61,13 +61,7 @@ const layouts = { ...@@ -61,13 +61,7 @@ const layouts = {
: '' : ''
}></div> }></div>
<div class={element.formCodeId == '1' && !element.src ? 'nullC' : ''}> <div class={element.formCodeId == '1' && !element.src ? 'nullC' : ''}>
<render <render key={element.renderKey} conf={element} />
key={element.renderKey}
conf={element}
onInput={(event) => {
element.defaultValue = event
}}
/>
</div> </div>
</div> </div>
<div class={element.formCodeId == 4 ? 'elementInputNum' : 'nullC'}> <div class={element.formCodeId == 4 ? 'elementInputNum' : 'nullC'}>
...@@ -259,7 +253,7 @@ $selectedColor: #f6f7ff; ...@@ -259,7 +253,7 @@ $selectedColor: #f6f7ff;
} }
} }
::v-deep .no-image { ::v-deep .no-image {
color: #666; color: var(--font-black-4);
line-height: 80px; line-height: 80px;
} }
.el-image { .el-image {
......
...@@ -398,9 +398,9 @@ ...@@ -398,9 +398,9 @@
" "
label="选项尺寸"> label="选项尺寸">
<el-radio-group v-model="activeData.size"> <el-radio-group v-model="activeData.size">
<el-radio-button label="medium">中等</el-radio-button> <el-radio-button label="large">较大</el-radio-button>
<el-radio-button label="default">中等</el-radio-button>
<el-radio-button label="small">较小</el-radio-button> <el-radio-button label="small">较小</el-radio-button>
<el-radio-button label="mini">迷你</el-radio-button>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
<!-- <el-form-item v-if="activeData['show-word-limit'] !== undefined" label="输入统计"> <!-- <el-form-item v-if="activeData['show-word-limit'] !== undefined" label="输入统计">
...@@ -495,9 +495,9 @@ ...@@ -495,9 +495,9 @@
</el-form-item> </el-form-item>
<el-form-item label="表单尺寸"> <el-form-item label="表单尺寸">
<el-radio-group v-model="formConf.size"> <el-radio-group v-model="formConf.size">
<el-radio-button label="medium">中等</el-radio-button> <el-radio-button label="large">较大</el-radio-button>
<el-radio-button label="default">中等</el-radio-button>
<el-radio-button label="small">较小</el-radio-button> <el-radio-button label="small">较小</el-radio-button>
<el-radio-button label="mini">迷你</el-radio-button>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
<el-form-item label="标签对齐"> <el-form-item label="标签对齐">
...@@ -537,7 +537,11 @@ import TreeNodeDialog from './TreeNodeDialog' ...@@ -537,7 +537,11 @@ import TreeNodeDialog from './TreeNodeDialog'
import { isNumberStr } from '@/utils/index' import { isNumberStr } from '@/utils/index'
import IconsDialog from './IconsDialog' import IconsDialog from './IconsDialog'
import draggable from 'vuedraggable' import draggable from 'vuedraggable'
import { inputComponents, selectComponents, layoutComponents } from './generator/config' import {
inputComponents,
// selectComponents,
layoutComponents,
} from './generator/config'
const dateTimeFormat = { const dateTimeFormat = {
date: 'YYYY-MM-DD', date: 'YYYY-MM-DD',
...@@ -652,8 +656,7 @@ export default { ...@@ -652,8 +656,7 @@ export default {
watch: { watch: {
'activeData.maxZ': { 'activeData.maxZ': {
handler: function (neww, oldd) { handler: function (neww, oldd) {
console.log('activeData', this.activeData.options) if (this.activeData.options?.length > neww) {
if (this.activeData.options.length > neww) {
if (neww > this.activeData.max) { if (neww > this.activeData.max) {
this.activeData.max = neww this.activeData.max = neww
} else { } else {
...@@ -697,18 +700,18 @@ export default { ...@@ -697,18 +700,18 @@ export default {
} }
return [] return []
}, },
tagList() { // tagList() {
return [ // return [
{ // {
label: '输入型组件', // label: '输入型组件',
options: inputComponents, // options: inputComponents,
}, // },
{ // {
label: '选择型组件', // label: '选择型组件',
options: selectComponents, // options: selectComponents,
}, // },
] // ]
}, // },
}, },
methods: { methods: {
numberChange(val, max) { numberChange(val, max) {
...@@ -924,7 +927,7 @@ export default { ...@@ -924,7 +927,7 @@ export default {
line-height: 32px; line-height: 32px;
font-size: 22px; font-size: 22px;
padding: 0 4px; padding: 0 4px;
color: #777; color: var(--font-black-5);
} }
.option-drag { .option-drag {
cursor: move; cursor: move;
......
<template> <template>
<div :style="Ifcontainer ? '' : 'background:#666;display: flex;justify-content: center;height: 100%;padding: 30px;'"> <div
:style="
Ifcontainer
? 'height: 100%;'
: 'background:#666;display: flex;justify-content: center;height: 100%;padding: 30px;'
">
<div <div
:class="Ifcontainer ? 'container' : 'container containerPC'" :class="Ifcontainer ? 'container' : 'container containerPC'"
data-title="调查问卷" data-title="调查问卷"
......
...@@ -46,9 +46,9 @@ function vModel(self, dataObject, defaultValue) { ...@@ -46,9 +46,9 @@ function vModel(self, dataObject, defaultValue) {
// } // }
// console.log('dataObject.props', dataObject.props) // console.log('dataObject.props', dataObject.props)
dataObject['model-value'] = defaultValue dataObject['modelValue'] = self.conf.defaultValue
dataObject.onInput = (val) => { dataObject['onUpdate:modelValue'] = (val) => {
self.$emit('input', val) self.conf.defaultValue = val
} }
} }
...@@ -165,6 +165,13 @@ export default { ...@@ -165,6 +165,13 @@ export default {
} }
Object.assign(dataObject, confClone) Object.assign(dataObject, confClone)
for (const key in dataObject._props) {
if (Object.hasOwnProperty.call(dataObject._props, key)) {
dataObject[key] = dataObject._props[key];
}
}
delete dataObject._props
// Object.keys(confClone).forEach((key) => { // Object.keys(confClone).forEach((key) => {
// const val = confClone[key] // const val = confClone[key]
// if (key === 'style') { // if (key === 'style') {
......
...@@ -708,7 +708,7 @@ $selectedColor: #f6f7ff; ...@@ -708,7 +708,7 @@ $selectedColor: #f6f7ff;
color: #222; color: #222;
margin: 6px 2px; margin: 6px 2px;
.svg-icon { .svg-icon {
color: #666; color: var(--font-black-4);
font-size: 18px; font-size: 18px;
} }
} }
...@@ -721,7 +721,7 @@ $selectedColor: #f6f7ff; ...@@ -721,7 +721,7 @@ $selectedColor: #f6f7ff;
border: 1px dashed $selectedColor; border: 1px dashed $selectedColor;
border-radius: 3px; border-radius: 3px;
.svg-icon { .svg-icon {
color: #777; color: var(--font-black-5);
font-size: 15px; font-size: 15px;
} }
&:hover { &:hover {
......
...@@ -98,7 +98,7 @@ export default { ...@@ -98,7 +98,7 @@ export default {
selectInfoToSurvey(this.formId).then((response) => { selectInfoToSurvey(this.formId).then((response) => {
this.loading = false this.loading = false
that.baseFormUrl4 = window.lwConfig.DOMAIN + '/#/formsDetail?id=true&formId=' + that.formId that.baseFormUrl4 = window.lwConfig.DOMAIN + '/formsDetail?id=true&formId=' + that.formId
if (response.data.channelsName) { if (response.data.channelsName) {
that.ChannelsList = response.data.channelsName.split(',') that.ChannelsList = response.data.channelsName.split(',')
that.channelsPathList = response.data.channelsPath.split(',') that.channelsPathList = response.data.channelsPath.split(',')
......
...@@ -239,7 +239,7 @@ export default { ...@@ -239,7 +239,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.title { .title {
font-size: 16px; font-size: 16px;
color: #333; color: var(--font-black);
font-weight: 600; font-weight: 600;
} }
.header_content { .header_content {
......
...@@ -235,7 +235,7 @@ export default { ...@@ -235,7 +235,7 @@ export default {
height: 90px; // line-height: 90px; height: 90px; // line-height: 90px;
font-size: 18px; font-size: 18px;
font-weight: 500; font-weight: 500;
color: #333; color: var(--font-black);
padding: 0 20px; padding: 0 20px;
background: var(--bg-white); background: var(--bg-white);
border-top-left-radius: 4px; border-top-left-radius: 4px;
......
...@@ -451,7 +451,7 @@ export default { ...@@ -451,7 +451,7 @@ export default {
} }
.avatar-uploader-icon { .avatar-uploader-icon {
font-size: 58px; font-size: 58px;
color: #ddd; color: var(--font-black-9);
} }
.img-wrap { .img-wrap {
height: 340px; height: 340px;
......
...@@ -116,7 +116,7 @@ export default { ...@@ -116,7 +116,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.tips { .tips {
color: #aaa; color: var(--font-black-7);
font-size: 12px; font-size: 12px;
} }
</style> </style>
...@@ -289,7 +289,7 @@ export default { ...@@ -289,7 +289,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.tips { .tips {
color: #aaa; color: var(--font-black-7);
font-size: 12px; font-size: 12px;
} }
</style> </style>
...@@ -168,7 +168,7 @@ export default { ...@@ -168,7 +168,7 @@ export default {
.my-title { .my-title {
} }
.tips { .tips {
color: #aaa; color: var(--font-black-7);
font-size: 12px; font-size: 12px;
} }
</style> </style>
...@@ -4,29 +4,27 @@ ...@@ -4,29 +4,27 @@
<div class="g-card"> <div class="g-card">
<div class="my-title">自建应用</div> <div class="my-title">自建应用</div>
<el-form-item label="消息应用ID:" prop="agentId"> <el-form-item label="消息应用ID:" prop="agentId">
<el-input style="width: 40%;" v-model="form.agentId" placeholder="请输入消息应用ID"></el-input> <el-input style="width: 40%" v-model="form.agentId" placeholder="请输入消息应用ID"></el-input>
<div class="tips">用于接收应用消息,在企微后台->应用工具->自建应用中配置并获取</div> <div class="tips">用于接收应用消息,在企微后台->应用工具->自建应用中配置并获取</div>
</el-form-item> </el-form-item>
<el-form-item label="消息应用Secret:" prop="agentSecret"> <el-form-item label="消息应用Secret:" prop="agentSecret">
<div> <div>
<el-input <el-input
style="width: 40%;" style="width: 40%"
:disabled="!agentSecretEditState" :disabled="!agentSecretEditState"
:type="agentSecretEditState ? 'text' : 'password'" :type="agentSecretEditState ? 'text' : 'password'"
v-model="form.agentSecret" v-model="form.agentSecret"
placeholder="请输入消息应用Secret" placeholder="请输入消息应用Secret"></el-input>
></el-input> <el-button style="margin-left: 20px" plain v-if="agentSecretEditState" @click="cancelEditAgentSecret">
<el-button style="margin-left: 20px;" plain v-if="agentSecretEditState" @click="cancelEditAgentSecret">
取消 取消
</el-button> </el-button>
<el-button type="primary" plain v-if="agentSecretEditState" @click="submitEditAgentSecret">保存</el-button> <el-button type="primary" plain v-if="agentSecretEditState" @click="submitEditAgentSecret">保存</el-button>
<el-button <el-button
type="primary" type="primary"
style="margin-left: 20px;" style="margin-left: 20px"
plain plain
v-if="!agentSecretEditState" v-if="!agentSecretEditState"
@click="editAgentSecret" @click="editAgentSecret">
>
修改 修改
</el-button> </el-button>
</div> </div>
...@@ -38,30 +36,28 @@ ...@@ -38,30 +36,28 @@
<el-form-item label="会话存档Secret:" prop="chatSecret"> <el-form-item label="会话存档Secret:" prop="chatSecret">
<div> <div>
<el-input <el-input
style="width: 40%;" style="width: 40%"
:disabled="!chatSecretEditState" :disabled="!chatSecretEditState"
:type="chatSecretEditState ? 'text' : 'password'" :type="chatSecretEditState ? 'text' : 'password'"
v-model="form.chatSecret" v-model="form.chatSecret"
placeholder="请输入会话存档Secret" placeholder="请输入会话存档Secret"></el-input>
></el-input> <el-button style="margin-left: 20px" plain v-if="chatSecretEditState" @click="cancelEditChatSecret">
<el-button style="margin-left: 20px;" plain v-if="chatSecretEditState" @click="cancelEditChatSecret">
取消 取消
</el-button> </el-button>
<el-button type="primary" plain v-if="chatSecretEditState" @click="submitEditChatSecret">保存</el-button> <el-button type="primary" plain v-if="chatSecretEditState" @click="submitEditChatSecret">保存</el-button>
<el-button <el-button
type="primary" type="primary"
style="margin-left: 20px;" style="margin-left: 20px"
plain plain
v-if="!chatSecretEditState" v-if="!chatSecretEditState"
@click="editChatSecret" @click="editChatSecret">
>
修改 修改
</el-button> </el-button>
</div> </div>
<div class="tips">用于同步企微会话,在企微后台->管理工具->会话存档中获取</div> <div class="tips">用于同步企微会话,在企微后台->管理工具->会话存档中获取</div>
</el-form-item> </el-form-item>
<el-form-item label="消息加密私钥:" prop="financePrivateKey"> <el-form-item label="消息加密私钥:" prop="financePrivateKey">
<el-input style="width: 40%;" v-model="form.financePrivateKey" placeholder="请输入消息加密私钥"></el-input> <el-input style="width: 40%" v-model="form.financePrivateKey" placeholder="请输入消息加密私钥"></el-input>
<div class="tips">用于同步企微会话,在企微后台->管理工具->会话存档中获取</div> <div class="tips">用于同步企微会话,在企微后台->管理工具->会话存档中获取</div>
</el-form-item> </el-form-item>
</div> </div>
...@@ -72,88 +68,88 @@ ...@@ -72,88 +68,88 @@
</div> </div>
</template> </template>
<script> <script>
export default { export default {
name: 'enterprise-wechat-part2', name: 'enterprise-wechat-part2',
data() { data() {
return { return {
agentSecretCopy: '', agentSecretCopy: '',
agentSecretEditState: false, agentSecretEditState: false,
chatSecretCopy: '', chatSecretCopy: '',
chatSecretEditState: false, chatSecretEditState: false,
form: {}, form: {},
rules: { rules: {
agentId: [{ required: true, message: '必填项', trigger: 'blur' }], agentId: [{ required: true, message: '必填项', trigger: 'blur' }],
agentSecret: [{ required: true, message: '必填项', trigger: 'blur' }], agentSecret: [{ required: true, message: '必填项', trigger: 'blur' }],
chatSecret: [{ required: true, message: '必填项', trigger: 'blur' }], chatSecret: [{ required: true, message: '必填项', trigger: 'blur' }],
financePrivateKey: [{ required: true, message: '必填项', trigger: 'blur' }] financePrivateKey: [{ required: true, message: '必填项', trigger: 'blur' }],
// seasRedirectUrl: [{ required: true, message: '必填项', trigger: 'blur' }], // seasRedirectUrl: [{ required: true, message: '必填项', trigger: 'blur' }],
// sopTagRedirectUrl: [{ required: true, message: '必填项', trigger: 'blur' }] // sopTagRedirectUrl: [{ required: true, message: '必填项', trigger: 'blur' }]
} },
} }
},
watch: {
data: 'setData',
},
props: {
data: {
type: Object,
default: {},
}, },
watch: { },
data: 'setData' methods: {
editAgentSecret() {
this.agentSecretEditState = true
this.agentSecretCopy = JSON.parse(JSON.stringify(this.form.agentSecret))
this.form.agentSecret = ''
}, },
props: { cancelEditAgentSecret() {
data: { this.agentSecretEditState = false
type: Object, this.form.agentSecret = JSON.parse(JSON.stringify(this.agentSecretCopy))
default: {}
}
}, },
methods: { submitEditAgentSecret() {
editAgentSecret() { if (this.form.agentSecret) {
this.agentSecretEditState = true this.$emit('submit', this.form)
this.agentSecretCopy = JSON.parse(JSON.stringify(this.form.agentSecret))
this.form.agentSecret = ''
},
cancelEditAgentSecret() {
this.agentSecretEditState = false this.agentSecretEditState = false
this.form.agentSecret = JSON.parse(JSON.stringify(this.agentSecretCopy)) }
}, },
submitEditAgentSecret() { editChatSecret() {
if (this.form.agentSecret) { this.chatSecretEditState = true
this.$emit('submit', this.form) this.chatSecretCopy = JSON.parse(JSON.stringify(this.form.chatSecret))
this.agentSecretEditState = false this.form.chatSecret = ''
} },
}, cancelEditChatSecret() {
editChatSecret() { this.chatSecretEditState = false
this.chatSecretEditState = true this.form.chatSecret = JSON.parse(JSON.stringify(this.chatSecretCopy))
this.chatSecretCopy = JSON.parse(JSON.stringify(this.form.chatSecret)) },
this.form.chatSecret = '' submitEditChatSecret() {
}, if (this.form.chatSecret) {
cancelEditChatSecret() { this.$emit('submit', this.form)
this.chatSecretEditState = false this.chatSecretEditState = false
this.form.chatSecret = JSON.parse(JSON.stringify(this.chatSecretCopy)) }
}, },
submitEditChatSecret() {
if (this.form.chatSecret) {
this.$emit('submit', this.form)
this.chatSecretEditState = false
}
},
submit() { submit() {
this.$refs['form'].validate((validate) => { this.$refs['form'].validate((validate) => {
if (validate) { if (validate) {
this.$emit('submit', this.form) this.$emit('submit', this.form)
}
})
},
setData() {
if (Object.keys(this.data).length) {
this.form = this.data
} }
})
},
setData() {
if (Object.keys(this.data).length) {
this.form = this.data
} }
}, },
mounted() {}, },
created() {} mounted() {},
} created() {},
}
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.my-title { .my-title {
} }
.tips { .tips {
color: #aaa; color: var(--font-black-7);
font-size: 12px; font-size: 12px;
} }
</style> </style>
...@@ -97,7 +97,7 @@ export default { ...@@ -97,7 +97,7 @@ export default {
.my-title { .my-title {
} }
.tips { .tips {
color: #aaa; color: var(--font-black-7);
font-size: 12px; font-size: 12px;
} }
</style> </style>
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<img style="height: 60px; width: 60px" src="../../assets/image/success.png" /> <img style="height: 60px; width: 60px" src="../../assets/image/success.png" />
</div> </div>
<upload class="image-uploader" v-model:fileUrl="form.certP12Url" :format="mat" type="3"> <upload class="image-uploader" v-model:fileUrl="form.certP12Url" :format="mat" type="3">
<span style="font-size: 14px; color: #333; margin-left: 20px; break-word: no-warp"> <span style="font-size: 14px; color: var(--font-black); margin-left: 20px; break-word: no-warp">
{{ form.certP12Url ? '重新上传' : '上传' }} {{ form.certP12Url ? '重新上传' : '上传' }}
</span> </span>
</upload> </upload>
...@@ -117,7 +117,7 @@ export default { ...@@ -117,7 +117,7 @@ export default {
.my-title { .my-title {
} }
.tips { .tips {
color: #aaa; color: var(--font-black-7);
font-size: 12px; font-size: 12px;
} }
</style> </style>
...@@ -106,7 +106,7 @@ export default { ...@@ -106,7 +106,7 @@ export default {
.my-title { .my-title {
} }
.tips { .tips {
color: #aaa; color: var(--font-black-7);
font-size: 12px; font-size: 12px;
} }
</style> </style>
...@@ -88,7 +88,7 @@ export default { ...@@ -88,7 +88,7 @@ export default {
.my-title { .my-title {
} }
.tips { .tips {
color: #aaa; color: var(--font-black-7);
font-size: 12px; font-size: 12px;
} }
</style> </style>
...@@ -262,7 +262,7 @@ div#driver-highlighted-element-stage { ...@@ -262,7 +262,7 @@ div#driver-highlighted-element-stage {
// visibility: hidden; // visibility: hidden;
// } // }
.tips { .tips {
color: #aaa; color: var(--font-black-7);
font-size: 12px; font-size: 12px;
} }
</style> </style>
...@@ -634,7 +634,7 @@ export default { ...@@ -634,7 +634,7 @@ export default {
height: 90px; // line-height: 90px; height: 90px; // line-height: 90px;
font-size: 18px; font-size: 18px;
font-weight: 500; font-weight: 500;
color: #333; color: var(--font-black);
padding: 0 20px; padding: 0 20px;
background: var(--bg-white); background: var(--bg-white);
border-top-left-radius: 4px; border-top-left-radius: 4px;
...@@ -652,7 +652,7 @@ export default { ...@@ -652,7 +652,7 @@ export default {
.small-tip { .small-tip {
font-size: 12px; font-size: 12px;
color: #999; color: var(--font-black-6);
margin-left: 12px; margin-left: 12px;
} }
......
...@@ -429,7 +429,7 @@ export default { ...@@ -429,7 +429,7 @@ export default {
display: flex; display: flex;
align-items: flex-end; align-items: flex-end;
font-size: 12px; font-size: 12px;
color: #999; color: var(--font-black-6);
} }
} }
.total_list { .total_list {
...@@ -464,7 +464,7 @@ export default { ...@@ -464,7 +464,7 @@ export default {
height: 90px; // line-height: 90px; height: 90px; // line-height: 90px;
font-size: 18px; font-size: 18px;
font-weight: 500; font-weight: 500;
color: #333; color: var(--font-black);
padding: 0 20px; padding: 0 20px;
background: var(--bg-white); background: var(--bg-white);
border-top-left-radius: 4px; border-top-left-radius: 4px;
......
...@@ -491,7 +491,7 @@ export default { ...@@ -491,7 +491,7 @@ export default {
line-height: 36px; line-height: 36px;
font-size: 18px; font-size: 18px;
font-weight: 500; font-weight: 500;
color: #333; color: var(--font-black);
font-weight: bold; font-weight: bold;
} }
......
...@@ -162,7 +162,7 @@ export default { ...@@ -162,7 +162,7 @@ export default {
<el-button text class="copy-btn" :data-clipboard-text="data.shortUrl">复制链接</el-button> <el-button text class="copy-btn" :data-clipboard-text="data.shortUrl">复制链接</el-button>
<el-button text @click="download()">下载二维码</el-button> <el-button text @click="download()">下载二维码</el-button>
<!-- <div style="font-size: 12px; color: #aaa"> <!-- <div style="font-size: 12px; color: var(--font-black-7)">
此链接适用于短信、邮件、外部网页、微信内等拉起小程序的业务场景, 此链接适用于短信、邮件、外部网页、微信内等拉起小程序的业务场景,
<a <a
href="https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/qrcode-link/url-scheme/generateScheme.html"> href="https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/qrcode-link/url-scheme/generateScheme.html">
......
...@@ -254,7 +254,7 @@ export default { ...@@ -254,7 +254,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.tips { .tips {
color: #aaa; color: var(--font-black-7);
font-size: 12px; font-size: 12px;
} }
::v-deep.qrCode { ::v-deep.qrCode {
......
...@@ -369,6 +369,6 @@ export default { ...@@ -369,6 +369,6 @@ export default {
// } // }
// .avatar-uploader-icon { // .avatar-uploader-icon {
// font-size: 28px; // font-size: 28px;
// color: #ddd; // color: var(--font-black-9);
// } // }
</style> </style>
...@@ -213,7 +213,7 @@ export default { ...@@ -213,7 +213,7 @@ export default {
font-size: 16px; font-size: 16px;
} }
.desc { .desc {
color: #ddd; color: var(--font-black-9);
height: 40px; height: 40px;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
......
...@@ -221,7 +221,7 @@ export default { ...@@ -221,7 +221,7 @@ export default {
// } // }
.desc { .desc {
text-align: center; text-align: center;
color: #aaa; color: var(--font-black-7);
font-size: 12px; font-size: 12px;
margin: -22px 0 50px; margin: -22px 0 50px;
} }
......
...@@ -477,7 +477,7 @@ export default { ...@@ -477,7 +477,7 @@ export default {
.code-user { .code-user {
width: 50px; width: 50px;
height: 50px; height: 50px;
color: #999; color: var(--font-black-6);
} }
.noBack { .noBack {
color: #ed4014; color: #ed4014;
...@@ -501,7 +501,7 @@ export default { ...@@ -501,7 +501,7 @@ export default {
} }
.my-label { .my-label {
font-size: 14px; font-size: 14px;
color: #aaa; color: var(--font-black-7);
} }
.my-content { .my-content {
font-size: 14px; font-size: 14px;
...@@ -510,7 +510,7 @@ export default { ...@@ -510,7 +510,7 @@ export default {
.el-icon-s-custom { .el-icon-s-custom {
font-size: 16px; font-size: 16px;
// margin-left: 4px; // margin-left: 4px;
color: #999; color: var(--font-black-6);
&.man { &.man {
color: #13a2e8; color: #13a2e8;
} }
......
...@@ -540,16 +540,16 @@ export default { ...@@ -540,16 +540,16 @@ export default {
justify-content: flex-end; justify-content: flex-end;
span { span {
font-size: 12px; font-size: 12px;
color: #999; color: var(--font-black-6);
} }
} }
.numStyle { .numStyle {
font-size: 48px; font-size: 48px;
color: #333; color: var(--font-black);
font-weight: 700; font-weight: 700;
} }
.titleColor { .titleColor {
color: #aaa; color: var(--font-black-7);
} }
.el-tag:nth-of-type(2) { .el-tag:nth-of-type(2) {
margin-right: 10px; margin-right: 10px;
......
...@@ -225,7 +225,7 @@ export default { ...@@ -225,7 +225,7 @@ export default {
bottom: 20px; bottom: 20px;
} }
.el-icon-QuestionFilled { .el-icon-QuestionFilled {
color: #aaa; color: var(--font-black-7);
} }
.auth-desc-img { .auth-desc-img {
height: 400px; height: 400px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!