Commit 284fede9 by 李伟康

commit

1 parent 2f78bf90
/** -------slide-left begin**/
.slide-left-enter {
opacity: 0;
-webkit-transform: translate($translateLength, 0);
transform: translate($translateLength, 0);
}
.slide-left-leave-to {
opacity: 0;
-webkit-transform: translate(-$translateLength, 0);
transform: translate(-$translateLength, 0);
}
.slide-left-enter-active {
transition: all $animateDuration ease;
}
.slide-left-leave-active {
transition: all $animateDuration ease;
}
/** -------slide-left end**/
/** -------slide-right begin**/
.slide-right-enter {
opacity: 0;
-webkit-transform: translate(-$translateLength, 0);
transform: translate(-$translateLength, 0);
}
.slide-right-leave-to {
opacity: 0;
-webkit-transform: translate($translateLength, 0);
transform: translate($translateLength, 0);
}
.slide-right-enter-active {
transition: all $animateDuration ease;
}
.slide-right-leave-active {
transition: all 0.1s ease;
}
/** -------slide-right end**/
.flip-list-move {
transition: transform $animateDuration;
}
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
.btn { .btn {
width: 148px; width: 148px;
height: 36px; height: 36px;
background: #5850ff; background: #3975C6;
box-shadow: 0px 2px 4px 0px rgba(88, 80, 255, 0.3); box-shadow: 0px 2px 4px 0px rgba(88, 80, 255, 0.3);
border-radius: 21px; border-radius: 21px;
margin-left: auto; margin-left: auto;
......
.layout {
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
background-color: rgb(246, 246, 255);
box-sizing: border-box;
padding: 0 16px 60px;
overflow-y: scroll;
.tips-box {
display: flex;
flex-direction: column;
align-items: center;
padding: 60px 0 64px;
.icon {
width: 100px;
height: 53px;
}
.title {
font-size: 16px;
color: #817bff;
padding: 15px 0 4px;
}
.tips {
font-size: 12px;
color: #999999;
}
}
>.title {
font-size: 15px;
color: #333333;
span {
position: relative;
&::after {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
bottom: 0;
left: 0;
content: '';
z-index: -1;
border-top: 6px solid transparent;
border-right: 6px solid transparent;
border-bottom: 6px solid rgba(129, 123, 255, 0.55);
border-left: 6px solid transparent;
}
}
}
.box {
padding-top: 17px;
.item {
margin-bottom: 16px;
background: #ffffff;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.05);
border-radius: 4px;
box-sizing: border-box;
padding: 24px 16px 16px 16px;
display: flex;
font-size: 12px;
color: #333333;
.title {
width: 48px;
flex-shrink: 0;
position: relative;
padding-left: 10px;
&::after {
position: absolute;
top: 6px;
left: 0;
background: #5850ff;
width: 6px;
height: 6px;
border-radius: 100%;
content: '';
}
}
.value {
.text {
display: flex;
align-items: center;
.icon {
width: 20px;
height: 20px;
margin-left: 16px;
}
}
.tips {
color: #999999;
margin-top: 8px;
line-height: 20px;
}
}
.qr-box {
display: flex;
flex-direction: column;
align-items: center;
.qr {
width: 140px;
height: 140px;
}
.tips {
margin-top: 8px;
color: #666666;
}
}
}
.column {
flex-direction: column;
.title {
margin-bottom: 8px;
}
.phone {
color: #666666;
background: #F8F8F8;
border-radius: 1px;
height: 32px;
box-sizing: border-box;
padding: 0 16px;
display: flex;
align-items: center;
justify-content: space-between;
.icon {
height: 20px;
width: 20px;
}
}
}
>.tips {
font-size: 12px;
color: #fc9153;
text-align: center;
}
}
}
\ No newline at end of file \ No newline at end of file
@font-face {
font-family: "iconfont"; /* Project id 2609988 */
src: url('//at.alicdn.com/t/font_2609988_3co86ufyx32.woff2?t=1623641587741') format('woff2'),
url('//at.alicdn.com/t/font_2609988_3co86ufyx32.woff?t=1623641587741') format('woff'),
url('//at.alicdn.com/t/font_2609988_3co86ufyx32.ttf?t=1623641587741') format('truetype');
}
.iconfont {
font-family: "iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-refresh:before {
content: "\e620";
}
.icon-people:before {
content: "\e6b4";
}
.icon-arrowdown:before {
content: "\e62b";
}
.icon-radio:before {
content: "\e600";
}
.icon-people1:before {
content: "\e82d";
}
.icon-dian:before {
content: "\ec1e";
}
@import './normalize.scss'; @import './normalize.scss';
@import './variables.scss';
@import './mixin.scss';
@import './animate.scss';
@import './iconfont.scss';
@import './vant.scss';
@import './sprite.scss'; @import './sprite.scss';
html, html,
body .app { body .app {
color: #333333; color: #333333;
font-family: Arial, Helvetica, 'STHeiti STXihei', 'Microsoft YaHei', Tohoma, sans-serif; font-family: Arial, Helvetica, 'STHeiti STXihei', 'Microsoft YaHei', Tohoma, sans-serif;
background-color: $background-color; background-color: #fff;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
height: 100%; height: 100%;
// overflow: hidden; // overflow: hidden;
......
// mixin
// 清除浮动
@mixin clearfix {
&:after {
content: '';
display: table;
clear: both;
}
}
// 多行隐藏
@mixin textoverflow($clamp: 1) {
display: block;
overflow: hidden;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: $clamp;
/*! autoprefixer: ignore next */
-webkit-box-orient: vertical;
}
//flex box
@mixin flexbox($jc: space-between, $ai: center, $fd: row, $fw: nowrap) {
display: flex;
display: -webkit-flex;
flex: 1;
justify-content: $jc;
-webkit-justify-content: $jc;
align-items: $ai;
-webkit-align-items: $ai;
flex-direction: $fd;
-webkit-flex-direction: $fd;
flex-wrap: $fw;
-webkit-flex-wrap: $fw;
}
@mixin cell($fs: 14px, $fw: 400, $margin: 8px 0, $bgc: #fff) {
background-color: $bgc;
margin: $margin;
font-size: $fs;
font-weight: $fw;
color: #323233;
padding: 0 16px;
}
@mixin font($fs: 14px, $fw: 400, $c:#3975c6){
font-size: $fs;
font-weight: $fw;
color: $c;
}
@mixin mainfont($fs: 14px, $fw: 400) {
@include font($fs,$fw,#3975c6)
}
@mixin darkfont($fs: 14px, $fw: 400, $c: #323233) {
@include font($fs,$fw,$c)
}
@mixin tit {
font-size: 18px;
font-weight: 600;
padding: 14px 0;
display: block;
color: #414143;
}
@mixin textarea{
.content {
display: flex;
flex-direction: column;
.van-cell {
&__title {
flex: 1;
}
&__value {
flex: 0 0 84px;
margin-top: 12px;
background: #f7f8fa;
border-radius: 8px;
}
}
}
}
@mixin recell($mt:8px){
/deep/.van-cell {
margin-top: $mt;
&__title {
margin-right: 8px;
flex: 0 0 70px;
}
&.l{
.van-cell__title {
flex: 0 0 92px;
}
}
&.m{
.van-cell__title {
margin-right: 0;
flex: 0 0 63px;
}
}
}
}
@mixin cellradio {
@include recell();
.radio {
/deep/.van-radio,.van-checkbox {
flex: 1 1 50%;
margin: 14px 0 0;
&:nth-child(1),
&:nth-child(2) {
margin-top: 0;
}
}
}
@include textarea()
}
@mixin btnMain{
flex: 1;
height: 40px;
background-color: $main-color;
border-radius: 100px;
@include font(14px,400,#fff);
}
@mixin card{
display: flex;
height: 142px;
background: #fff;
box-shadow: 0px 2px 12px 0px rgba(100, 101, 102, 0.12);
border-radius: 4px;
padding: 16px;
margin-bottom: 8px;
}
@mixin mt($t:5px){
margin-top: $t;
}
@mixin flexcenter{
display: flex;
justify-content: center;
align-items: center;
}
.sprite-icon { background-image: url(../images/sprite.png);background-size: 108px 74px;} .sprite-icon { background-image: url(../images/sprite.png);background-size: 108px 74px;}
.icon-active { width: 20px; height: 20px; background-position: 0px -54px;} .icon-active { width: 20px; height: 20px; background-position: 0px -54px;}
.icon-arrow { width: 7px; height: 11px; background-position: -92px -46px;} .icon-arrow { width: 7px; height: 11px; background-position: -92px -26px;}
.icon-attract-customer-share { width: 10px; height: 10px; background-position: -92px -26px;}
.icon-avatar { width: 44px; height: 44px; background-position: 0px 0px;} .icon-avatar { width: 44px; height: 44px; background-position: 0px 0px;}
.icon-customer-active { width: 16px; height: 16px; background-position: -92px 0px;} .icon-customer-active { width: 16px; height: 16px; background-position: -92px 0px;}
.icon-customer-add { width: 28px; height: 20px; background-position: -54px 0px;} .icon-customer-add { width: 28px; height: 20px; background-position: -54px 0px;}
.icon-customer-copy { width: 18px; height: 20px; background-position: -60px -54px;} .icon-customer-copy { width: 18px; height: 20px; background-position: -60px -54px;}
.icon-customer-phone { width: 20px; height: 20px; background-position: -30px -54px;} .icon-customer-phone { width: 20px; height: 20px; background-position: -30px -54px;}
.icon-open-arrow { width: 8px; height: 7px; background-position: -92px -67px;}
\ No newline at end of file \ No newline at end of file
.icon-open-arrow { width: 8px; height: 7px; background-position: -92px -47px;}
\ No newline at end of file \ No newline at end of file
.van-radio,
.van-checkbox {
&__icon {
&--checked {
.van-icon {
background-color: $main-color !important;
border-color: $main-color !important;
}
}
}
}
// variables
$background-color: #F7F7F7;
//animate.scss
$animateDuration: 0.2s;
$translateLength: 30px;
$main-color:#3975C6;
\ No newline at end of file \ No newline at end of file

384 Bytes | W: | H:

715 Bytes | W: | H:

src/assets/images/copy.png
src/assets/images/copy.png
src/assets/images/copy.png
src/assets/images/copy.png
  • 2-up
  • Swipe
  • Onion skin

850 Bytes | W: | H:

1.96 KB | W: | H:

src/assets/images/customer.png
src/assets/images/customer.png
src/assets/images/customer.png
src/assets/images/customer.png
  • 2-up
  • Swipe
  • Onion skin

1.17 KB | W: | H:

2.71 KB | W: | H:

src/assets/images/group.png
src/assets/images/group.png
src/assets/images/group.png
src/assets/images/group.png
  • 2-up
  • Swipe
  • Onion skin

6.07 KB | W: | H:

6.14 KB | W: | H:

src/assets/images/sprite.png
src/assets/images/sprite.png
src/assets/images/sprite.png
src/assets/images/sprite.png
  • 2-up
  • Swipe
  • Onion skin

1.25 KB | W: | H:

2.95 KB | W: | H:

src/assets/images/wechat.png
src/assets/images/wechat.png
src/assets/images/wechat.png
src/assets/images/wechat.png
  • 2-up
  • Swipe
  • Onion skin

1.1 KB | W: | H:

1.23 KB | W: | H:

src/assets/spritesmith/active.png
src/assets/spritesmith/active.png
src/assets/spritesmith/active.png
src/assets/spritesmith/active.png
  • 2-up
  • Swipe
  • Onion skin

583 Bytes | W: | H:

661 Bytes | W: | H:

src/assets/spritesmith/customer-active.png
src/assets/spritesmith/customer-active.png
src/assets/spritesmith/customer-active.png
src/assets/spritesmith/customer-active.png
  • 2-up
  • Swipe
  • Onion skin

1.14 KB | W: | H:

1.21 KB | W: | H:

src/assets/spritesmith/customer-add.png
src/assets/spritesmith/customer-add.png
src/assets/spritesmith/customer-add.png
src/assets/spritesmith/customer-add.png
  • 2-up
  • Swipe
  • Onion skin

689 Bytes | W: | H:

715 Bytes | W: | H:

src/assets/spritesmith/customer-copy.png
src/assets/spritesmith/customer-copy.png
src/assets/spritesmith/customer-copy.png
src/assets/spritesmith/customer-copy.png
  • 2-up
  • Swipe
  • Onion skin

1.11 KB | W: | H:

1.17 KB | W: | H:

src/assets/spritesmith/customer-phone.png
src/assets/spritesmith/customer-phone.png
src/assets/spritesmith/customer-phone.png
src/assets/spritesmith/customer-phone.png
  • 2-up
  • Swipe
  • Onion skin

326 Bytes | W: | H:

343 Bytes | W: | H:

src/assets/spritesmith/open-arrow.png
src/assets/spritesmith/open-arrow.png
src/assets/spritesmith/open-arrow.png
src/assets/spritesmith/open-arrow.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -193,9 +193,9 @@ export default { ...@@ -193,9 +193,9 @@ export default {
color: #323233; color: #323233;
} }
.confirm { .confirm {
border-color: #5850ff; border-color: #3975C6;
color: #fff; color: #fff;
background: #5850ff; background: #3975C6;
} }
} }
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div :class="[{'sticky':sticky}]"> <div :class="[{'sticky':sticky}]">
<van-tabs <van-tabs
v-model="tabIndex" v-model="tabIndex"
color="#5850ff" color="#3975C6"
title-inactive-color="#BBB" title-inactive-color="#BBB"
title-active-color="#2c2c2c" title-active-color="#2c2c2c"
@click="click" @click="click"
......
...@@ -45,7 +45,7 @@ export default { ...@@ -45,7 +45,7 @@ export default {
.van-tabbar { .van-tabbar {
box-shadow: 0px -2px 4px 0px rgba(0, 0, 0, 0.1), 0px 0px 0px 0px #e5e5e5; box-shadow: 0px -2px 4px 0px rgba(0, 0, 0, 0.1), 0px 0px 0px 0px #e5e5e5;
.van-tabbar-item--active { .van-tabbar-item--active {
color: #5850ff; color: #3975C6;
} }
} }
</style> </style>
...@@ -15,13 +15,6 @@ ...@@ -15,13 +15,6 @@
class="box" class="box"
:key="index" :key="index"
> >
<!-- <div
class="share text-center"
@click="share(i)"
>
转发
<div class="sprite-icon icon-attract-customer-share"></div>
</div> -->
<div class="title text-hide">{{i.codeName}}</div> <div class="title text-hide">{{i.codeName}}</div>
<div class="name-list"> <div class="name-list">
<div class="label">使用人员:</div> <div class="label">使用人员:</div>
...@@ -159,7 +152,7 @@ export default { ...@@ -159,7 +152,7 @@ export default {
top: 16px; top: 16px;
width: 63px; width: 63px;
height: 24px; height: 24px;
background: #5850ff; background: #3975c6;
border-radius: 12px; border-radius: 12px;
color: #ffffff; color: #ffffff;
.sprite-icon { .sprite-icon {
......
...@@ -287,8 +287,8 @@ export default { ...@@ -287,8 +287,8 @@ export default {
width: 108px; width: 108px;
height: 21px; height: 21px;
border-radius: 12px; border-radius: 12px;
border: 1px solid #5850ff; border: 1px solid #3975C6;
color: #5850ff; color: #3975C6;
font-size: 12px; font-size: 12px;
.sprite-icon { .sprite-icon {
margin-left: 4px; margin-left: 4px;
...@@ -320,7 +320,7 @@ export default { ...@@ -320,7 +320,7 @@ export default {
.btn { .btn {
width: 60px; width: 60px;
height: 20px; height: 20px;
background-color: #5850ff; background-color: #3975C6;
color: #fff; color: #fff;
font-size: 12px; font-size: 12px;
text-align: center; text-align: center;
...@@ -345,7 +345,7 @@ export default { ...@@ -345,7 +345,7 @@ export default {
border-radius: 14px; border-radius: 14px;
background-color: rgba(88, 80, 255, 0.15); background-color: rgba(88, 80, 255, 0.15);
font-size: 14px; font-size: 14px;
color: #5850ff; color: #3975C6;
padding: 4px 12px; padding: 4px 12px;
box-sizing: border-box; box-sizing: border-box;
align-items: center; align-items: center;
......
...@@ -134,7 +134,7 @@ export default { ...@@ -134,7 +134,7 @@ export default {
margin: 0 4px 4px 0; margin: 0 4px 4px 0;
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
color: #5850ff; color: #3975C6;
width: 64px; width: 64px;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
......
...@@ -266,7 +266,7 @@ export default { ...@@ -266,7 +266,7 @@ export default {
.customer-add-stay { .customer-add-stay {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #5850ff; color: #3975C6;
line-height: 17px; line-height: 17px;
margin-left: 78px; margin-left: 78px;
white-space: nowrap; white-space: nowrap;
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
<span v-for="user in item.userList" :key="user.id">{{ '@' + user.staffName }}</span> <span v-for="user in item.userList" :key="user.id">{{ '@' + user.staffName }}</span>
</div> </div>
</div> </div>
<van-button @click="showDialog(item)" style="margin-left: auto; border-radius: 12px; height: 24px" size="small" color="#5850FF"> <van-button @click="showDialog(item)" style="margin-left: auto; border-radius: 12px; height: 24px" size="small" color="#3975C6">
{{ item.chatId == null ? '创建群聊' : '加入群聊' }} {{ item.chatId == null ? '创建群聊' : '加入群聊' }}
</van-button> </van-button>
</div> </div>
...@@ -426,7 +426,7 @@ export default { ...@@ -426,7 +426,7 @@ export default {
line-height: 20px; line-height: 20px;
} }
.name { .name {
color: #5850ff; color: #3975C6;
} }
.container-top-title { .container-top-title {
font-size: 16px; font-size: 16px;
......
...@@ -79,7 +79,6 @@ ...@@ -79,7 +79,6 @@
</template> </template>
<script type='text/ecmascript-6'> <script type='text/ecmascript-6'>
import { liveBroadcast, wxConfig } from '@/api' import { liveBroadcast, wxConfig } from '@/api'
import { Notify } from 'vant'
export default { export default {
name: 'mass', name: 'mass',
data() { data() {
......
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
<van-button <van-button
class="my-button" class="my-button"
round round
color="#5850FF" color="#3975C6"
@click="handleTag" @click="handleTag"
>批量打标签</van-button> >批量打标签</van-button>
</div> </div>
...@@ -374,8 +374,8 @@ export default { ...@@ -374,8 +374,8 @@ export default {
} }
.tagContainer /deep/ .van-checkbox__icon--checked .van-icon { .tagContainer /deep/ .van-checkbox__icon--checked .van-icon {
color: #fff; color: #fff;
background-color: #5850ff !important; background-color: #3975C6 !important;
border-color: #5850ff !important; border-color: #3975C6 !important;
} }
.tagContainer /deep/.van-checkbox__icon .van-icon { .tagContainer /deep/.van-checkbox__icon .van-icon {
width: 16px; width: 16px;
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
</div> </div>
<div class="pop-footer"> <div class="pop-footer">
<div class="reset" @click="reset">重置</div> <div class="reset" @click="reset">重置</div>
<van-button class="my-pop-button" round color="#5850FF" @click="handleTag">打标签</van-button> <van-button class="my-pop-button" round color="#3975C6" @click="handleTag">打标签</van-button>
</div> </div>
</div> </div>
</van-popup> </van-popup>
...@@ -232,7 +232,7 @@ export default { ...@@ -232,7 +232,7 @@ export default {
margin-bottom: 10px; margin-bottom: 10px;
} }
.active { .active {
color: #5850ff; color: #3975C6;
background: rgba(88, 80, 255, 0.15); background: rgba(88, 80, 255, 0.15);
} }
} }
...@@ -282,7 +282,7 @@ export default { ...@@ -282,7 +282,7 @@ export default {
padding: 4px 25px 4px 12px; padding: 4px 25px 4px 12px;
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
color: #5850ff; color: #3975C6;
line-height: 20px; line-height: 20px;
background: rgba(88, 80, 255, 0.15); background: rgba(88, 80, 255, 0.15);
border-radius: 14px; border-radius: 14px;
......
...@@ -49,9 +49,8 @@ const spritesmithFunction = data => { ...@@ -49,9 +49,8 @@ const spritesmithFunction = data => {
return `${shared}\n${perSprite}` return `${shared}\n${perSprite}`
} }
module.exports = { module.exports = {
publicPath: IS_PROD ? './' : '/dj-scrm-wx-group-chat/', // 署应用包时的基本 URL。 vue-router hash 模式使用 // publicPath: IS_PROD ? './' : '/dj-scrm-wx-group-chat/', // 署应用包时的基本 URL。 vue-router hash 模式使用
// publicPath: IS_PROD ? './' : '/dj-scrm-wx-work-main/', // 署应用包时的基本 URL。 vue-router hash 模式使用 publicPath: IS_PROD ? './' : '/dj-scrm-wx-work-main/', // 署应用包时的基本 URL。 vue-router hash 模式使用
// publicPath: IS_PROD ? './' : '/dj-scrm-wx-work-attachment-customer/', // 署应用包时的基本 URL。 vue-router hash 模式使用 // publicPath: IS_PROD ? './' : '/dj-scrm-wx-work-attachment-customer/', // 署应用包时的基本 URL。 vue-router hash 模式使用
// publicPath: '/dj-scrm-wx-work-attachment-customer/', // 署应用包时的基本 URL。 vue-router history模式使用 // publicPath: '/dj-scrm-wx-work-attachment-customer/', // 署应用包时的基本 URL。 vue-router history模式使用
outputDir: 'dist', // 生产环境构建文件的目录 outputDir: 'dist', // 生产环境构建文件的目录
...@@ -87,8 +86,6 @@ module.exports = { ...@@ -87,8 +86,6 @@ module.exports = {
// 向全局sass样式传入共享的全局变量, $src可以配置图片cdn前缀 // 向全局sass样式传入共享的全局变量, $src可以配置图片cdn前缀
// 详情: https://cli.vuejs.org/guide/css.html#passing-options-to-pre-processor-loaders // 详情: https://cli.vuejs.org/guide/css.html#passing-options-to-pre-processor-loaders
prependData: ` prependData: `
@import "assets/css/mixin.scss";
@import "assets/css/variables.scss";
$cdn: "${defaultSettings.cdn}"; $cdn: "${defaultSettings.cdn}";
` `
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!