Commit f96329f8 by xinla

color: #333333 color: var(--font-black), color: #999999 color: #666666

color: #888   color: var(--font-black-6)
1 parent 7938f3a0
Showing 50 changed files with 146 additions and 156 deletions
...@@ -245,7 +245,7 @@ export default { ...@@ -245,7 +245,7 @@ export default {
color: var(--font-black); color: var(--font-black);
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
// color: #333333; // color: var(--font-black);
display: flex; display: flex;
align-items: center; align-items: center;
} }
......
...@@ -297,7 +297,7 @@ export default { ...@@ -297,7 +297,7 @@ export default {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #666666; color: var(--font-black-4);
display: flex; display: flex;
margin-top: 20px; margin-top: 20px;
...@@ -360,7 +360,7 @@ export default { ...@@ -360,7 +360,7 @@ export default {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #999999; color: var(--font-black-6);
img { img {
height: 40px; height: 40px;
width: 40px; width: 40px;
......
...@@ -201,7 +201,7 @@ export default { ...@@ -201,7 +201,7 @@ export default {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #999999; color: var(--font-black-6);
} }
.add-continue { .add-continue {
......
...@@ -102,7 +102,7 @@ export default { ...@@ -102,7 +102,7 @@ export default {
flex: none; flex: none;
font-size: 14px; font-size: 14px;
font-weight: 500; font-weight: 500;
color: #333333; color: var(--font-black);
} }
.preview-content { .preview-content {
......
...@@ -223,7 +223,7 @@ export default { ...@@ -223,7 +223,7 @@ export default {
color: var(--font-black); color: var(--font-black);
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
// color: #333333; // color: var(--font-black);
display: flex; display: flex;
align-items: center; align-items: center;
} }
......
...@@ -266,7 +266,7 @@ export default { ...@@ -266,7 +266,7 @@ export default {
color: var(--font-black); color: var(--font-black);
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
// color: #333333; // color: var(--font-black);
display: flex; display: flex;
align-items: center; align-items: center;
} }
......
...@@ -731,7 +731,7 @@ export default { ...@@ -731,7 +731,7 @@ export default {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #999999; color: var(--font-black-6);
} }
.add-continue { .add-continue {
......
...@@ -139,7 +139,7 @@ export default { ...@@ -139,7 +139,7 @@ export default {
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
color: #333333; color: var(--font-black);
} }
.content { .content {
...@@ -158,7 +158,7 @@ export default { ...@@ -158,7 +158,7 @@ export default {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #666666; color: var(--font-black-4);
display: flex; display: flex;
margin-top: 20px; margin-top: 20px;
...@@ -221,7 +221,7 @@ export default { ...@@ -221,7 +221,7 @@ export default {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #999999; color: var(--font-black-6);
img { img {
height: 40px; height: 40px;
width: 40px; width: 40px;
......
...@@ -125,7 +125,7 @@ export default { ...@@ -125,7 +125,7 @@ export default {
} }
} }
.el-icon-QuestionFilled { .el-icon-QuestionFilled {
color: #888; color: var(--font-black-6);
margin-left: 10px; margin-left: 10px;
} }
.home { .home {
......
...@@ -254,7 +254,7 @@ div:focus { ...@@ -254,7 +254,7 @@ div:focus {
color: var(--font-black); color: var(--font-black);
font-size: 14px; font-size: 14px;
font-weight: 600; font-weight: 600;
// color: #333333; // color: var(--font-black);
display: flex; display: flex;
align-items: center; align-items: center;
} }
......
...@@ -215,6 +215,6 @@ textarea { ...@@ -215,6 +215,6 @@ textarea {
.sub-des { .sub-des {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #999999; color: var(--font-black-6);
} }
</style> </style>
...@@ -339,7 +339,7 @@ export default { ...@@ -339,7 +339,7 @@ export default {
.sub-des { .sub-des {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #999999; color: var(--font-black-6);
} }
.info_title { .info_title {
font-size: 16px; font-size: 16px;
......
...@@ -141,7 +141,7 @@ export default { ...@@ -141,7 +141,7 @@ export default {
color: var(--font-black); color: var(--font-black);
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
// color: #333333; // color: var(--font-black);
display: flex; display: flex;
align-items: center; align-items: center;
} }
......
...@@ -318,7 +318,7 @@ export default { ...@@ -318,7 +318,7 @@ export default {
.sub-des { .sub-des {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #999999; color: var(--font-black-6);
} }
.title { .title {
font-size: 16px; font-size: 16px;
......
...@@ -102,7 +102,7 @@ export default { ...@@ -102,7 +102,7 @@ export default {
transform: translateX(-50%); transform: translateX(-50%);
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
color: #333333; color: var(--font-black);
} }
.content { .content {
...@@ -134,7 +134,7 @@ export default { ...@@ -134,7 +134,7 @@ export default {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #666666; color: var(--font-black-4);
display: flex; display: flex;
margin-top: 20px; margin-top: 20px;
padding: 20px; padding: 20px;
...@@ -153,6 +153,6 @@ export default { ...@@ -153,6 +153,6 @@ export default {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #999999; color: var(--font-black-6);
} }
</style> </style>
...@@ -26,22 +26,22 @@ ...@@ -26,22 +26,22 @@
</div> </div>
</template> </template>
<script> <script>
export default { export default {
name: 'short-link-preview-type-3', name: 'short-link-preview-type-3',
components: {}, components: {},
props: { props: {
name: { name: {
type: String, type: String,
default: '短链推广' default: '短链推广',
}, },
value: { value: {
type: String, type: String,
default: '' default: '',
}, },
poster: { poster: {
type: String, type: String,
default: '' default: '',
} },
}, },
watch: { watch: {
value(val) { value(val) {
...@@ -49,21 +49,21 @@ ...@@ -49,21 +49,21 @@
}, },
poster() { poster() {
// this.$forceUpdate() // this.$forceUpdate()
} },
}, },
data() { data() {
return { return {
list: [] list: [],
} }
}, },
created() {}, created() {},
mounted() {}, mounted() {},
methods: {} methods: {},
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.preview { .preview {
margin: 0 auto; margin: 0 auto;
position: relative; position: relative;
width: 300px; width: 300px;
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
color: #333333; color: var(--font-black);
} }
.content { .content {
...@@ -136,12 +136,12 @@ ...@@ -136,12 +136,12 @@
} }
} }
} }
} }
.sub-des { .sub-des {
text-align: center; text-align: center;
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #999999; color: var(--font-black-6);
} }
</style> </style>
...@@ -66,7 +66,7 @@ export default { ...@@ -66,7 +66,7 @@ export default {
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
color: #333333; color: var(--font-black);
} }
.content { .content {
...@@ -101,6 +101,6 @@ export default { ...@@ -101,6 +101,6 @@ export default {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #999999; color: var(--font-black-6);
} }
</style> </style>
...@@ -143,7 +143,7 @@ export default { ...@@ -143,7 +143,7 @@ export default {
font-size: 13px; font-size: 13px;
.name { .name {
margin-right: 6px; margin-right: 6px;
color: #888; color: var(--font-black-6);
} }
} }
} }
......
...@@ -386,7 +386,7 @@ export default { ...@@ -386,7 +386,7 @@ export default {
.sub-des { .sub-des {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #999999; color: var(--font-black-6);
} }
.roster-btn-delete { .roster-btn-delete {
margin-top: -16%; margin-top: -16%;
......
...@@ -136,7 +136,7 @@ export default { ...@@ -136,7 +136,7 @@ export default {
} }
.timeline-time { .timeline-time {
font-size: 14px; font-size: 14px;
color: #999999; color: var(--font-black-6);
line-height: 48px; line-height: 48px;
} }
.el-timeline > .timeline-box-item:first-child ::v-deep .el-timeline-item__node { .el-timeline > .timeline-box-item:first-child ::v-deep .el-timeline-item__node {
......
...@@ -219,7 +219,7 @@ export default { ...@@ -219,7 +219,7 @@ export default {
} }
.timeline-time { .timeline-time {
font-size: 14px; font-size: 14px;
color: #999999; color: var(--font-black-6);
line-height: 48px; line-height: 48px;
} }
.el-timeline > .timeline-box-item:first-child ::v-deep .el-timeline-item__node { .el-timeline > .timeline-box-item:first-child ::v-deep .el-timeline-item__node {
......
...@@ -380,6 +380,6 @@ export default { ...@@ -380,6 +380,6 @@ export default {
font-size: 12px; font-size: 12px;
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
color: #999999; color: var(--font-black-6);
} }
</style> </style>
...@@ -254,7 +254,7 @@ export default { ...@@ -254,7 +254,7 @@ export default {
color: var(--font-black); color: var(--font-black);
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
// color: #333333; // color: var(--font-black);
display: flex; display: flex;
align-items: center; align-items: center;
} }
......
...@@ -131,7 +131,7 @@ export default { ...@@ -131,7 +131,7 @@ export default {
padding: 5px 20px; padding: 5px 20px;
margin-top: 10px; margin-top: 10px;
font-size: 12px; font-size: 12px;
color: #999999; color: var(--font-black-6);
.title { .title {
margin-bottom: 10px; margin-bottom: 10px;
font-size: 14px; font-size: 14px;
......
...@@ -62,7 +62,7 @@ export default { ...@@ -62,7 +62,7 @@ export default {
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
color: #333333; color: var(--font-black);
} }
.content { .content {
...@@ -97,6 +97,6 @@ export default { ...@@ -97,6 +97,6 @@ export default {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #999999; color: var(--font-black-6);
} }
</style> </style>
...@@ -112,7 +112,7 @@ export default { ...@@ -112,7 +112,7 @@ export default {
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
color: #333333; color: var(--font-black);
} }
.content { .content {
...@@ -148,6 +148,6 @@ export default { ...@@ -148,6 +148,6 @@ export default {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #999999; color: var(--font-black-6);
} }
</style> </style>
...@@ -213,7 +213,7 @@ export default { ...@@ -213,7 +213,7 @@ export default {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #999999; color: var(--font-black-6);
} }
::v-deep .image-uploader { ::v-deep .image-uploader {
.uploader-icon { .uploader-icon {
......
...@@ -410,7 +410,7 @@ export default { ...@@ -410,7 +410,7 @@ export default {
background-color: white; background-color: white;
padding: 0 10px; padding: 0 10px;
font-weight: bold; font-weight: bold;
color: #666666; color: var(--font-black-4);
.example-text { .example-text {
font-size: 12px; font-size: 12px;
......
...@@ -488,7 +488,7 @@ export default { ...@@ -488,7 +488,7 @@ export default {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #999999; color: var(--font-black-6);
} }
.total-item { .total-item {
...@@ -515,7 +515,7 @@ export default { ...@@ -515,7 +515,7 @@ export default {
font-size: 16px; font-size: 16px;
font-weight: 500; font-weight: 500;
color: #333333; color: var(--font-black);
margin-bottom: 20px; margin-bottom: 20px;
} }
</style> </style>
...@@ -176,7 +176,7 @@ export default { ...@@ -176,7 +176,7 @@ export default {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #999999; color: var(--font-black-6);
} }
.total-item { .total-item {
......
...@@ -462,7 +462,7 @@ export default { ...@@ -462,7 +462,7 @@ export default {
.sub-des { .sub-des {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #999999; color: var(--font-black-6);
} }
::v-deep .image-uploader { ::v-deep .image-uploader {
.uploader-icon { .uploader-icon {
......
...@@ -1498,7 +1498,7 @@ export default { ...@@ -1498,7 +1498,7 @@ export default {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #999999; color: var(--font-black-6);
} }
.add-continue { .add-continue {
...@@ -1537,7 +1537,7 @@ export default { ...@@ -1537,7 +1537,7 @@ export default {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #666666; color: var(--font-black-4);
display: flex; display: flex;
} }
......
...@@ -1043,7 +1043,7 @@ export default { ...@@ -1043,7 +1043,7 @@ export default {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #999999; color: var(--font-black-6);
} }
.add-continue { .add-continue {
...@@ -1081,7 +1081,7 @@ export default { ...@@ -1081,7 +1081,7 @@ export default {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #666666; color: var(--font-black-4);
display: flex; display: flex;
} }
......
...@@ -431,7 +431,7 @@ export default { ...@@ -431,7 +431,7 @@ export default {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #666666; color: var(--font-black-4);
display: flex; display: flex;
} }
...@@ -469,7 +469,7 @@ export default { ...@@ -469,7 +469,7 @@ export default {
font-size: 16px; font-size: 16px;
font-weight: 500; font-weight: 500;
color: #333333; color: var(--font-black);
} }
.right-title-edit { .right-title-edit {
font-size: 12px; font-size: 12px;
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
<div> <div>
<el-form label-width="120px" label-position="right" ref="form" :rules="rule" :model="form"> <el-form label-width="120px" label-position="right" ref="form" :rules="rule" :model="form">
<div class="g-card"> <div class="g-card">
<div class="card-title" style="display: inline-block;">基础信息</div> <div class="card-title" style="display: inline-block">基础信息</div>
<div style="float: right;" v-if="isDetail"> <div style="float: right" v-if="isDetail">
<el-button <el-button
type="primary" type="primary"
@click=" @click="
...@@ -11,11 +11,10 @@ ...@@ -11,11 +11,10 @@
path: 'add', path: 'add',
query: { query: {
id: $route.query.id, id: $route.query.id,
obj: encodeURIComponent(JSON.stringify(form)) obj: encodeURIComponent(JSON.stringify(form)),
} },
}) })
" ">
>
编辑 编辑
</el-button> </el-button>
</div> </div>
...@@ -24,10 +23,9 @@ ...@@ -24,10 +23,9 @@
:disabled="isDetail" :disabled="isDetail"
v-model="form.storeName" v-model="form.storeName"
placeholder="请输入门店名称" placeholder="请输入门店名称"
style="width: 400px;" style="width: 400px"
show-word-limit show-word-limit
maxlength="30" maxlength="30" />
/>
</el-form-item> </el-form-item>
<el-form-item label="所属地区" prop="area"> <el-form-item label="所属地区" prop="area">
<el-cascader <el-cascader
...@@ -36,8 +34,7 @@ ...@@ -36,8 +34,7 @@
:props="props" :props="props"
:options="cityTree" :options="cityTree"
ref="tree" ref="tree"
@change="handleTree" @change="handleTree"></el-cascader>
></el-cascader>
</el-form-item> </el-form-item>
<baidu-map @update="handleChange" @point="getPoint" :isDetail="isDetail" :initData="form"></baidu-map> <baidu-map @update="handleChange" @point="getPoint" :isDetail="isDetail" :initData="form"></baidu-map>
</div> </div>
...@@ -50,10 +47,10 @@ ...@@ -50,10 +47,10 @@
<el-button v-if="!isDetail" icon="el-icon-plus" type="primary" plain @click="dialogVisibleQr = true"> <el-button v-if="!isDetail" icon="el-icon-plus" type="primary" plain @click="dialogVisibleQr = true">
{{ form.shopGuideUrl ? '编辑' : '选择' }}员工活码 {{ form.shopGuideUrl ? '编辑' : '选择' }}员工活码
</el-button> </el-button>
<div style="margin-top: 10px;" v-if="form.shopGuideUrl"> <div style="margin-top: 10px" v-if="form.shopGuideUrl">
<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="form.shopGuideUrl" /> <img style="width: 100%; height: 100%" :src="form.shopGuideUrl" />
<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>
...@@ -66,7 +63,7 @@ ...@@ -66,7 +63,7 @@
<el-form-item label="门店群活码"> <el-form-item label="门店群活码">
<div v-if="form.groupCodeUrl"> <div v-if="form.groupCodeUrl">
<div>{{ form.groupCodeName }}</div> <div>{{ form.groupCodeName }}</div>
<img style="height: 80px; width: 80px; margin-top: 5px;" :src="form.groupCodeUrl" /> <img style="height: 80px; width: 80px; margin-top: 5px" :src="form.groupCodeUrl" />
</div> </div>
<el-button <el-button
...@@ -74,8 +71,7 @@ ...@@ -74,8 +71,7 @@
icon="el-icon-plus" icon="el-icon-plus"
type="primary" type="primary"
plain plain
@click="dialogVisibleSelectQrCode = true" @click="dialogVisibleSelectQrCode = true">
>
{{ form.groupCodeUrl ? '编辑' : '选择' }}群活码 {{ form.groupCodeUrl ? '编辑' : '选择' }}群活码
</el-button> </el-button>
</el-form-item> </el-form-item>
...@@ -87,8 +83,7 @@ ...@@ -87,8 +83,7 @@
active-text="启用" active-text="启用"
inactive-text="停用" inactive-text="停用"
:active-value="0" :active-value="0"
:inactive-value="1" :inactive-value="1"></el-switch>
></el-switch>
</template> </template>
<template v-else> <template v-else>
<el-switch <el-switch
...@@ -97,8 +92,7 @@ ...@@ -97,8 +92,7 @@
active-text="启用" active-text="启用"
inactive-text="停用" inactive-text="停用"
:active-value="0" :active-value="0"
:inactive-value="1" :inactive-value="1"></el-switch>
></el-switch>
</template> </template>
</el-form-item> </el-form-item>
</div> </div>
...@@ -118,20 +112,19 @@ ...@@ -118,20 +112,19 @@
<SelectQrCode <SelectQrCode
v-model:visible="dialogVisibleSelectQrCode" v-model:visible="dialogVisibleSelectQrCode"
@success="selectedQrCode" @success="selectedQrCode"
:selected="selectedCodeList" :selected="selectedCodeList"></SelectQrCode>
></SelectQrCode>
<SelectStaffQrCode v-model:visible="dialogVisibleQr" @success="selectedQr"></SelectStaffQrCode> <SelectStaffQrCode v-model:visible="dialogVisibleQr" @success="selectedQr"></SelectStaffQrCode>
</div> </div>
</template> </template>
<script> <script>
import BaiduMap from '@/components/common/BaiduMap' import BaiduMap from '@/components/common/BaiduMap'
import SelectQrCode from '@/components/SelectQrCode' import SelectQrCode from '@/components/SelectQrCode'
import SelectUser from '@/components/SelectUser' import SelectUser from '@/components/SelectUser'
import SelectStaffQrCode from '@/components/SelectStaffQrCode' import SelectStaffQrCode from '@/components/SelectStaffQrCode'
import { getProCityList } from '@/api/common' import { getProCityList } from '@/api/common'
import { addOrUpdateStore, storeDetail } from '@/api/drainageCode/store' import { addOrUpdateStore, storeDetail } from '@/api/drainageCode/store'
export default { export default {
name: 'store-add', name: 'store-add',
data() { data() {
return { return {
...@@ -139,7 +132,7 @@ ...@@ -139,7 +132,7 @@
current: { current: {
province: '', province: '',
city: '', city: '',
area: '' area: '',
}, },
form: { form: {
storeState: 1, storeState: 1,
...@@ -156,7 +149,7 @@ ...@@ -156,7 +149,7 @@
groupCodeUrl: '', groupCodeUrl: '',
groupCodeName: '', groupCodeName: '',
groupCodeId: '', groupCodeId: '',
shopGuideUrl: '' shopGuideUrl: '',
}, },
selectedUserList: [], selectedUserList: [],
dialogVisibleSelectUser: false, dialogVisibleSelectUser: false,
...@@ -166,27 +159,27 @@ ...@@ -166,27 +159,27 @@
cityTree: [], cityTree: [],
props: { props: {
label: 'name', label: 'name',
value: 'name' value: 'name',
}, },
rule: { rule: {
storeName: [{ required: true, message: '请输入门店名称', trigger: 'blur' }], storeName: [{ required: true, message: '请输入门店名称', trigger: 'blur' }],
area: [{ required: true, message: '请选择所属地区', trigger: 'blur' }], area: [{ required: true, message: '请选择所属地区', trigger: 'blur' }],
address: [{ required: true, message: '请选择详细地址', trigger: 'blur' }] address: [{ required: true, message: '请选择详细地址', trigger: 'blur' }],
}, },
dialogVisibleQr: false dialogVisibleQr: false,
} }
}, },
props: { props: {
isDetail: { isDetail: {
type: Boolean, type: Boolean,
default: false default: false,
} },
}, },
components: { components: {
BaiduMap, BaiduMap,
SelectQrCode, SelectQrCode,
SelectUser, SelectUser,
SelectStaffQrCode SelectStaffQrCode,
}, },
methods: { methods: {
handleRemove() { handleRemove() {
...@@ -278,7 +271,7 @@ ...@@ -278,7 +271,7 @@
this.$confirm(`是否确认取消${this.$route.query.id ? '编辑' : '新建'}?取消后不可恢复,请谨慎操作。`, '提示', { this.$confirm(`是否确认取消${this.$route.query.id ? '编辑' : '新建'}?取消后不可恢复,请谨慎操作。`, '提示', {
confirmButtonText: '确认', confirmButtonText: '确认',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning',
}) })
.then(() => { .then(() => {
this.$router.back() this.$router.back()
...@@ -305,7 +298,7 @@ ...@@ -305,7 +298,7 @@
this.selectedUserList = [...arr] this.selectedUserList = [...arr]
// this.$forceUpdate() // this.$forceUpdate()
} }
} },
}, },
created() { created() {
getProCityList({ isExtName: true }).then((res) => { getProCityList({ isExtName: true }).then((res) => {
...@@ -321,15 +314,15 @@ ...@@ -321,15 +314,15 @@
} }
}) })
} }
} },
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.card-title { .card-title {
font-size: 16px; font-size: 16px;
font-weight: 500; font-weight: 500;
color: #333333; color: var(--font-black);
margin-bottom: 20px; margin-bottom: 20px;
} }
</style> </style>
...@@ -385,6 +385,6 @@ export default { ...@@ -385,6 +385,6 @@ export default {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #999999; color: var(--font-black-6);
} }
</style> </style>
...@@ -181,6 +181,6 @@ export default { ...@@ -181,6 +181,6 @@ export default {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #999999; color: var(--font-black-6);
} }
</style> </style>
...@@ -247,7 +247,7 @@ export default { ...@@ -247,7 +247,7 @@ export default {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #666666; color: var(--font-black-4);
display: flex; display: flex;
} }
</style> </style>
...@@ -420,7 +420,7 @@ export default { ...@@ -420,7 +420,7 @@ export default {
font-size: 14px; font-size: 14px;
font-weight: 600; font-weight: 600;
color: #333333; color: var(--font-black);
display: flex; display: flex;
align-items: center; align-items: center;
} }
......
...@@ -242,7 +242,7 @@ export default { ...@@ -242,7 +242,7 @@ export default {
font-size: 14px; font-size: 14px;
font-weight: 600; font-weight: 600;
color: #333333; color: var(--font-black);
display: flex; display: flex;
align-items: center; align-items: center;
} }
......
...@@ -646,7 +646,7 @@ export default { ...@@ -646,7 +646,7 @@ export default {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #666666; color: var(--font-black-4);
display: flex; display: flex;
} }
......
...@@ -451,7 +451,7 @@ export default { ...@@ -451,7 +451,7 @@ export default {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #666666; color: var(--font-black-4);
display: flex; display: flex;
} }
......
...@@ -156,7 +156,7 @@ export default { ...@@ -156,7 +156,7 @@ export default {
font-size: 12px; font-size: 12px;
font-family: 'PingFang SC-中等', 'PingFang SC'; font-family: 'PingFang SC-中等', 'PingFang SC';
font-weight: normal; font-weight: normal;
color: #666666; color: var(--font-black-4);
line-height: 17px; line-height: 17px;
} }
.nomal { .nomal {
...@@ -178,11 +178,11 @@ export default { ...@@ -178,11 +178,11 @@ export default {
line-height: 17px; line-height: 17px;
} }
span:nth-child(1) { span:nth-child(1) {
color: #666666; color: var(--font-black-4);
margin-bottom: 9px; margin-bottom: 9px;
} }
span:nth-child(2) { span:nth-child(2) {
color: #999999; color: var(--font-black-6);
} }
} }
} }
......
<script> <script>
import { getList, getAnalysis, remove } from '@/api/intelligentShortLink' import { getList, getAnalysis, remove } from '@/api/intelligentShortLink'
import * as api from '@/api/enterpriseId' import * as api from '@/api/enterpriseId'
import { touchTypeDict } from './components/mixin' import { touchTypeDict } from './components/mixin'
export default { export default {
name: '', name: '',
components: {}, components: {},
data() { data() {
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
total: 0, total: 0,
query: { query: {
pageSize: 10, pageSize: 10,
pageNum: 1 pageNum: 1,
}, },
touchTypeDict, touchTypeDict,
// dictStatus: Object.freeze({ // dictStatus: Object.freeze({
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
list: [], list: [],
ids: [], ids: [],
needMoreInfo: false, needMoreInfo: false,
dialogVisible: false dialogVisible: false,
} }
}, },
computed: {}, computed: {},
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
}, },
gotoSetting() { gotoSetting() {
this.$router.push({ this.$router.push({
path: '/enterpriseManage/enterpriseWechat' path: '/enterpriseManage/enterpriseWechat',
}) })
}, },
setState() { setState() {
...@@ -66,39 +66,39 @@ ...@@ -66,39 +66,39 @@
{ {
title: '访问总数(pv)', title: '访问总数(pv)',
tips: '短链页面访问的总次数', tips: '短链页面访问的总次数',
value: data.pvTotalCount value: data.pvTotalCount,
}, },
{ {
title: '访问总人数(uv)', title: '访问总人数(uv)',
tips: '短链页面访问的独立IP数', tips: '短链页面访问的独立IP数',
value: data.uvTotalCount value: data.uvTotalCount,
}, },
{ {
title: '小程序打开数', title: '小程序打开数',
tips: '小程序成功打开的总次数', tips: '小程序成功打开的总次数',
value: data.openTotalCount value: data.openTotalCount,
}, },
{ {
title: '今日访问总数(pv)', title: '今日访问总数(pv)',
tips: '今日短链页面访问的总次数', tips: '今日短链页面访问的总次数',
value: data.pvTodayCount, value: data.pvTodayCount,
title1: '较昨日', title1: '较昨日',
value1: data.pvDiff value1: data.pvDiff,
}, },
{ {
title: '今日访问总人数(uv)', title: '今日访问总人数(uv)',
tips: '今日短链页面访问的独立IP数', tips: '今日短链页面访问的独立IP数',
value: data.uvTodayCount, value: data.uvTodayCount,
title1: '较昨日', title1: '较昨日',
value1: data.uvDiff value1: data.uvDiff,
}, },
{ {
title: '今日小程序打开数', title: '今日小程序打开数',
tips: '今日小程序成功打开的总次数', tips: '今日小程序成功打开的总次数',
value: data.openTodayCount, value: data.openTodayCount,
title1: '较昨日', title1: '较昨日',
value1: data.openDiff value1: data.openDiff,
} },
] ]
}) })
.catch((e) => { .catch((e) => {
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
let { id } = row let { id } = row
this.$router.push({ this.$router.push({
path: './' + (detail || 'addEdit'), path: './' + (detail || 'addEdit'),
query: { id } query: { id },
}) })
}, },
remove(id) { remove(id) {
...@@ -141,7 +141,7 @@ ...@@ -141,7 +141,7 @@
this.$confirm('是否确认删除吗?', '警告', { this.$confirm('是否确认删除吗?', '警告', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning',
}) })
.then(function () { .then(function () {
return remove(ids) return remove(ids)
...@@ -150,9 +150,9 @@ ...@@ -150,9 +150,9 @@
this.getList() this.getList()
this.msgSuccess('删除成功') this.msgSuccess('删除成功')
}) })
} },
} },
} }
</script> </script>
<template> <template>
...@@ -169,8 +169,7 @@ ...@@ -169,8 +169,7 @@
v-for="(item, index) in touchTypeDict" v-for="(item, index) in touchTypeDict"
:key="index" :key="index"
:label="item.allName" :label="item.allName"
:value="+index" :value="+index"></el-option>
></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<!-- <el-form-item label="" prop="status"> <!-- <el-form-item label="" prop="status">
...@@ -202,8 +201,7 @@ ...@@ -202,8 +201,7 @@
<el-icon-copy-document <el-icon-copy-document
class="el-icon-copy-document copy-btn cp ml20" class="el-icon-copy-document copy-btn cp ml20"
title="复制" title="复制"
:data-clipboard-text="row.shortLink" :data-clipboard-text="row.shortLink"></el-icon-copy-document>
></el-icon-copy-document>
</template> </template>
</el-table-column> </el-table-column>
<!-- <el-table-column label="状态" align="center" prop="status"> <!-- <el-table-column label="状态" align="center" prop="status">
...@@ -221,14 +219,13 @@ ...@@ -221,14 +219,13 @@
<pagination :total="total" v-model:page="query.pageNum" v-model:limit="query.pageSize" @pagination="getList()" /> <pagination :total="total" v-model:page="query.pageNum" v-model:limit="query.pageSize" @pagination="getList()" />
<template v-if="!list.length"> <template v-if="!list.length">
<div class="tips"> <div class="tips">
智能短链需要先配置短链小程序,否则无法正常使用,<a class="link" @click="gotoSetting">去配置</a> 智能短链需要先配置短链小程序,否则无法正常使用,
<a class="link" @click="gotoSetting">去配置</a>
</div> </div>
</template> </template>
</div> </div>
<el-dialog title="提示" :close-on-click-modal="false" :show-close="false" v-model="dialogVisible" width="auto"> <el-dialog title="提示" :close-on-click-modal="false" :show-close="false" v-model="dialogVisible" width="auto">
<div style="text-align: center;"> <div style="text-align: center">智能短链需要先配置短链小程序,否则无法正常使用。</div>
智能短链需要先配置短链小程序,否则无法正常使用。
</div>
<template #footer> <template #footer>
<span class="dialog-footer"> <span class="dialog-footer">
<el-button @click="cancelFn">继续新建</el-button> <el-button @click="cancelFn">继续新建</el-button>
...@@ -240,18 +237,18 @@ ...@@ -240,18 +237,18 @@
</template> </template>
<style lang="scss" scoped> <style lang="scss" scoped>
.tips { .tips {
margin-top: 30px; margin-top: 30px;
text-align: center; text-align: center;
color: #999999; color: var(--font-black-6);
} }
.link { .link {
color: var(--color); color: var(--color);
border-bottom: 1px solid var(--color); border-bottom: 1px solid var(--color);
} }
.el-icon-copy-document { .el-icon-copy-document {
&:hover { &:hover {
color: var(--color); color: var(--color);
} }
} }
</style> </style>
...@@ -342,19 +342,19 @@ export default { ...@@ -342,19 +342,19 @@ export default {
font-size: 16px; font-size: 16px;
} }
.desc { .desc {
color: #888; color: var(--font-black-6);
word-break: break-all; word-break: break-all;
margin: 5px 0; margin: 5px 0;
} }
.list-label { .list-label {
color: #888; color: var(--font-black-6);
width: 90px; width: 90px;
} }
} }
} }
.dialog-tip { .dialog-tip {
color: #888; color: var(--font-black-6);
font-size: 12px; font-size: 12px;
} }
// .avatar-wrap { // .avatar-wrap {
......
...@@ -223,7 +223,7 @@ export default { ...@@ -223,7 +223,7 @@ export default {
} }
.dialog-tip { .dialog-tip {
color: #888; color: var(--font-black-6);
font-size: 12px; font-size: 12px;
} }
</style> </style>
...@@ -993,6 +993,6 @@ export default { ...@@ -993,6 +993,6 @@ export default {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #999999; color: var(--font-black-6);
} }
</style> </style>
...@@ -366,7 +366,7 @@ export default { ...@@ -366,7 +366,7 @@ export default {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #999999; color: var(--font-black-6);
} }
.red-packet-message { .red-packet-message {
display: inline-block; display: inline-block;
......
...@@ -290,6 +290,6 @@ export default { ...@@ -290,6 +290,6 @@ export default {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #999999; color: var(--font-black-6);
} }
</style> </style>
...@@ -322,6 +322,6 @@ export default { ...@@ -322,6 +322,6 @@ export default {
font-size: 12px; font-size: 12px;
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
color: #999999; color: var(--font-black-6);
} }
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!