Commit b36bff03 by xinla

--bg-white

1 parent c3fe5707
Showing 64 changed files with 228 additions and 230 deletions
...@@ -359,14 +359,14 @@ li { ...@@ -359,14 +359,14 @@ li {
} }
/* 暗黑模式 Dark mode */ /* 暗黑模式 Dark mode */
@media (prefers-color-scheme: dark) { /* @media (prefers-color-scheme: dark) {
body, body,
img, img,
video { video {
filter: invert(1) brightness(1.5) hue-rotate(180deg); filter: invert(1) brightness(1.5) hue-rotate(180deg);
} }
/* 不使用暗黑模式 */ 不使用暗黑模式
.no-dark { .no-dark {
position: relative; position: relative;
} }
...@@ -378,4 +378,4 @@ li { ...@@ -378,4 +378,4 @@ li {
width: 100%; width: 100%;
backdrop-filter: invert(1) brightness(1.5) hue-rotate(180deg); backdrop-filter: invert(1) brightness(1.5) hue-rotate(180deg);
} }
} } */
html { :root {
--hsl: 149, 93%, 39%; /* 主题色hsl*/ --hsl: 149, 93%, 39%; /* 主题色hsl*/
--hsl-dark: 149, 93%, 34%; /* 深主题色hsl*/ --hsl-dark: 149, 93%, 34%; /* 深主题色hsl*/
...@@ -19,6 +19,15 @@ html { ...@@ -19,6 +19,15 @@ html {
--font-black: #1d2129; /* 通用字体黑色 */ --font-black: #1d2129; /* 通用字体黑色 */
--font-white: #fff; /* 通用字体白色 */ --font-white: #fff; /* 通用字体白色 */
/* 背景色,暗黑模式下为黑色 */
--bg-white: #fff;
}
/* 暗黑模式 */
.dark {
--font-black: var(--font-white);
--bg-white: #1d2129;
} }
/* 项目定制原子类 */ /* 项目定制原子类 */
......
...@@ -87,7 +87,7 @@ export default { ...@@ -87,7 +87,7 @@ export default {
flex: auto; flex: auto;
// min-width: 200px; // min-width: 200px;
max-width: 240px; max-width: 240px;
background: #fff; background: var(--bg-white);
border-radius: var(--border-radius-big); border-radius: var(--border-radius-big);
border: 1px solid #edf2f9; border: 1px solid #edf2f9;
line-height: 1; line-height: 1;
......
...@@ -157,7 +157,7 @@ export default { ...@@ -157,7 +157,7 @@ export default {
// top: 8px; // top: 8px;
// width: 8px; // width: 8px;
// height: 8px; // height: 8px;
// background: #fff; // background: var(--bg-white);
// transform: rotate(45deg); // transform: rotate(45deg);
// border: 1px solid #e1edfc; // border: 1px solid #e1edfc;
// z-index: 888; // z-index: 888;
...@@ -179,7 +179,7 @@ export default { ...@@ -179,7 +179,7 @@ export default {
@extend .mes; @extend .mes;
color: #333; color: #333;
margin-left: 10px; margin-left: 10px;
background-color: #fff; background: var(--bg-white);
border-top-left-radius: 0; border-top-left-radius: 0;
// &::before { // &::before {
// @extend .angle; // @extend .angle;
......
...@@ -187,7 +187,7 @@ export default { ...@@ -187,7 +187,7 @@ export default {
<div class="page"> <div class="page">
<div style="margin-top: 16px"> <div style="margin-top: 16px">
<el-row type="flex" justify="space-between"> <el-row type="flex" justify="space-between">
<el-col :span="5" class="left pad20" style="border-radius: 4px; background: #fff"> <el-col :span="5" class="left pad20" style="border-radius: 4px; background: var(--bg-white)">
<div class="title"> <div class="title">
<div class="title-name">{{ typeTitle[type] }}分组</div> <div class="title-name">{{ typeTitle[type] }}分组</div>
</div> </div>
...@@ -197,8 +197,7 @@ export default { ...@@ -197,8 +197,7 @@ export default {
:class="{ active: groupIndex == key }" :class="{ active: groupIndex == key }"
v-for="(group, key) in groupList" v-for="(group, key) in groupList"
:key="group.id" :key="group.id"
@click="switchGroup(key, group)" @click="switchGroup(key, group)">
>
<div class="name">{{ group.name + ' (' + group.number + ')' }}</div> <div class="name">{{ group.name + ' (' + group.number + ')' }}</div>
</div> </div>
</div> </div>
...@@ -212,8 +211,7 @@ export default { ...@@ -212,8 +211,7 @@ export default {
clearable clearable
prefix-icon="el-icon-search" prefix-icon="el-icon-search"
style="width: 300px" style="width: 300px"
@keyup.enter="search()" @keyup.enter="search()" />
/>
<el-button class="ml10" @click="getList(1)" type="primary">查询</el-button> <el-button class="ml10" @click="getList(1)" type="primary">查询</el-button>
<!-- v-hasPermi="['wecom:material:list']" --> <!-- v-hasPermi="['wecom:material:list']" -->
<el-button @click="resetQuery">重置</el-button> <el-button @click="resetQuery">重置</el-button>
...@@ -227,8 +225,7 @@ export default { ...@@ -227,8 +225,7 @@ export default {
:total="total" :total="total"
v-model:page="query.pageNum" v-model:page="query.pageNum"
v-model:limit="query.pageSize" v-model:limit="query.pageSize"
@pagination="getList()" @pagination="getList()" />
/>
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
......
<template> <template>
<div class="left pad20" style="border-radius: 4px; background: #fff"> <div class="left pad20" style="border-radius: 4px; background: var(--bg-white)">
<!--模板库 --> <!--模板库 -->
<div> <div>
<!-- v-hasPermi="['wecom:tlp:add']" --> <!-- v-hasPermi="['wecom:tlp:add']" -->
......
...@@ -101,7 +101,7 @@ export default { ...@@ -101,7 +101,7 @@ export default {
bottom: 0; bottom: 0;
z-index: 9; z-index: 9;
text-align: right; text-align: right;
background: #fff; background: var(--bg-white);
padding: 15px 5px 20px; padding: 15px 5px 20px;
border-top: 1px solid #f8f8f8; border-top: 1px solid #f8f8f8;
} }
......
...@@ -90,7 +90,7 @@ export default { ...@@ -90,7 +90,7 @@ export default {
} }
.msg { .msg {
min-height: 28px; min-height: 28px;
background-color: #fff; background: var(--bg-white);
border: 1px solid #e4e6e9; border: 1px solid #e4e6e9;
display: inline-block; display: inline-block;
position: relative; position: relative;
...@@ -122,7 +122,7 @@ export default { ...@@ -122,7 +122,7 @@ export default {
} }
.avatar { .avatar {
border: 1px solid #fff; border: 1px solid #fff;
background: #fff; background: var(--bg-white);
border-radius: 6px; border-radius: 6px;
width: 28px; width: 28px;
height: 28px; height: 28px;
......
...@@ -54,7 +54,7 @@ export default { ...@@ -54,7 +54,7 @@ export default {
border-radius: 40px; border-radius: 40px;
box-sizing: content-box; box-sizing: content-box;
overflow: hidden; overflow: hidden;
background: #fff; background: var(--bg-white);
// .preview-status { // .preview-status {
// display: flex; // display: flex;
// justify-content: space-between; // justify-content: space-between;
......
...@@ -131,7 +131,7 @@ export default { ...@@ -131,7 +131,7 @@ export default {
<div> <div>
<el-dialog :title="title" v-model="Pvisible" width="900px" append-to-body :close-on-click-modal="false"> <el-dialog :title="title" v-model="Pvisible" width="900px" append-to-body :close-on-click-modal="false">
<el-row type="flex" justify="space-between"> <el-row type="flex" justify="space-between">
<el-col :span="5" class="left pad20" style="border-radius: 4px; background: #fff"> <el-col :span="5" class="left pad20" style="border-radius: 4px; background: var(--bg-white)">
<div class="title"> <div class="title">
<div class="title-name">活码分组</div> <div class="title-name">活码分组</div>
</div> </div>
......
...@@ -110,7 +110,7 @@ export default { ...@@ -110,7 +110,7 @@ export default {
flex-direction: column; flex-direction: column;
transition: width 0.28s; transition: width 0.28s;
width: var(--side-bar-width) !important; width: var(--side-bar-width) !important;
background-color: #fff; background: var(--bg-white);
bottom: 0; bottom: 0;
z-index: 1001; z-index: 1001;
overflow: hidden; overflow: hidden;
...@@ -185,7 +185,7 @@ export default { ...@@ -185,7 +185,7 @@ export default {
// 当前激活菜单 // 当前激活菜单
.el-menu-item.is-active { .el-menu-item.is-active {
background: linear-gradient(to right, var(--color) 0%, var(--color-sub) 100%); background: linear-gradient(to right, var(--color) 0%, var(--color-sub) 100%);
box-shadow: 0px 13px 16px 0px rgba(7, 168, 85, 0.2); box-shadow: 0px 13px 16px 0px hsl(var(--hsl-dark), 0.2);
border-radius: 8px; border-radius: 8px;
color: var(--font-white, #fff) !important; color: var(--font-white, #fff) !important;
z-index: 1; z-index: 1;
......
...@@ -211,7 +211,7 @@ export default { ...@@ -211,7 +211,7 @@ export default {
.tags-view-container { .tags-view-container {
height: 34px; height: 34px;
width: 100%; width: 100%;
background: #fff; background: var(--bg-white);
border-bottom: 1px solid #d8dce5; border-bottom: 1px solid #d8dce5;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 0 3px 0 rgba(0, 0, 0, 0.04); box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 0 3px 0 rgba(0, 0, 0, 0.04);
.tags-view-wrapper { .tags-view-wrapper {
...@@ -223,7 +223,7 @@ export default { ...@@ -223,7 +223,7 @@ export default {
line-height: 26px; line-height: 26px;
border: 1px solid #d8dce5; border: 1px solid #d8dce5;
color: #495060; color: #495060;
background: #fff; background: var(--bg-white);
padding: 0 8px; padding: 0 8px;
font-size: 12px; font-size: 12px;
margin-left: 5px; margin-left: 5px;
...@@ -240,7 +240,7 @@ export default { ...@@ -240,7 +240,7 @@ export default {
border-color: #42b983; border-color: #42b983;
&::before { &::before {
content: ''; content: '';
background: #fff; background: var(--bg-white);
display: inline-block; display: inline-block;
width: 8px; width: 8px;
height: 8px; height: 8px;
...@@ -253,7 +253,7 @@ export default { ...@@ -253,7 +253,7 @@ export default {
} }
.contextmenu { .contextmenu {
margin: 0; margin: 0;
background: #fff; background: var(--bg-white);
z-index: 3000; z-index: 3000;
position: absolute; position: absolute;
list-style-type: none; list-style-type: none;
......
...@@ -107,7 +107,7 @@ export default { ...@@ -107,7 +107,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.g-bg-lg { .g-bg-lg {
background: linear-gradient(to left, var(--color) 0%, var(--color-sub) 100%); background: linear-gradient(to left, var(--color) 0%, var(--color-sub) 100%);
box-shadow: 0px 13px 16px 0px rgba(7, 168, 85, 0.2); box-shadow: 0px 13px 16px 0px hsl(var(--hsl-dark), 0.2);
} }
// .nav-scrollbar { // .nav-scrollbar {
// width: calc(100% - 580px); // width: calc(100% - 580px);
...@@ -124,7 +124,7 @@ export default { ...@@ -124,7 +124,7 @@ export default {
& > .el-menu-item { & > .el-menu-item {
height: 38px !important; height: 38px !important;
line-height: 38px !important; line-height: 38px !important;
color: #1d2129; color: var(--font-white);
border-radius: 8px; border-radius: 8px;
font-weight: bold; font-weight: bold;
margin: 0 4px !important; margin: 0 4px !important;
......
...@@ -207,7 +207,7 @@ export default { ...@@ -207,7 +207,7 @@ export default {
height: 100%; height: 100%;
overflow: hidden; overflow: hidden;
position: relative; position: relative;
color: #1d2129; color: var(--font-white);
.errLog-container { .errLog-container {
display: inline-block; display: inline-block;
...@@ -218,7 +218,7 @@ export default { ...@@ -218,7 +218,7 @@ export default {
// position: absolute; // position: absolute;
// right: 0; // right: 0;
flex: none; flex: none;
background: #fff; background: var(--bg-white);
&:focus { &:focus {
outline: none; outline: none;
...@@ -296,7 +296,7 @@ export default { ...@@ -296,7 +296,7 @@ export default {
// left: 50%; // left: 50%;
// transform: translateX(-50%); // transform: translateX(-50%);
// border-radius: 6px; // border-radius: 6px;
// background: #fff; // background: var(--bg-white);
// } // }
// } // }
// } // }
...@@ -313,7 +313,7 @@ export default { ...@@ -313,7 +313,7 @@ export default {
background: linear-gradient(225deg, var(--color-sub) 0%, var(--color) 100%); background: linear-gradient(225deg, var(--color-sub) 0%, var(--color) 100%);
box-shadow: 0px 4px 20px 0px rgba(28, 49, 111, 0.1); box-shadow: 0px 4px 20px 0px rgba(28, 49, 111, 0.1);
border-radius: 50%; border-radius: 50%;
// background: #fff; // background: var(--bg-white);
// color: var(--color); // color: var(--color);
.contact-us-icon { .contact-us-icon {
color: var(--font-white, #fff); color: var(--font-white, #fff);
......
...@@ -90,7 +90,7 @@ export default { ...@@ -90,7 +90,7 @@ export default {
flex-direction: column; flex-direction: column;
} }
.breadcrumb-wrap { .breadcrumb-wrap {
background: #fff; background: var(--bg-white);
border-top: 1px solid #eee; border-top: 1px solid #eee;
} }
...@@ -100,7 +100,7 @@ export default { ...@@ -100,7 +100,7 @@ export default {
} }
.top-wrap { .top-wrap {
height: var(--top-nav-heght); height: var(--top-nav-heght);
background: #fff; background: var(--bg-white);
} }
.main-wrap { .main-wrap {
......
...@@ -61,7 +61,7 @@ export default { ...@@ -61,7 +61,7 @@ export default {
height: 100vh; height: 100vh;
background: #e3ebf6; background: #e3ebf6;
.login-top--wrap { .login-top--wrap {
background: #fff; background: var(--bg-white);
padding: 5px 20px; padding: 5px 20px;
box-shadow: 0px 5px 5px rgb(215 215 215 / 35%); box-shadow: 0px 5px 5px rgb(215 215 215 / 35%);
} }
......
...@@ -14,6 +14,10 @@ import ElementPlus, { ElNotification } from 'element-plus' ...@@ -14,6 +14,10 @@ import ElementPlus, { ElNotification } from 'element-plus'
import 'element-plus/dist/index.css' import 'element-plus/dist/index.css'
app.use(ElementPlus, {}) app.use(ElementPlus, {})
// import 'element-plus/theme-chalk/dark/css-vars.css'
// import { useDark, useToggle } from '@vueuse/core'
// useDark()
import '@/styles/index.scss' import '@/styles/index.scss'
// svg图标 // svg图标
......
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
.--card { .--card {
padding: 20px 20px; padding: 20px 20px;
border-radius: var(--border-radius-big); border-radius: var(--border-radius-big);
background: #fff; background: var(--bg-white);
} }
// 页面公用搜索 // 页面公用搜索
.top-search { .top-search {
...@@ -344,7 +344,7 @@ ...@@ -344,7 +344,7 @@
} }
.el-radio__input.is-disabled { .el-radio__input.is-disabled {
.el-radio__inner { .el-radio__inner {
background-color: #fff; background: var(--bg-white);
border-color: #dcdfe6; border-color: #dcdfe6;
cursor: default; cursor: default;
} }
...@@ -358,7 +358,7 @@ ...@@ -358,7 +358,7 @@
cursor: default; cursor: default;
&::after { &::after {
background-color: #fff; background: var(--bg-white);
} }
} }
} }
...@@ -541,7 +541,7 @@ ...@@ -541,7 +541,7 @@
// .top-search + .el-table { // .top-search + .el-table {
// @extend .--card; // @extend .--card;
// box-sizing: content-box; // box-sizing: content-box;
// border: 20px solid #fff; border-radius: 20px; background: #fff // border: 20px solid #fff; border-radius: 20px; background: var(--bg-white)
// } // }
.el-table { .el-table {
--el-table-header-bg-color: #f5f7fa; --el-table-header-bg-color: #f5f7fa;
......
...@@ -98,7 +98,7 @@ div:focus { ...@@ -98,7 +98,7 @@ div:focus {
padding: 0 15px; padding: 0 15px;
overflow: hidden; overflow: hidden;
height: 32px; height: 32px;
background-color: #fff; background: var(--bg-white);
.tag-place { .tag-place {
color: #bbb; color: #bbb;
font-size: 14px; font-size: 14px;
...@@ -143,7 +143,7 @@ div:focus { ...@@ -143,7 +143,7 @@ div:focus {
font-weight: 500; font-weight: 500;
color: var(--font-black); color: var(--font-black);
padding: 0 20px; padding: 0 20px;
background: #fff; background: var(--bg-white);
border-radius: var(--border-radius-big) var(--border-radius-big) 0 0; border-radius: var(--border-radius-big) var(--border-radius-big) 0 0;
line-height: 1; line-height: 1;
.desc { .desc {
...@@ -174,7 +174,7 @@ div:focus { ...@@ -174,7 +174,7 @@ div:focus {
// 卡片样式 // 卡片样式
&card { &card {
border-radius: var(--border-radius-big); border-radius: var(--border-radius-big);
background: #fff; background: var(--bg-white);
overflow: auto; overflow: auto;
padding: 20px; padding: 20px;
scroll-behavior: smooth; scroll-behavior: smooth;
...@@ -229,7 +229,7 @@ div:focus { ...@@ -229,7 +229,7 @@ div:focus {
justify-content: center; justify-content: center;
height: 60px; height: 60px;
bottom: 0; bottom: 0;
background: #fff; background: var(--bg-white);
box-shadow: 0px -4px 20px 0px #edf2f9; box-shadow: 0px -4px 20px 0px #edf2f9;
border-radius: var(--border-radius-big); border-radius: var(--border-radius-big);
margin-top: var(--card-margin); margin-top: var(--card-margin);
......
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
/* 可以在此定义适用于自己团队的css 变量*/ /* 可以在此定义适用于自己团队的css 变量*/
/* element-plus var */ /* element-plus var */
:root { :root,
html.dark {
--el-color-primary: hsl(var(--hsl)); --el-color-primary: hsl(var(--hsl));
--el-color-primary-light-3: hsl(var(--hsl), 0.7); --el-color-primary-light-3: hsl(var(--hsl), 0.7);
--el-color-primary-light-5: hsl(var(--hsl), 0.5); --el-color-primary-light-5: hsl(var(--hsl), 0.5);
...@@ -12,21 +13,21 @@ ...@@ -12,21 +13,21 @@
--el-color-primary-dark-2: var(--color-dark); --el-color-primary-dark-2: var(--color-dark);
--el-color-success: hsl(var(--hsl)); --el-color-success: hsl(var(--hsl));
--el-color-warning: #faad14;
--el-color-danger: #eb5e12;
/* // --el-color-info: #fa7216; /* // --el-color-info: #fa7216;
// --el-color-info: #1E1E1E; */ // --el-color-info: #1E1E1E; */
--el-background-color-base: #e6f8ef;
--el-border-color-extra-light: #e6f8ef;
/* --el-datepicker-inrange-background-color: var(--border-color-extra-light); /* --el-datepicker-inrange-background-color: var(--border-color-extra-light);
--el-datepicker-inrange-hover-background-color: var(--border-color-extra-light); */ --el-datepicker-inrange-hover-background-color: var(--border-color-extra-light); */
--el-button-font-weight: 400; --el-button-font-weight: 400;
/* // --el-color-text-regular: #1f2d3d; */ /* // --el-color-text-regular: #1f2d3d; */
}
:root {
--el-color-warning: #faad14;
--el-color-danger: #eb5e12;
--el-border-color-extra-light: #e6f8ef;
--el-border-color-light: #dfe4ed; --el-border-color-light: #dfe4ed;
--el-border-color-lighter: #e6ebf5; --el-border-color-lighter: #e6ebf5;
......
...@@ -344,7 +344,7 @@ export default { ...@@ -344,7 +344,7 @@ export default {
.info_title { .info_title {
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
color: #1d2129; color: var(--font-white);
margin-bottom: 10px; margin-bottom: 10px;
} }
</style> </style>
...@@ -144,7 +144,7 @@ export default { ...@@ -144,7 +144,7 @@ export default {
.info_title { .info_title {
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
color: #1d2129; color: var(--font-white);
margin-bottom: 10px; margin-bottom: 10px;
} }
</style> </style>
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
</el-steps> </el-steps>
</div> </div>
<template v-if="currentActive == 0"> <template v-if="currentActive == 0">
<el-row :gutter="20" type="flex" style="margin-top: 20px;"> <el-row :gutter="20" type="flex" style="margin-top: 20px">
<el-col> <el-col>
<div class="g-card"> <div class="g-card">
<el-form ref="baseForm" :rules="rules" :model="form" label-position="right" label-width="100px"> <el-form ref="baseForm" :rules="rules" :model="form" label-position="right" label-width="100px">
...@@ -18,8 +18,7 @@ ...@@ -18,8 +18,7 @@
placeholder="请输入名称" placeholder="请输入名称"
v-model="form.taskName" v-model="form.taskName"
show-word-limit show-word-limit
clearable clearable></el-input>
></el-input>
</el-form-item> </el-form-item>
<el-form-item label="推广短链:" prop="shortLinkId"> <el-form-item label="推广短链:" prop="shortLinkId">
<el-button type="primary" icon="el-icon-plus" @click="showShortLink = true"> <el-button type="primary" icon="el-icon-plus" @click="showShortLink = true">
...@@ -27,12 +26,11 @@ ...@@ -27,12 +26,11 @@
</el-button> </el-button>
<el-button <el-button
type="primary" type="primary"
@click="$router.push('/drainageCode/publicCustomer/IntelligentShortLink/index')" @click="$router.push('/drainageCode/publicCustomer/IntelligentShortLink/index')">
>
去新建 去新建
</el-button> </el-button>
<div style="margin-top: 10px;"> <div style="margin-top: 10px">
<ShowShortLinkVue :data="shortLinkObj"></ShowShortLinkVue> <ShowShortLinkVue :data="shortLinkObj"></ShowShortLinkVue>
</div> </div>
</el-form-item> </el-form-item>
...@@ -48,10 +46,10 @@ ...@@ -48,10 +46,10 @@
<el-button type="primary" icon="el-icon-plus" @click="choseDialog = true"> <el-button type="primary" icon="el-icon-plus" @click="choseDialog = true">
{{ form.materialId ? '编辑' : '选择' }}海报 {{ form.materialId ? '编辑' : '选择' }}海报
</el-button> </el-button>
<div style="margin-top: 10px;" v-if="posterUrl"> <div style="margin-top: 10px" v-if="posterUrl">
<ul class="el-upload-list el-upload-list--picture-card"> <ul class="el-upload-list el-upload-list--picture-card">
<li class="el-upload-list__item is-success"> <li class="el-upload-list__item is-success">
<img style="width: 100%; height: 100%;" :src="posterUrl" /> <img style="width: 100%; height: 100%" :src="posterUrl" />
<span class="el-upload-list__item-actions"> <span class="el-upload-list__item-actions">
<span class="el-upload-list__item-delete"> <span class="el-upload-list__item-delete">
<el-icon-delete class="el-icon-delete" @click="handleRemove"></el-icon-delete> <el-icon-delete class="el-icon-delete" @click="handleRemove"></el-icon-delete>
...@@ -63,13 +61,13 @@ ...@@ -63,13 +61,13 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
<div class="g-card" style="text-align: right;"> <div class="g-card" style="text-align: right">
<el-button plain @click="$router.go(-1)">取消</el-button> <el-button plain @click="$router.go(-1)">取消</el-button>
<el-button type="primary" @click="gotoNext">下一步</el-button> <el-button type="primary" @click="gotoNext">下一步</el-button>
</div> </div>
</el-col> </el-col>
<el-col style="flex-basis: 370px;"> <el-col style="flex-basis: 370px">
<div class="g-card" style="height: 100%;"> <div class="g-card" style="height: 100%">
<div class="info_title">消息预览</div> <div class="info_title">消息预览</div>
<Preview :value="posterUrl"></Preview> <Preview :value="posterUrl"></Preview>
</div> </div>
...@@ -135,7 +133,7 @@ ...@@ -135,7 +133,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="g-card" style="text-align: right;"> <div class="g-card" style="text-align: right">
<el-button plain @click="currentActive = 0">上一步</el-button> <el-button plain @click="currentActive = 0">上一步</el-button>
<el-button plain @click="saveFn" v-loading="loading">保存,暂不推广</el-button> <el-button plain @click="saveFn" v-loading="loading">保存,暂不推广</el-button>
<el-button type="primary" @click="currentActive = 2">下一步</el-button> <el-button type="primary" @click="currentActive = 2">下一步</el-button>
...@@ -153,21 +151,21 @@ ...@@ -153,21 +151,21 @@
</div> </div>
</template> </template>
<script> <script>
import SelectPosterSingle from './components/SelectPosterSingle.vue' import SelectPosterSingle from './components/SelectPosterSingle.vue'
import Preview from './components/PreviewInPhone.vue' import Preview from './components/PreviewInPhone.vue'
import SelectShortLink from '@/components/SelectShortLink' import SelectShortLink from '@/components/SelectShortLink'
import Step3 from './components/Step3.vue' import Step3 from './components/Step3.vue'
import ShowShortLinkVue from './components/ShowShortLink.vue' import ShowShortLinkVue from './components/ShowShortLink.vue'
import { getDetail, savePromotion } from './api' import { getDetail, savePromotion } from './api'
export default { export default {
name: 'short-link-popularize-add', name: 'short-link-popularize-add',
components: { components: {
Preview, Preview,
SelectPosterSingle, SelectPosterSingle,
SelectShortLink, SelectShortLink,
ShowShortLinkVue, ShowShortLinkVue,
Step3 Step3,
}, },
data() { data() {
return { return {
...@@ -188,10 +186,10 @@ ...@@ -188,10 +186,10 @@
userIds: '', userIds: '',
sendType: 0, sendType: 0,
taskSendTime: '', taskSendTime: '',
taskEndTime: '' taskEndTime: '',
}, },
attachments: [], attachments: [],
senderList: [] senderList: [],
}, },
currentActive: 0, currentActive: 0,
choseDialog: false, choseDialog: false,
...@@ -204,31 +202,31 @@ ...@@ -204,31 +202,31 @@
{ {
required: true, required: true,
message: '请输入任务名称', message: '请输入任务名称',
trigger: 'blur' trigger: 'blur',
} },
], ],
shortLinkId: [ shortLinkId: [
{ {
required: true, required: true,
message: '请选择短链', message: '请选择短链',
trigger: 'blur' trigger: 'blur',
} },
], ],
style: [ style: [
{ {
required: true, required: true,
message: '请选择推广样式', message: '请选择推广样式',
trigger: 'blur' trigger: 'blur',
} },
], ],
materialId: [ materialId: [
{ {
required: true, required: true,
message: '请选择海报', message: '请选择海报',
trigger: 'blur' trigger: 'blur',
} },
] ],
} },
} }
}, },
methods: { methods: {
...@@ -296,7 +294,7 @@ ...@@ -296,7 +294,7 @@
this.posterObj = this.form.weMaterial this.posterObj = this.form.weMaterial
this.posterUrl = this.posterObj.materialUrl this.posterUrl = this.posterObj.materialUrl
} }
} },
}, },
created() { created() {
this.id = this.$route.query.id this.id = this.$route.query.id
...@@ -306,30 +304,30 @@ ...@@ -306,30 +304,30 @@
if (this.id) { if (this.id) {
this.getDetailFn() this.getDetailFn()
} }
} },
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.info_title { .info_title {
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
color: #1d2129; color: var(--font-white);
margin-bottom: 10px; margin-bottom: 10px;
} }
.sub-des { .sub-des {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #999999; color: #999999;
} }
.title { .title {
font-size: 16px; font-size: 16px;
font-family: PingFang SC-Bold, PingFang SC; font-family: PingFang SC-Bold, PingFang SC;
font-weight: 600; font-weight: 600;
color: #1d2129; color: var(--font-white);
margin: 24px 0; margin: 24px 0;
} }
.unit { .unit {
margin: 0 auto; margin: 0 auto;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
...@@ -358,7 +356,7 @@ ...@@ -358,7 +356,7 @@
font-size: 16px; font-size: 16px;
font-family: Source Han Sans CN-Regular, Source Han Sans CN; font-family: Source Han Sans CN-Regular, Source Han Sans CN;
font-weight: 400; font-weight: 400;
color: #1d2129; color: var(--font-white);
} }
.item-text { .item-text {
margin-top: 6px; margin-top: 6px;
...@@ -375,5 +373,5 @@ ...@@ -375,5 +373,5 @@
border: 1px solid rgba(7, 193, 96, 1); border: 1px solid rgba(7, 193, 96, 1);
background-color: rgba(7, 193, 96, 0.09019607843137255); background-color: rgba(7, 193, 96, 0.09019607843137255);
} }
} }
</style> </style>
...@@ -351,7 +351,7 @@ export default { ...@@ -351,7 +351,7 @@ export default {
.info_title { .info_title {
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
color: #1d2129; color: var(--font-white);
margin-bottom: 10px; margin-bottom: 10px;
} }
</style> </style>
...@@ -2,16 +2,15 @@ ...@@ -2,16 +2,15 @@
<div> <div>
<el-tabs v-model="activeName"> <el-tabs v-model="activeName">
<el-tab-pane label="任务信息" name="first"> <el-tab-pane label="任务信息" name="first">
<el-row :gutter="20" type="flex" style="margin-top: 20px;"> <el-row :gutter="20" type="flex" style="margin-top: 20px">
<el-col> <el-col>
<div class="g-card"> <div class="g-card">
<div style="display: flex; justify-content: space-between;"> <div style="display: flex; justify-content: space-between">
<div class="info_title">基本信息</div> <div class="info_title">基本信息</div>
<el-button <el-button
v-if="form.taskStatus == 0" v-if="form.taskStatus == 0"
type="primary" type="primary"
@click="$router.push({ path: './add', query: { id: id } })" @click="$router.push({ path: './add', query: { id: id } })">
>
编辑 编辑
</el-button> </el-button>
</div> </div>
...@@ -23,8 +22,7 @@ ...@@ -23,8 +22,7 @@
v-model="form.taskName" v-model="form.taskName"
show-word-limit show-word-limit
disabled disabled
clearable clearable></el-input>
></el-input>
</el-form-item> </el-form-item>
<el-form-item label="任务状态:"> <el-form-item label="任务状态:">
<el-tag :type="form.taskStatus == 0 ? 'info' : form.taskStatus == 2 ? 'danger' : ''"> <el-tag :type="form.taskStatus == 0 ? 'info' : form.taskStatus == 2 ? 'danger' : ''">
...@@ -32,7 +30,7 @@ ...@@ -32,7 +30,7 @@
</el-tag> </el-tag>
</el-form-item> </el-form-item>
<el-form-item label="推广短链:"> <el-form-item label="推广短链:">
<div style="margin-top: 10px;"> <div style="margin-top: 10px">
<ShowShortLinkVue :data="shortLinkObj"></ShowShortLinkVue> <ShowShortLinkVue :data="shortLinkObj"></ShowShortLinkVue>
</div> </div>
</el-form-item> </el-form-item>
...@@ -43,10 +41,10 @@ ...@@ -43,10 +41,10 @@
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
<el-form-item v-if="form.style == 1" label="推广海报:" prop="materialId"> <el-form-item v-if="form.style == 1" label="推广海报:" prop="materialId">
<div style="margin-top: 10px;" v-if="posterUrl"> <div style="margin-top: 10px" v-if="posterUrl">
<ul class="el-upload-list el-upload-list--picture-card"> <ul class="el-upload-list el-upload-list--picture-card">
<li class="el-upload-list__item is-success"> <li class="el-upload-list__item is-success">
<img style="width: 100%; height: 100%;" :src="posterUrl" /> <img style="width: 100%; height: 100%" :src="posterUrl" />
</li> </li>
</ul> </ul>
</div> </div>
...@@ -54,8 +52,8 @@ ...@@ -54,8 +52,8 @@
</el-form> </el-form>
</div> </div>
</el-col> </el-col>
<el-col style="flex-basis: 370px;"> <el-col style="flex-basis: 370px">
<div class="g-card" style="height: 100%;"> <div class="g-card" style="height: 100%">
<div class="info_title">消息预览</div> <div class="info_title">消息预览</div>
<Preview :value="posterUrl"></Preview> <Preview :value="posterUrl"></Preview>
</div> </div>
...@@ -118,20 +116,20 @@ ...@@ -118,20 +116,20 @@
</template> </template>
<script> <script>
import Statistics from './statistics' import Statistics from './statistics'
import Preview from './components/PreviewInPhone.vue' import Preview from './components/PreviewInPhone.vue'
import ShowShortLinkVue from './components/ShowShortLink.vue' import ShowShortLinkVue from './components/ShowShortLink.vue'
import Step3 from './components/Step3.vue' import Step3 from './components/Step3.vue'
import { getDetail } from './api' import { getDetail } from './api'
export default { export default {
name: 'short-link-popularize-detail', name: 'short-link-popularize-detail',
components: { components: {
Statistics, Statistics,
ShowShortLinkVue, ShowShortLinkVue,
Preview, Preview,
Step3 Step3,
}, },
data() { data() {
return { return {
...@@ -142,7 +140,7 @@ ...@@ -142,7 +140,7 @@
style: 0, style: 0,
materialId: '', materialId: '',
type: null, type: null,
attachments: [] attachments: [],
}, },
choseDialog: false, choseDialog: false,
showShortLink: false, showShortLink: false,
...@@ -152,8 +150,8 @@ ...@@ -152,8 +150,8 @@
statusType: [ statusType: [
{ name: '待推广', key: 0 }, { name: '待推广', key: 0 },
{ name: '推广中', key: 1 }, { name: '推广中', key: 1 },
{ name: '已结束', key: 2 } { name: '已结束', key: 2 },
] ],
} }
}, },
methods: { methods: {
...@@ -177,19 +175,19 @@ ...@@ -177,19 +175,19 @@
this.posterUrl = this.posterObj.materialUrl this.posterUrl = this.posterObj.materialUrl
} }
}) })
} },
}, },
created() { created() {
this.id = this.$route.query.id this.id = this.$route.query.id
if (this.id) { if (this.id) {
this.getDetailFn() this.getDetailFn()
} }
} },
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.unit { .unit {
// margin: 0 auto; // margin: 0 auto;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
...@@ -218,7 +216,7 @@ ...@@ -218,7 +216,7 @@
font-size: 16px; font-size: 16px;
font-family: Source Han Sans CN-Regular, Source Han Sans CN; font-family: Source Han Sans CN-Regular, Source Han Sans CN;
font-weight: 400; font-weight: 400;
color: #1d2129; color: var(--font-white);
} }
.item-text { .item-text {
margin-top: 6px; margin-top: 6px;
...@@ -235,11 +233,11 @@ ...@@ -235,11 +233,11 @@
border: 1px solid rgba(7, 193, 96, 1); border: 1px solid rgba(7, 193, 96, 1);
background-color: rgba(7, 193, 96, 0.09019607843137255); background-color: rgba(7, 193, 96, 0.09019607843137255);
} }
} }
.info_title { .info_title {
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
color: #1d2129; color: var(--font-white);
margin-bottom: 10px; margin-bottom: 10px;
} }
</style> </style>
...@@ -144,7 +144,7 @@ export default { ...@@ -144,7 +144,7 @@ export default {
.info_title { .info_title {
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
color: #1d2129; color: var(--font-white);
margin-bottom: 10px; margin-bottom: 10px;
} }
</style> </style>
...@@ -543,7 +543,7 @@ export default { ...@@ -543,7 +543,7 @@ export default {
.total-list { .total-list {
.item { .item {
padding: 10px; padding: 10px;
background-color: #fff; background: var(--bg-white);
} }
} }
.title { .title {
......
...@@ -97,7 +97,7 @@ export default { ...@@ -97,7 +97,7 @@ export default {
.total-list { .total-list {
.item { .item {
padding: 10px; padding: 10px;
background-color: #fff; background: var(--bg-white);
} }
} }
.title { .title {
......
...@@ -219,7 +219,7 @@ export default { ...@@ -219,7 +219,7 @@ export default {
.total-list { .total-list {
.item { .item {
padding: 10px; padding: 10px;
background-color: #fff; background: var(--bg-white);
} }
} }
</style> </style>
...@@ -182,7 +182,7 @@ export default { ...@@ -182,7 +182,7 @@ export default {
.total-list { .total-list {
.item { .item {
padding: 10px; padding: 10px;
background-color: #fff; background: var(--bg-white);
} }
} }
</style> </style>
...@@ -98,7 +98,7 @@ export default { ...@@ -98,7 +98,7 @@ export default {
.total-list { .total-list {
.item { .item {
padding: 10px; padding: 10px;
background-color: #fff; background: var(--bg-white);
} }
} }
......
...@@ -252,7 +252,7 @@ export default { ...@@ -252,7 +252,7 @@ export default {
font-size: 16px; font-size: 16px;
font-family: Source Han Sans CN-Regular, Source Han Sans CN; font-family: Source Han Sans CN-Regular, Source Han Sans CN;
font-weight: 400; font-weight: 400;
color: #1d2129; color: var(--font-white);
} }
.item-text { .item-text {
margin-top: 6px; margin-top: 6px;
......
...@@ -50,7 +50,7 @@ export default { ...@@ -50,7 +50,7 @@ export default {
box-shadow: 0px 6px 8px 0px rgba(78, 89, 105, 0.3); box-shadow: 0px 6px 8px 0px rgba(78, 89, 105, 0.3);
border-radius: 8px 8px 8px 8px; border-radius: 8px 8px 8px 8px;
border: 1px solid #fff; border: 1px solid #fff;
background: #fff; background: var(--bg-white);
} }
.shabowbox { .shabowbox {
position: fixed; position: fixed;
...@@ -71,7 +71,7 @@ export default { ...@@ -71,7 +71,7 @@ export default {
top: 50%; top: 50%;
margin-top: -235px; margin-top: -235px;
z-index: 2001; z-index: 2001;
background: #fff; background: var(--bg-white);
} }
.shabowboxaudio { .shabowboxaudio {
......
...@@ -223,7 +223,7 @@ export default { ...@@ -223,7 +223,7 @@ export default {
} }
.chatListClassTab { .chatListClassTab {
padding: 10px 10px 0; padding: 10px 10px 0;
background: #fff; background: var(--bg-white);
text-align: left; text-align: left;
} }
</style> </style>
...@@ -221,7 +221,7 @@ export default { ...@@ -221,7 +221,7 @@ export default {
text-align: center; text-align: center;
.el-tabs { .el-tabs {
background: #fff; background: var(--bg-white);
} }
::v-deep .el-tabs__header { ::v-deep .el-tabs__header {
margin: 0; margin: 0;
......
...@@ -297,7 +297,7 @@ export default { ...@@ -297,7 +297,7 @@ export default {
} }
.employ { .employ {
.el-tabs { .el-tabs {
background: #fff; background: var(--bg-white);
} }
.name { .name {
font-size: 16px; font-size: 16px;
......
...@@ -52,7 +52,7 @@ export default { ...@@ -52,7 +52,7 @@ export default {
.line-height { .line-height {
padding: 5px; padding: 5px;
border-radius: 8px 8px 8px 8px; border-radius: 8px 8px 8px 8px;
background-color: #fff; background: var(--bg-white);
} }
.image { .image {
width: 40px; width: 40px;
...@@ -61,7 +61,7 @@ export default { ...@@ -61,7 +61,7 @@ export default {
box-shadow: 0px 6px 8px 0px rgba(78, 89, 105, 0.3); box-shadow: 0px 6px 8px 0px rgba(78, 89, 105, 0.3);
border-radius: 8px 8px 8px 8px; border-radius: 8px 8px 8px 8px;
border: 1px solid #fff; border: 1px solid #fff;
background: #fff; background: var(--bg-white);
} }
.shabowbox { .shabowbox {
position: fixed; position: fixed;
...@@ -82,7 +82,7 @@ export default { ...@@ -82,7 +82,7 @@ export default {
top: 50%; top: 50%;
margin-top: -235px; margin-top: -235px;
z-index: 2001; z-index: 2001;
background: #fff; background: var(--bg-white);
} }
.shabowboxaudio { .shabowboxaudio {
......
...@@ -219,7 +219,7 @@ export default { ...@@ -219,7 +219,7 @@ export default {
} }
.chatListClassTab { .chatListClassTab {
padding: 10px 10px 0; padding: 10px 10px 0;
background: #fff; background: var(--bg-white);
text-align: left; text-align: left;
} }
</style> </style>
...@@ -113,7 +113,7 @@ export default { ...@@ -113,7 +113,7 @@ export default {
width: 50px; width: 50px;
height: 20px; height: 20px;
font-size: 12px; font-size: 12px;
background-color: #fff; background: var(--bg-white);
border: 1px solid #0079de; border: 1px solid #0079de;
border-radius: 10px; border-radius: 10px;
color: #0079de; color: #0079de;
......
...@@ -193,7 +193,7 @@ export default { ...@@ -193,7 +193,7 @@ export default {
<div class="page"> <div class="page">
<div style="margin-top: 16px"> <div style="margin-top: 16px">
<el-row type="flex" justify="space-between"> <el-row type="flex" justify="space-between">
<el-col :span="5" class="left pad20" style="border-radius: 4px; background: #fff"> <el-col :span="5" class="left pad20" style="border-radius: 4px; background: var(--bg-white)">
<div class="title"> <div class="title">
<div class="title-name">{{ typeTitle[type] }}分组</div> <div class="title-name">{{ typeTitle[type] }}分组</div>
</div> </div>
......
...@@ -242,6 +242,6 @@ export default { ...@@ -242,6 +242,6 @@ export default {
top: 0; top: 0;
left: 0; left: 0;
z-index: 10; z-index: 10;
background-color: #fff; background: var(--bg-white);
} }
</style> </style>
...@@ -1519,7 +1519,7 @@ export default { ...@@ -1519,7 +1519,7 @@ export default {
font-weight: 500; font-weight: 500;
color: #333; color: #333;
padding: 0 20px; padding: 0 20px;
background: #fff; background: var(--bg-white);
border-top-left-radius: 4px; border-top-left-radius: 4px;
border-top-right-radius: 4px; border-top-right-radius: 4px;
} }
...@@ -1590,7 +1590,7 @@ export default { ...@@ -1590,7 +1590,7 @@ export default {
img { img {
width: 132px; width: 132px;
height: 132px; height: 132px;
background-color: #fff; //设置白色背景色 background: var(--bg-white); //设置白色背景色
padding: 6px; // 利用padding的特性,挤出白边 padding: 6px; // 利用padding的特性,挤出白边
} }
} }
......
...@@ -228,7 +228,7 @@ $selectedColor: #f6f7ff; ...@@ -228,7 +228,7 @@ $selectedColor: #f6f7ff;
right: 56px; right: 56px;
border-color: var(--color); border-color: var(--color);
color: var(--color); color: var(--color);
background: #fff; background: var(--bg-white);
&:hover { &:hover {
background: var(--color); background: var(--color);
color: var(--font-white, #fff); color: var(--font-white, #fff);
...@@ -238,7 +238,7 @@ $selectedColor: #f6f7ff; ...@@ -238,7 +238,7 @@ $selectedColor: #f6f7ff;
right: 24px; right: 24px;
border-color: #f56c6c; border-color: #f56c6c;
color: #f56c6c; color: #f56c6c;
background: #fff; background: var(--bg-white);
&:hover { &:hover {
background: #f56c6c; background: #f56c6c;
color: var(--font-white, #fff); color: var(--font-white, #fff);
......
...@@ -925,7 +925,7 @@ export default { ...@@ -925,7 +925,7 @@ export default {
width: 100%; width: 100%;
height: 100%; height: 100%;
// max-height: 100vh; // max-height: 100vh;
background: #fff; background: var(--bg-white);
} }
.containerPC { .containerPC {
max-width: 350px; max-width: 350px;
......
...@@ -783,7 +783,7 @@ $selectedColor: #f6f7ff; ...@@ -783,7 +783,7 @@ $selectedColor: #f6f7ff;
.logo-wrapper { .logo-wrapper {
position: relative; position: relative;
height: 42px; height: 42px;
background: #fff; background: var(--bg-white);
border-bottom: 1px solid #f1e8e8; border-bottom: 1px solid #f1e8e8;
box-sizing: border-box; box-sizing: border-box;
} }
...@@ -934,7 +934,7 @@ $selectedColor: #f6f7ff; ...@@ -934,7 +934,7 @@ $selectedColor: #f6f7ff;
right: 56px; right: 56px;
border-color: var(--color); border-color: var(--color);
color: var(--color); color: var(--color);
background: #fff; background: var(--bg-white);
&:hover { &:hover {
background: var(--color); background: var(--color);
color: var(--font-white, #fff); color: var(--font-white, #fff);
...@@ -944,7 +944,7 @@ $selectedColor: #f6f7ff; ...@@ -944,7 +944,7 @@ $selectedColor: #f6f7ff;
right: 24px; right: 24px;
border-color: #f56c6c; border-color: #f56c6c;
color: #f56c6c; color: #f56c6c;
background: #fff; background: var(--bg-white);
&:hover { &:hover {
background: #f56c6c; background: #f56c6c;
color: var(--font-white, #fff); color: var(--font-white, #fff);
...@@ -1012,13 +1012,13 @@ $selectedColor: #f6f7ff; ...@@ -1012,13 +1012,13 @@ $selectedColor: #f6f7ff;
border-left: 1px solid #d7d7d7; border-left: 1px solid #d7d7d7;
} }
.smartForms_build_index_liBtn { .smartForms_build_index_liBtn {
background-color: #fff; background: var(--bg-white);
border-left: 0px solid #d7d7d7 !important; border-left: 0px solid #d7d7d7 !important;
border-bottom: none; border-bottom: none;
} }
} }
.drawing-item { .drawing-item {
background-color: #fff !important; background: var(--bg-white) !important;
overflow: inherit !important; overflow: inherit !important;
} }
.sortable-ghost .ssc { .sortable-ghost .ssc {
......
...@@ -317,7 +317,7 @@ export default { ...@@ -317,7 +317,7 @@ export default {
.dataStatistics_optionGraph_li { .dataStatistics_optionGraph_li {
margin-bottom: 10px; margin-bottom: 10px;
width: 49.6%; width: 49.6%;
background-color: #fff; background: var(--bg-white);
padding: 30px; padding: 30px;
} }
} }
......
...@@ -240,7 +240,7 @@ export default { ...@@ -240,7 +240,7 @@ export default {
.dataStatistics_optionGraph_li { .dataStatistics_optionGraph_li {
margin-bottom: 10px; margin-bottom: 10px;
width: 49.6%; width: 49.6%;
background-color: #fff; background: var(--bg-white);
padding: 30px; padding: 30px;
} }
} }
......
...@@ -97,7 +97,7 @@ export default { ...@@ -97,7 +97,7 @@ export default {
justify-content: space-between; justify-content: space-between;
width: 100%; width: 100%;
border-radius: 5px; border-radius: 5px;
background-color: #fff; background: var(--bg-white);
padding: 20px; padding: 20px;
box-sizing: border-box; box-sizing: border-box;
} }
......
...@@ -1062,7 +1062,7 @@ export default { ...@@ -1062,7 +1062,7 @@ export default {
font-weight: 500; font-weight: 500;
color: #333; color: #333;
padding: 0 20px; padding: 0 20px;
background: #fff; background: var(--bg-white);
border-top-left-radius: 4px; border-top-left-radius: 4px;
border-top-right-radius: 4px; border-top-right-radius: 4px;
} }
......
...@@ -369,7 +369,7 @@ export default { ...@@ -369,7 +369,7 @@ export default {
font-weight: 500; font-weight: 500;
color: #333; color: #333;
padding: 0 20px; padding: 0 20px;
background: #fff; background: var(--bg-white);
border-top-left-radius: 4px; border-top-left-radius: 4px;
border-top-right-radius: 4px; border-top-right-radius: 4px;
} }
......
...@@ -34,7 +34,7 @@ export default { ...@@ -34,7 +34,7 @@ export default {
.active { .active {
font-weight: 600; font-weight: 600;
color: var(--color) !important; color: var(--color) !important;
background-color: #fff !important; background: var(--bg-white) !important;
box-shadow: 0px 6px 30px 5px rgba(59, 59, 59, 0.05); box-shadow: 0px 6px 30px 5px rgba(59, 59, 59, 0.05);
} }
.card-tab { .card-tab {
......
...@@ -236,7 +236,7 @@ export default { ...@@ -236,7 +236,7 @@ export default {
.total-list { .total-list {
.item { .item {
padding: 10px; padding: 10px;
background-color: #fff; background: var(--bg-white);
} }
} }
......
...@@ -34,7 +34,7 @@ export default { ...@@ -34,7 +34,7 @@ export default {
.active { .active {
font-weight: 600; font-weight: 600;
color: var(--color) !important; color: var(--color) !important;
background-color: #fff !important; background: var(--bg-white) !important;
box-shadow: 0px 6px 30px 5px rgba(59, 59, 59, 0.05); box-shadow: 0px 6px 30px 5px rgba(59, 59, 59, 0.05);
} }
.card-tab { .card-tab {
......
...@@ -34,7 +34,7 @@ export default { ...@@ -34,7 +34,7 @@ export default {
.active { .active {
font-weight: 600; font-weight: 600;
color: var(--color) !important; color: var(--color) !important;
background-color: #fff !important; background: var(--bg-white) !important;
box-shadow: 0px 6px 30px 5px rgba(59, 59, 59, 0.05); box-shadow: 0px 6px 30px 5px rgba(59, 59, 59, 0.05);
} }
.card-tab { .card-tab {
......
...@@ -209,7 +209,7 @@ export default { ...@@ -209,7 +209,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.page { .page {
padding: 30px; padding: 30px;
background-color: #fff; background: var(--bg-white);
border-radius: 8px; border-radius: 8px;
} }
...@@ -237,7 +237,7 @@ export default { ...@@ -237,7 +237,7 @@ export default {
font-weight: 500; font-weight: 500;
color: #333; color: #333;
padding: 0 20px; padding: 0 20px;
background: #fff; background: var(--bg-white);
border-top-left-radius: 4px; border-top-left-radius: 4px;
border-top-right-radius: 4px; border-top-right-radius: 4px;
} }
......
...@@ -636,7 +636,7 @@ export default { ...@@ -636,7 +636,7 @@ export default {
font-weight: 500; font-weight: 500;
color: #333; color: #333;
padding: 0 20px; padding: 0 20px;
background: #fff; background: var(--bg-white);
border-top-left-radius: 4px; border-top-left-radius: 4px;
border-top-right-radius: 4px; border-top-right-radius: 4px;
} }
......
...@@ -466,7 +466,7 @@ export default { ...@@ -466,7 +466,7 @@ export default {
font-weight: 500; font-weight: 500;
color: #333; color: #333;
padding: 0 20px; padding: 0 20px;
background: #fff; background: var(--bg-white);
border-top-left-radius: 4px; border-top-left-radius: 4px;
border-top-right-radius: 4px; border-top-right-radius: 4px;
} }
......
...@@ -70,15 +70,15 @@ export default { ...@@ -70,15 +70,15 @@ export default {
boxData: [ boxData: [
{ {
title: `管理员账号登录企业微信管理后台——进入【应用管理】——点击【${lwConfig.SYSTEM_NAME_MOBILE}】`, title: `管理员账号登录企业微信管理后台——进入【应用管理】——点击【${lwConfig.SYSTEM_NAME_MOBILE}】`,
url: ('@/assets/register/guid/customer-portrait-one.png'), url: '@/assets/register/guid/customer-portrait-one.png',
}, },
{ {
title: `在【${lwConfig.SYSTEM_NAME_MOBILE}】应用内找到“配置到聊天工具栏”功能中的“配置”按钮`, title: `在【${lwConfig.SYSTEM_NAME_MOBILE}】应用内找到“配置到聊天工具栏”功能中的“配置”按钮`,
url: ('@/assets/register/guid/customer-portrait-two.png'), url: '@/assets/register/guid/customer-portrait-two.png',
}, },
{ {
title: '进入“配置到聊天工具栏”功能页后点击“配置页面”按钮配置路径', title: '进入“配置到聊天工具栏”功能页后点击“配置页面”按钮配置路径',
url: ('@/assets/register/guid/customer-portrait-three.png'), url: '@/assets/register/guid/customer-portrait-three.png',
}, },
], ],
boxDataTwo: { boxDataTwo: {
...@@ -87,7 +87,7 @@ export default { ...@@ -87,7 +87,7 @@ export default {
title2: '客户画像', title2: '客户画像',
title3: '输入页面内容:选择“自定义”,内容链接为:', title3: '输入页面内容:选择“自定义”,内容链接为:',
title4: 'https://×××××××', title4: 'https://×××××××',
url: ('@/assets/register/guid/customer-portrait-four.png'), url: '@/assets/register/guid/customer-portrait-four.png',
}, },
buttonData: { buttonData: {
one: '返回上一步', one: '返回上一步',
...@@ -98,7 +98,7 @@ export default { ...@@ -98,7 +98,7 @@ export default {
boxData: [ boxData: [
{ {
title: '在当前页面内点击“继续配置”按钮', title: '在当前页面内点击“继续配置”按钮',
url: ('@/assets/register/guid/chat-material-five.png'), url: '@/assets/register/guid/chat-material-five.png',
}, },
], ],
boxDataTwo: { boxDataTwo: {
...@@ -107,7 +107,7 @@ export default { ...@@ -107,7 +107,7 @@ export default {
title2: '聊天素材', title2: '聊天素材',
title3: '输入页面内容:选择“自定义”,内容链接为:', title3: '输入页面内容:选择“自定义”,内容链接为:',
title4: 'https://×××××××', title4: 'https://×××××××',
url: ('@/assets/register/guid/chat-material-six.png'), url: '@/assets/register/guid/chat-material-six.png',
}, },
buttonData: { buttonData: {
one: '返回上一步', one: '返回上一步',
...@@ -118,7 +118,7 @@ export default { ...@@ -118,7 +118,7 @@ export default {
boxData: [ boxData: [
{ {
title: '在当前页面内点击“继续配置”按钮', title: '在当前页面内点击“继续配置”按钮',
url: ('@/assets/register/guid/keyword-group-seven.png'), url: '@/assets/register/guid/keyword-group-seven.png',
}, },
], ],
boxDataTwo: { boxDataTwo: {
...@@ -127,7 +127,7 @@ export default { ...@@ -127,7 +127,7 @@ export default {
title2: '关键词群', title2: '关键词群',
title3: '输入页面内容:选择“自定义”,内容链接为:', title3: '输入页面内容:选择“自定义”,内容链接为:',
title4: 'https://×××××××', title4: 'https://×××××××',
url: ('@/assets/register/guid/keyword-group-eight.png'), url: '@/assets/register/guid/keyword-group-eight.png',
}, },
buttonData: { buttonData: {
one: '返回上一步', one: '返回上一步',
...@@ -138,7 +138,7 @@ export default { ...@@ -138,7 +138,7 @@ export default {
boxData: [ boxData: [
{ {
title: '在当前页面内点击“继续配置”按钮', title: '在当前页面内点击“继续配置”按钮',
url: ('@/assets/register/guid/red-envelopes-nine.png'), url: '@/assets/register/guid/red-envelopes-nine.png',
}, },
], ],
boxDataTwo: { boxDataTwo: {
...@@ -147,7 +147,7 @@ export default { ...@@ -147,7 +147,7 @@ export default {
title2: '红包', title2: '红包',
title3: '输入页面内容:选择“自定义”,内容链接为:', title3: '输入页面内容:选择“自定义”,内容链接为:',
title4: 'https://×××××××', title4: 'https://×××××××',
url: ('@/assets/register/guid/red-envelopes-ten.png'), url: '@/assets/register/guid/red-envelopes-ten.png',
}, },
buttonData: { buttonData: {
one: '返回上一步', one: '返回上一步',
...@@ -216,7 +216,7 @@ svg.svg-icon { ...@@ -216,7 +216,7 @@ svg.svg-icon {
width: 80%; width: 80%;
height: 146px; height: 146px;
border-radius: 4px; border-radius: 4px;
background-color: #fff; background: var(--bg-white);
padding-top: 20px; padding-top: 20px;
margin-top: 20px; margin-top: 20px;
margin-bottom: 10px; margin-bottom: 10px;
...@@ -228,14 +228,14 @@ svg.svg-icon { ...@@ -228,14 +228,14 @@ svg.svg-icon {
.content-box { .content-box {
width: 80%; width: 80%;
padding: 20px; padding: 20px;
background: #fff; background: var(--bg-white);
padding-bottom: 60px; padding-bottom: 60px;
} }
.content { .content {
// width: 80%; // width: 80%;
} }
.tab { .tab {
background: #fff; background: var(--bg-white);
border-top: 1px solid #f1f1f1; border-top: 1px solid #f1f1f1;
border-bottom-left-radius: 4px; border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px; border-bottom-right-radius: 4px;
......
...@@ -476,7 +476,7 @@ export default { ...@@ -476,7 +476,7 @@ export default {
.view-item-num { .view-item-num {
font-size: 24px; font-size: 24px;
font-weight: 500; font-weight: 500;
color: #1d2129; color: var(--font-white);
font-family: Bahnschrift-Regular, Bahnschrift; font-family: Bahnschrift-Regular, Bahnschrift;
} }
} }
......
...@@ -327,7 +327,7 @@ export default { ...@@ -327,7 +327,7 @@ export default {
margin: 0 20px 20px 0; margin: 0 20px 20px 0;
padding: 20px 20px 10px; padding: 20px 20px 10px;
border: 1px solid #eee; border: 1px solid #eee;
background: #fff; background: var(--bg-white);
border-radius: 6px; border-radius: 6px;
.el-image { .el-image {
margin-right: 10px; margin-right: 10px;
......
<script> <script>
var validateHttp = (rule, value, callback) => { var validateHttp = (rule, value, callback) => {
if (/^https?:\/\//gi.test(value)) { if (/^https?:\/\//gi.test(value)) {
callback() callback()
} else { } else {
callback(new Error('必须以 http://或 https://开头')) callback(new Error('必须以 http://或 https://开头'))
} }
} }
export default { export default {
name: '', name: '',
components: {}, components: {},
props: { props: {
data: { data: {
type: Object, type: Object,
default: () => ({}) default: () => ({}),
}, },
disabled: { disabled: {
type: Boolean type: Boolean,
} },
}, },
data() { data() {
...@@ -33,18 +33,18 @@ ...@@ -33,18 +33,18 @@
sendTime: [{ required: true, message: '不能为空', trigger: 'blur' }], sendTime: [{ required: true, message: '不能为空', trigger: 'blur' }],
linkUrl: [ linkUrl: [
{ required: true, message: '不能为空', trigger: 'blur' }, { required: true, message: '不能为空', trigger: 'blur' },
{ validator: validateHttp, trigger: 'blur' } { validator: validateHttp, trigger: 'blur' },
] ],
}), }),
typeDict: { typeDict: {
text: '文本', text: '文本',
image: '图片', image: '图片',
news: '图文', news: '图文',
video: '视频', video: '视频',
file: '文件' file: '文件',
}, },
dialogVisible: false dialogVisible: false,
} }
}, },
computed: {}, computed: {},
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
this.form.weMessageTemplate.picUrl = this.$route.query.posterId this.form.weMessageTemplate.picUrl = this.$route.query.posterId
} }
} }
} },
}, },
created() { created() {
if (!this.form.toParty) { if (!this.form.toParty) {
...@@ -112,13 +112,13 @@ ...@@ -112,13 +112,13 @@
this.$emit('submit', form) this.$emit('submit', form)
} }
} }
} },
} },
} }
</script> </script>
<template> <template>
<div style="margin: 0 20px;" :class="disabled && 'detail-form'"> <div style="margin: 0 20px" :class="disabled && 'detail-form'">
<!-- 应用消息 --> <!-- 应用消息 -->
<el-form <el-form
class="mb20" class="mb20"
...@@ -127,12 +127,11 @@ ...@@ -127,12 +127,11 @@
:model="form" :model="form"
:rules="rules" :rules="rules"
:disabled="disabled" :disabled="disabled"
label-width="100px" label-width="100px">
>
<div class=""> <div class="">
<div class="title"> <div class="title">
<span>消息设置</span> <span>消息设置</span>
<span style="font-size: 12px; margin-left: 10px;"> <span style="font-size: 12px; margin-left: 10px">
将通过应用 将通过应用
<span class="theme">【{{ form.agentName }}】</span> <span class="theme">【{{ form.agentName }}】</span>
发送消息 发送消息
...@@ -151,8 +150,7 @@ ...@@ -151,8 +150,7 @@
<el-button v-if="!disabled" class="mr10" text @click="dialogVisible = true">选择范围</el-button> <el-button v-if="!disabled" class="mr10" text @click="dialogVisible = true">选择范围</el-button>
<TagEllipsis <TagEllipsis
v-if="form.toPartyName.concat(form.toUserName).length" v-if="form.toPartyName.concat(form.toUserName).length"
:list="form.toPartyName.concat(form.toUserName)" :list="form.toPartyName.concat(form.toUserName)" />
/>
</template> </template>
</el-form-item> </el-form-item>
<el-form-item label="发送类型" prop="sendType"> <el-form-item label="发送类型" prop="sendType">
...@@ -171,9 +169,8 @@ ...@@ -171,9 +169,8 @@
disabledDate(time) { disabledDate(time) {
let date = new Date() let date = new Date()
return time.getTime() < date.setDate(date.getDate() - 1) return time.getTime() < date.setDate(date.getDate() - 1)
} },
}" }"></el-date-picker>
></el-date-picker>
</el-form-item> </el-form-item>
</div> </div>
</el-form> </el-form>
...@@ -187,8 +184,7 @@ ...@@ -187,8 +184,7 @@
:model="form" :model="form"
:rules="rules" :rules="rules"
:disabled="disabled" :disabled="disabled"
label-width="100px" label-width="100px">
>
<el-form-item label="消息标题" prop="msgTitle"> <el-form-item label="消息标题" prop="msgTitle">
<el-input v-model="form.msgTitle" placeholder="请输入标题" maxlength="30" show-word-limit></el-input> <el-input v-model="form.msgTitle" placeholder="请输入标题" maxlength="30" show-word-limit></el-input>
</el-form-item> </el-form-item>
...@@ -210,8 +206,7 @@ ...@@ -210,8 +206,7 @@
:autosize="{ minRows: 2, maxRows: 50 }" :autosize="{ minRows: 2, maxRows: 50 }"
placeholder="请输入内容" placeholder="请输入内容"
maxlength="2000" maxlength="2000"
show-word-limit show-word-limit></el-input>
></el-input>
</el-form-item> </el-form-item>
<!-- 图片 --> <!-- 图片 -->
...@@ -227,8 +222,7 @@ ...@@ -227,8 +222,7 @@
<el-input <el-input
v-model="form.weMessageTemplate.linkUrl" v-model="form.weMessageTemplate.linkUrl"
type="text" type="text"
placeholder="请输入图文地址,以http://或https://开头" placeholder="请输入图文地址,以http://或https://开头"></el-input>
></el-input>
</el-form-item> </el-form-item>
<el-form-item label="图文标题" prop="title"> <el-form-item label="图文标题" prop="title">
<el-input <el-input
...@@ -236,8 +230,7 @@ ...@@ -236,8 +230,7 @@
type="text" type="text"
:maxlength="60" :maxlength="60"
show-word-limit show-word-limit
placeholder="请输入图文标题" placeholder="请输入图文标题"></el-input>
></el-input>
</el-form-item> </el-form-item>
<el-form-item label="图文描述" prop="description"> <el-form-item label="图文描述" prop="description">
<el-input <el-input
...@@ -246,8 +239,7 @@ ...@@ -246,8 +239,7 @@
:maxlength="100" :maxlength="100"
show-word-limit show-word-limit
:autosize="{ minRows: 2, maxRows: 50 }" :autosize="{ minRows: 2, maxRows: 50 }"
placeholder="请输入" placeholder="请输入"></el-input>
></el-input>
</el-form-item> </el-form-item>
<el-form-item label="图文封面"> <el-form-item label="图文封面">
<Upload v-model:fileUrl="form.weMessageTemplate.picUrl" type="0"> <Upload v-model:fileUrl="form.weMessageTemplate.picUrl" type="0">
...@@ -285,16 +277,15 @@ ...@@ -285,16 +277,15 @@
:isSigleSelect="false" :isSigleSelect="false"
:destroy-on-close="false" :destroy-on-close="false"
:defaultValues="form.toParty.concat(form.toUser)" :defaultValues="form.toParty.concat(form.toUser)"
@success="selectedUser" @success="selectedUser"></SelectUser>
></SelectUser>
</div> </div>
</template> </template>
<style lang="scss" scoped> <style lang="scss" scoped>
.theme { .theme {
color: var(--color); color: var(--color);
} }
::v-deep.detail-form { ::v-deep.detail-form {
.el-input.is-disabled .el-input__inner, .el-input.is-disabled .el-input__inner,
.el-textarea.is-disabled .el-textarea__inner { .el-textarea.is-disabled .el-textarea__inner {
background-color: transparent; background-color: transparent;
...@@ -307,7 +298,7 @@ ...@@ -307,7 +298,7 @@
} }
.el-radio__input.is-disabled { .el-radio__input.is-disabled {
.el-radio__inner { .el-radio__inner {
background-color: #fff; background: var(--bg-white);
border-color: #dcdfe6; border-color: #dcdfe6;
cursor: default; cursor: default;
} }
...@@ -321,7 +312,7 @@ ...@@ -321,7 +312,7 @@
cursor: default; cursor: default;
&::after { &::after {
background-color: #fff; background: var(--bg-white);
} }
} }
} }
...@@ -334,5 +325,5 @@ ...@@ -334,5 +325,5 @@
// .el-input__prefix { // .el-input__prefix {
// display: none; // display: none;
// } // }
} }
</style> </style>
...@@ -207,7 +207,7 @@ export default { ...@@ -207,7 +207,7 @@ export default {
padding: 20px 20px 0; padding: 20px 20px 0;
border: 1px solid #eee; border: 1px solid #eee;
margin: 0 20px 20px 0; margin: 0 20px 20px 0;
background: #fff; background: var(--bg-white);
border-radius: 6px; border-radius: 6px;
.title { .title {
font-size: 16px; font-size: 16px;
......
...@@ -205,7 +205,7 @@ export default { ...@@ -205,7 +205,7 @@ export default {
.login-text { .login-text {
font-size: 32px; font-size: 32px;
font-weight: 700; font-weight: 700;
color: #1d2129; color: var(--font-white);
margin: 26px auto 50px auto; margin: 26px auto 50px auto;
} }
......
...@@ -487,7 +487,7 @@ export default { ...@@ -487,7 +487,7 @@ export default {
} }
.boxCard { .boxCard {
min-width: 300px; min-width: 300px;
background: #fff; background: var(--bg-white);
border-radius: 4px; border-radius: 4px;
margin: 0 10px 20px 0; margin: 0 10px 20px 0;
padding: 22px 20px; padding: 22px 20px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!