Commit d3600baf by 张权

Merge branch 'v2.6.0' of http://192.168.3.233:8090/saas/scrm-micro-services into v2.6.0

2 parents b4e87f7b 42fab92c
This diff could not be displayed because it is too large.
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
"el-tree-transfer": "^2.2.6", "el-tree-transfer": "^2.2.6",
"element-ui": "^2.4.5", "element-ui": "^2.4.5",
"glsx-common": "^1.4.6", "glsx-common": "^1.4.6",
"glsx-components": "^1.4.3", "glsx-components": "^1.4.4",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"vue": "^2.6.10", "vue": "^2.6.10",
"vue-router": "^3.1.3", "vue-router": "^3.1.3",
......
...@@ -2,7 +2,7 @@ import Vue from 'vue' ...@@ -2,7 +2,7 @@ import Vue from 'vue'
import ElementUI from 'element-ui' import ElementUI from 'element-ui'
import { message, messageBox } from '@/plugins/element.js' import { message, messageBox } from '@/plugins/element.js'
import { fetchConfig } from '@/config' import { fetchConfig } from '@/config'
import { GLButton, GLTable, GLCombiForm, GLTableButton } from 'glsx-components' //权限按钮 (根据权限动态创建) import { GLButton, GLTable, GLCombiForm, GLTableButton,GLDialog } from 'glsx-components' //权限按钮 (根据权限动态创建)
import { getRoutes } from '@/router' import { getRoutes } from '@/router'
import render from './render' import render from './render'
import 'glsx-components/dist/glsx-components.css' import 'glsx-components/dist/glsx-components.css'
...@@ -14,6 +14,7 @@ Vue.use(GLTable) ...@@ -14,6 +14,7 @@ Vue.use(GLTable)
Vue.use(ElementUI) Vue.use(ElementUI)
Vue.use(GLCombiForm) Vue.use(GLCombiForm)
Vue.use(GLTableButton) Vue.use(GLTableButton)
Vue.use(GLDialog)
// Vue.use(Table) // Vue.use(Table)
// Vue.use(TableColumn) // Vue.use(TableColumn)
export async function bootstrap({ history, common, messenger, globalState, routerBase }) { export async function bootstrap({ history, common, messenger, globalState, routerBase }) {
......
...@@ -188,24 +188,20 @@ ...@@ -188,24 +188,20 @@
</div> </div>
<!-- 底部固定按钮 --> <!-- 底部固定按钮 -->
<div style="height: 78px"></div> <!-- <div style="height: 78px"></div> -->
<div <div
class="fixed_bottom" class="fixed_bottom"
:style="{
left: footerLeft + 'px',
width: footerWidth + 'px'
}"
> >
<div class="ma_top"></div> <!-- <div class="ma_top"></div> -->
<div class="flex_cc ma_bot"> <div class="flex_cc ma_bot">
<el-button v-if="![3, 5].includes(routeInfo.addOrEdit)" size="small" class="custom_black" @click="handleReset">重置</el-button> <el-button v-if="![3, 5].includes(routeInfo.addOrEdit)" class="custom_black" @click="handleReset">重置</el-button>
<div class="mar-10"></div> <div class="mar-10"></div>
<el-button class="custom_blue" v-if="![3, 5].includes(routeInfo.addOrEdit)" size="small" @click="handleDraft">草稿</el-button> <el-button class="custom_blue" v-if="![3, 5].includes(routeInfo.addOrEdit)" @click="handleDraft">草稿</el-button>
<div class="mar-10"></div> <div class="mar-10"></div>
<el-button v-if="routeInfo.addOrEdit != '5'" type="primary" size="small" @click="handleConfirm">{{ routeInfo.addOrEdit != '3' ? '提单' : '确定' }}</el-button> <el-button v-if="routeInfo.addOrEdit != '5'" type="primary" @click="handleConfirm">{{ routeInfo.addOrEdit != '3' ? '提单' : '确定' }}</el-button>
<div class="mar-10"></div> <div class="mar-10"></div>
<el-button v-if="routeInfo.addOrEdit != 5" size="small" @click="handleCancel">返回</el-button> <el-button v-if="routeInfo.addOrEdit != 5" @click="handleCancel">返回</el-button>
<el-button v-else size="small" type="primary" @click="handleCancel">返回</el-button> <el-button v-else type="primary" @click="handleCancel">返回</el-button>
</div> </div>
</div> </div>
...@@ -232,8 +228,6 @@ export default { ...@@ -232,8 +228,6 @@ export default {
PC0005: '', PC0005: '',
PC0007: '' PC0007: ''
}, },
footerLeft: '0',
footerWidth: '0',
editCarChildRef: 'editChildRef', editCarChildRef: 'editChildRef',
disabled: false, disabled: false,
successDisable: false, successDisable: false,
...@@ -734,8 +728,6 @@ export default { ...@@ -734,8 +728,6 @@ export default {
}, },
mounted() { mounted() {
this.footerLeft = document.querySelector('.base-container-right').offsetLeft
this.footerWidth = document.documentElement.clientWidth - this.footerLeft
const urlParam = this.$route.params const urlParam = this.$route.params
this.routeInfo = JSON.parse(decodeURIComponent(urlParam.id)) this.routeInfo = JSON.parse(decodeURIComponent(urlParam.id))
this.disabled = this.routeInfo.addOrEdit == '5' this.disabled = this.routeInfo.addOrEdit == '5'
...@@ -1815,9 +1807,9 @@ export default { ...@@ -1815,9 +1807,9 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.edit-equity { // .edit-equity {
margin-top: 17px; // margin-top: 17px;
} // }
.before-sale .container { .before-sale .container {
background: #ffffff; background: #ffffff;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1); box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
...@@ -2081,24 +2073,24 @@ export default { ...@@ -2081,24 +2073,24 @@ export default {
margin-right: 10px; margin-right: 10px;
} }
.fixed_bottom { .fixed_bottom {
position: fixed; // position: fixed;
width: 100%; // width: 100%;
bottom: 0px; // bottom: 0px;
height: 82px; // height: 82px;
// display: flex; // display: flex;
// align-items: center; // align-items: center;
// justify-content: center; // justify-content: center;
background: #ffffff; // background: #ffffff;
z-index: 999; // z-index: 999;
// box-shadow: 0px -1px 1px 0px rgba(88, 80, 255, 0.1); // box-shadow: 0px -1px 1px 0px rgba(88, 80, 255, 0.1);
.ma_top { // .ma_top {
height: 4px; // height: 4px;
background: #f4f5fa; // background: #f4f5fa;
} // }
.ma_bot { .ma_bot {
box-sizing: border-box; box-sizing: border-box;
padding: 0 20px 0 40px; padding-top: 16px;
height: 78px; // height: 78px;
.custom_black { .custom_black {
background: #ffffff; background: #ffffff;
color: #333333; color: #333333;
......
...@@ -943,9 +943,9 @@ export default { ...@@ -943,9 +943,9 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.before-sale { // .before-sale {
margin-top: 17px; // margin-top: 17px;
} // }
.before-sale .flex { .before-sale .flex {
display: flex; display: flex;
} }
......
...@@ -13,24 +13,32 @@ ...@@ -13,24 +13,32 @@
</div> </div>
</div> </div>
<div class="mid_wrapper"> <div class="mid_wrapper">
<div class="content_one flex_sc"> <div class="step_wrap_widget flex_sc">
<div class="title left"> <div class="left box">
<span>您提供的</span> <div class="title">您提供的</div>
<div class="line flex_sc">
<i class="el-icon-caret-right"></i> <i class="el-icon-caret-right"></i>
</div> </div>
<div class="title right"> <div class="box_item_wrap flex_cc">
<span>您将获得的</span> <img :src="localList[0].icon" />
<div class="icon_point"></div> <div class="box_title">{{ localList[0].title }}</div>
</div>
</div> </div>
<div class="right box">
<div class="title">您将获得的</div>
<div class="line flex_sc">
<div class="icon_point"></div>
</div> </div>
<div class="content_two flex_scb"> <div class="box_line flex_scb">
<template v-for="(item, index) in localList"> <template v-for="(item, index) in localList">
<div :key="index" class="box_item_wrap flex_cc"> <div v-if="index" :key="index" class="box_item_wrap flex_cc">
<img :src="item.icon" /> <img :src="item.icon" />
<div class="box_title">{{ item.title }}</div> <div class="box_title">{{ item.title }}</div>
</div> </div>
</template> </template>
</div> </div>
</div>
</div>
<div class="label_title">无忧案例</div> <div class="label_title">无忧案例</div>
<div class="content_three"> <div class="content_three">
<template v-for="(item, index) in localList2"> <template v-for="(item, index) in localList2">
...@@ -76,7 +84,7 @@ export default { ...@@ -76,7 +84,7 @@ export default {
return { return {
videoShow: false, videoShow: false,
code: 'https://img01.glsx.com.cn/weapp/resource/saas/scrm/wangdy.png', code: 'https://img01.glsx.com.cn/weapp/resource/saas/scrm/wangdy.png',
phone:'134 8079 2980', phone: '134 8079 2980',
localList: [ localList: [
{ {
icon: 'https://img01.glsx.com.cn/weapp/resource/saas/scrm/before_icon_1.png', icon: 'https://img01.glsx.com.cn/weapp/resource/saas/scrm/before_icon_1.png',
...@@ -118,7 +126,7 @@ export default { ...@@ -118,7 +126,7 @@ export default {
}, },
mounted() { mounted() {
// let [href] = window.location.href.split('/#/') // let [href] = window.location.href.split('/#/')
let href = window.location.host; let href = window.location.host
// 从域名判断是不是广汇的 // 从域名判断是不是广汇的
let gxurl1 = 'http://scrm.cgacar.com' let gxurl1 = 'http://scrm.cgacar.com'
let gxurl2 = 'https://scrm.cgacar.com' let gxurl2 = 'https://scrm.cgacar.com'
...@@ -135,9 +143,9 @@ export default { ...@@ -135,9 +143,9 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.introduct_container { // .introduct_container {
margin-top: 17px; // margin-top: 17px;
} // }
.top_play_wrap { .top_play_wrap {
height: 360px; height: 360px;
background: #ffffff; background: #ffffff;
...@@ -197,49 +205,51 @@ export default { ...@@ -197,49 +205,51 @@ export default {
margin-top: 20px; margin-top: 20px;
box-sizing: border-box; box-sizing: border-box;
padding: 20px; padding: 20px;
.content_one { .step_wrap_widget {
box-sizing: border-box; padding: 20px 0 0 0;
padding: 20px 0 14px 0; .left {
border-bottom: 1px solid #e8e8e8; width: 33.33%;
}
.right {
width: 66.67%;
}
.box {
.title { .title {
font-size: 18px; font-size: 18px;
font-weight: 600; font-weight: 600;
color: #333333; color: #333333;
line-height: 18px; line-height: 18px;
position: relative;
} }
.left { .line {
width: 376px; width: 100%;
height: 1px;
background: #d4d2f3;
position: relative;
margin-top: 14px;
> i { > i {
color: #5850ff; color: #5850ff;
width: 6px; width: 6px;
height: 6px; height: 6px;
position: absolute; position: absolute;
bottom: -11px; top: -8px;
left: -7px; left: -6px;
}
} }
.right {
// width: calc(100% - 376px);
.icon_point { .icon_point {
width: 7px; width: 7px;
height: 7px; height: 7px;
background: #5850ff; background: #5850ff;
border-radius: 50%; border-radius: 50%;
position: absolute; position: absolute;
bottom: -18px; top: -3px;
left: 0px; left: 2px;
} }
} }
}
.content_two {
margin-top: 15px;
.box_item_wrap { .box_item_wrap {
width: 32%; width: calc(100% - 15px);
height: 80px; height: 80px;
background: #f7f6fd; background: #f7f6fd;
box-sizing: border-box; box-sizing: border-box;
margin-top: 15px;
padding: 19px 20px; padding: 19px 20px;
> img { > img {
width: 42px; width: 42px;
...@@ -254,6 +264,10 @@ export default { ...@@ -254,6 +264,10 @@ export default {
margin-left: 10px; margin-left: 10px;
} }
} }
.box_line >.box_item_wrap{
width: calc(50% - 7.5px);
}
}
} }
.label_title { .label_title {
font-size: 18px; font-size: 18px;
...@@ -319,16 +333,16 @@ export default { ...@@ -319,16 +333,16 @@ export default {
} }
} }
} }
::v-deep .video-dialog{ ::v-deep .video-dialog {
.el-dialog__header{ .el-dialog__header {
border-bottom: none; border-bottom: none;
background-color: #000; background-color: #000;
.el-dialog__headerbtn{ .el-dialog__headerbtn {
top:15px; top: 15px;
font-size: 24px; font-size: 24px;
} }
} }
.el-dialog__body{ .el-dialog__body {
padding: 0; padding: 0;
display: flex; display: flex;
} }
......
...@@ -58,14 +58,8 @@ ...@@ -58,14 +58,8 @@
</div> </div>
</div> </div>
</div> </div>
<div <div class="fixed_bottom flex_cc">
class="fixed_bottom" <el-button type="primary" @click="handleConfirm">确定</el-button>
:style="{
left: footerLeft + 'px',
width: footerWidth + 'px'
}"
>
<el-button size="small" type="primary" @click="handleConfirm">确定</el-button>
</div> </div>
</template> </template>
<template v-if="showPage == 2"> <template v-if="showPage == 2">
...@@ -77,7 +71,7 @@ ...@@ -77,7 +71,7 @@
</div> </div>
</div> </div>
</template> </template>
<el-dialog width="60%" height="50%" :visible.sync="dialogTableVisible"> <GLDialog mode="big" :visible.sync="dialogTableVisible">
<div slot="title" class="customTitle"> <div slot="title" class="customTitle">
<div class="title1">选择渠道活码</div> <div class="title1">选择渠道活码</div>
<span class="h9_title">仅查询自动回复中活动类型为“无忧服务”的活码</span> <span class="h9_title">仅查询自动回复中活动类型为“无忧服务”的活码</span>
...@@ -105,12 +99,12 @@ ...@@ -105,12 +99,12 @@
<div v-if="!scope.scope.taggingList || (scope.scope.taggingList && scope.scope.taggingList.length == 0)">--</div> <div v-if="!scope.scope.taggingList || (scope.scope.taggingList && scope.scope.taggingList.length == 0)">--</div>
</div> </div>
</GLTable> </GLTable>
<span slot="footer" class="dialog-footer flex_cc"> <span slot="footer" class="dialog-footer">
<span v-if="!tableData.length" @click="jumpToCreated" class="created_btn">创建活码</span> <span v-if="!tableData.length" @click="jumpToCreated" class="created_btn">创建活码</span>
<el-button size="mini" @click="dialogTableVisible = false">取消</el-button> <el-button plain size="small" class="btn-three" @click="dialogTableVisible = false">取消</el-button>
<el-button size="mini" type="primary" @click="toConfimActived">确定</el-button> <el-button size="small" type="primary" @click="toConfimActived">确定</el-button>
</span> </span>
</el-dialog> </GLDialog>
</div> </div>
</template> </template>
...@@ -123,8 +117,6 @@ export default { ...@@ -123,8 +117,6 @@ export default {
size: 'small', size: 'small',
isBlock: true, isBlock: true,
title: '店面服务设置', title: '店面服务设置',
footerLeft: '0',
footerWidth: '0',
editChildRef: 'editChildRef', editChildRef: 'editChildRef',
editForm: { editForm: {
hotline: '', hotline: '',
...@@ -228,7 +220,7 @@ export default { ...@@ -228,7 +220,7 @@ export default {
}, },
created() { created() {
let clientHeight = document.documentElement.clientHeight let clientHeight = document.documentElement.clientHeight
this.nodataHeight = clientHeight * 0.8 this.nodataHeight = clientHeight * 0.86
const openStatus = localStorage.getItem('preSetStatus') const openStatus = localStorage.getItem('preSetStatus')
if (openStatus == 2) { if (openStatus == 2) {
this.showPage = 2 this.showPage = 2
...@@ -242,8 +234,6 @@ export default { ...@@ -242,8 +234,6 @@ export default {
mounted() { mounted() {
this.getHotline() this.getHotline()
this.getActiveCode() this.getActiveCode()
this.footerLeft = document.querySelector('.base-container-right').offsetLeft
this.footerWidth = document.documentElement.clientWidth - this.footerLeft
}, },
methods: { methods: {
...@@ -401,14 +391,14 @@ export default { ...@@ -401,14 +391,14 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.edit-equity { // .edit-equity {
margin-top: 17px; // // margin-top: 17px;
width: 100%; // // width: 100%;
// height: calc(100% - 108px); // }
}
.edit-container { .edit-container {
width: 100%; width: 100%;
height: 76vh; height: calc(100vh - 195px);
// height: 76vh;
background: #ffffff; background: #ffffff;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1); box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
} }
...@@ -554,19 +544,20 @@ export default { ...@@ -554,19 +544,20 @@ export default {
} }
} }
.fixed_bottom { .fixed_bottom {
position: fixed; margin-top: 16px;
width: 100%; // position: fixed;
bottom: 0px; // width: 100%;
height: 78px; // bottom: 0px;
display: flex; // height: 78px;
align-items: center; // display: flex;
justify-content: center; // align-items: center;
background: #ffffff; // justify-content: center;
z-index: 999; // background: #ffffff;
box-shadow: 0px -1px 1px 0px rgba(88, 80, 255, 0.1); // z-index: 999;
// box-shadow: 0px -1px 1px 0px rgba(88, 80, 255, 0.1);
} }
.nodata_widget { .nodata_widget {
margin-top: 17px; // margin-top: 17px;
.wrapper { .wrapper {
width: 100%; width: 100%;
background: #ffffff; background: #ffffff;
...@@ -642,6 +633,13 @@ export default { ...@@ -642,6 +633,13 @@ export default {
} }
.dialog-footer { .dialog-footer {
position: relative; position: relative;
display: flex;
align-items: center;
justify-content: flex-end;
.btn-three {
border-color: #c8c8c8;
color: #666;
}
.created_btn { .created_btn {
position: absolute; position: absolute;
left: 0px; left: 0px;
......
<!-- 编辑权益 --> <!-- 编辑权益 -->
<template> <template>
<div class="before-sale edit-equity edit-order"> <div class="before-sale edit-equity edit-order">
<div style="padding: 17px 0 55px;"> <div>
<!-- <div class="help-service"> <!-- <div class="help-service">
<img class="service-img" src="./image/code.png" /> <img class="service-img" src="./image/code.png" />
<p>提单及服务咨询</p> <p>提单及服务咨询</p>
...@@ -82,13 +82,12 @@ ...@@ -82,13 +82,12 @@
</div> </div>
</div> </div>
<!-- <div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }"> --> <div class="operate-btn flex_cc">
<div class="footer operate-btn"> <el-button class="reset-btn" v-show="routeInfo.addOrEdit == '1'" @click="handleReset">重置</el-button>
<el-button size="small" class="reset-btn" v-show="routeInfo.addOrEdit == '1'" @click="handleReset">重置</el-button> <el-button v-show="!['3', '5'].includes(routeInfo.addOrEdit)" class="plain" @click="handleDraft(2)">草稿</el-button>
<el-button size="small" v-show="!['3', '5'].includes(routeInfo.addOrEdit)" class="plain" @click="handleDraft(2)">草稿</el-button> <el-button v-show="routeInfo.addOrEdit != '5'" type="primary" @click="handleConfirm(1)">{{ routeInfo.addOrEdit != '3' ? '提单' : '确定' }}</el-button>
<el-button size="small" v-show="routeInfo.addOrEdit != '5'" type="primary" @click="handleConfirm(1)">{{ routeInfo.addOrEdit != '3' ? '提单' : '确定' }}</el-button> <el-button v-if="routeInfo.addOrEdit != 5" @click="handleCancel">返回</el-button>
<el-button v-if="routeInfo.addOrEdit != 5" size="small" @click="handleCancel">返回</el-button> <el-button v-else type="primary" @click="handleCancel">返回</el-button>
<el-button v-else size="small" type="primary" @click="handleCancel">返回</el-button>
</div> </div>
<qrCode :bottom="320" :codeUrl="qrcodUrl" phoneTitle="提单及服务咨询" phone="189 3890 7441"></qrCode> <qrCode :bottom="320" :codeUrl="qrcodUrl" phoneTitle="提单及服务咨询" phone="189 3890 7441"></qrCode>
...@@ -115,8 +114,6 @@ export default { ...@@ -115,8 +114,6 @@ export default {
// 2: '编辑权益', // 2: '编辑权益',
// 3: '查看权益' // 3: '查看权益'
// }, // },
// footerLeft: '0',
// footerWidth: '0',
editCarChildRef: 'editChildRef', editCarChildRef: 'editChildRef',
disabled: false, disabled: false,
successDisable: false, successDisable: false,
...@@ -586,8 +583,6 @@ export default { ...@@ -586,8 +583,6 @@ export default {
}, },
mounted() { mounted() {
// this.footerLeft = document.querySelector('.base-container-right').offsetLeft
// this.footerWidth = document.documentElement.clientWidth - this.footerLeft
// this.routeInfo = this.$route.params // this.routeInfo = this.$route.params
const urlParam = this.$route.params const urlParam = this.$route.params
this.routeInfo = JSON.parse(decodeURIComponent(urlParam.id)) this.routeInfo = JSON.parse(decodeURIComponent(urlParam.id))
...@@ -1227,23 +1222,24 @@ export default { ...@@ -1227,23 +1222,24 @@ export default {
text-align: center; text-align: center;
} }
.before-sale .footer { // .before-sale .footer {
width: 100%; // // margin-top: 16px;
position: fixed; // // width: 100%;
bottom: 0; // // position: fixed;
height: 64px; // // bottom: 0;
left: 0; // // height: 78px;
text-align: center; // // left: 0;
line-height: 64px; // // text-align: center;
background: #ffffff; // // line-height: 78px;
z-index: 0; // // background: #ffffff;
// // z-index: 0;
// }
.operate-btn{
margin-top: 16px;
// width: 88px;
// margin-left: 20px;
} }
/* .operate-btn .el-button{
width: 88px;
margin-left: 20px;
} */
.before-sale .edit-form-container { .before-sale .edit-form-container {
margin-top: 20px; margin-top: 20px;
} }
......
...@@ -1489,9 +1489,9 @@ export default { ...@@ -1489,9 +1489,9 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.before-sale { // .before-sale {
padding-top: 17px; // padding-top: 17px;
} // }
.before-sale .flex { .before-sale .flex {
display: flex; display: flex;
......
...@@ -13,24 +13,32 @@ ...@@ -13,24 +13,32 @@
</div> </div>
</div> </div>
<div class="mid_wrapper"> <div class="mid_wrapper">
<div class="content_one flex_sc"> <div class="step_wrap_widget flex_sc">
<div class="title left"> <div class="left box">
<span>您提供的</span> <div class="title">您提供的</div>
<div class="line flex_sc">
<i class="el-icon-caret-right"></i> <i class="el-icon-caret-right"></i>
</div> </div>
<div class="title right"> <div class="box_item_wrap flex_cc">
<span>您将获得的</span> <img :src="localList[0].icon" />
<div class="icon_point"></div> <div class="box_title">{{ localList[0].title }}</div>
</div>
</div> </div>
<div class="right box">
<div class="title">您将获得的</div>
<div class="line flex_sc">
<div class="icon_point"></div>
</div> </div>
<div class="content_two flex_scb"> <div class="box_line flex_scb">
<template v-for="(item, index) in localList"> <template v-for="(item, index) in localList">
<div :key="index" class="box_item_wrap flex_cc"> <div v-if="index" :key="index" class="box_item_wrap flex_cc">
<img :src="item.icon" /> <img :src="item.icon" />
<div class="box_title">{{ item.title }}</div> <div class="box_title">{{ item.title }}</div>
</div> </div>
</template> </template>
</div> </div>
</div>
</div>
<div class="label_title">无忧案例</div> <div class="label_title">无忧案例</div>
<div class="content_three"> <div class="content_three">
<template v-for="(item, index) in localList2"> <template v-for="(item, index) in localList2">
...@@ -76,7 +84,7 @@ export default { ...@@ -76,7 +84,7 @@ export default {
return { return {
videoShow: false, videoShow: false,
code: 'https://img01.glsx.com.cn/weapp/resource/saas/scrm/wangdy.png', code: 'https://img01.glsx.com.cn/weapp/resource/saas/scrm/wangdy.png',
phone:'134 8079 2980', phone: '134 8079 2980',
localList: [ localList: [
{ {
icon: 'https://img01.glsx.com.cn/weapp/resource/saas/scrm/before_icon_1.png', icon: 'https://img01.glsx.com.cn/weapp/resource/saas/scrm/before_icon_1.png',
...@@ -137,9 +145,9 @@ export default { ...@@ -137,9 +145,9 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.introduct_container { // .introduct_container {
margin-top: 17px; // margin-top: 17px;
} // }
.top_play_wrap { .top_play_wrap {
height: 360px; height: 360px;
background: #ffffff; background: #ffffff;
...@@ -199,49 +207,51 @@ export default { ...@@ -199,49 +207,51 @@ export default {
margin-top: 20px; margin-top: 20px;
box-sizing: border-box; box-sizing: border-box;
padding: 20px; padding: 20px;
.content_one { .step_wrap_widget {
box-sizing: border-box; padding: 20px 0 0 0;
padding: 20px 0 14px 0; .left {
border-bottom: 1px solid #e8e8e8; width: 33.33%;
}
.right {
width: 66.67%;
}
.box {
.title { .title {
font-size: 18px; font-size: 18px;
font-weight: 600; font-weight: 600;
color: #333333; color: #333333;
line-height: 18px; line-height: 18px;
position: relative;
} }
.left { .line {
width: 376px; width: 100%;
height: 1px;
background: #d4d2f3;
position: relative;
margin-top: 14px;
> i { > i {
color: #5850ff; color: #5850ff;
width: 6px; width: 6px;
height: 6px; height: 6px;
position: absolute; position: absolute;
bottom: -11px; top: -8px;
left: -7px; left: -6px;
}
} }
.right {
// width: calc(100% - 376px);
.icon_point { .icon_point {
width: 7px; width: 7px;
height: 7px; height: 7px;
background: #5850ff; background: #5850ff;
border-radius: 50%; border-radius: 50%;
position: absolute; position: absolute;
bottom: -18px; top: -3px;
left: 0px; left: 2px;
} }
} }
}
.content_two {
margin-top: 15px;
.box_item_wrap { .box_item_wrap {
width: 32%; width: calc(100% - 15px);
height: 80px; height: 80px;
background: #f7f6fd; background: #f7f6fd;
box-sizing: border-box; box-sizing: border-box;
margin-top: 15px;
padding: 19px 20px; padding: 19px 20px;
> img { > img {
width: 42px; width: 42px;
...@@ -256,6 +266,10 @@ export default { ...@@ -256,6 +266,10 @@ export default {
margin-left: 10px; margin-left: 10px;
} }
} }
.box_line > .box_item_wrap {
width: calc(50% - 7.5px);
}
}
} }
.label_title { .label_title {
font-size: 18px; font-size: 18px;
...@@ -321,16 +335,16 @@ export default { ...@@ -321,16 +335,16 @@ export default {
} }
} }
} }
::v-deep .video-dialog{ ::v-deep .video-dialog {
.el-dialog__header{ .el-dialog__header {
border-bottom: none; border-bottom: none;
background-color: #000; background-color: #000;
.el-dialog__headerbtn{ .el-dialog__headerbtn {
top:15px; top: 15px;
font-size: 24px; font-size: 24px;
} }
} }
.el-dialog__body{ .el-dialog__body {
padding: 0; padding: 0;
display: flex; display: flex;
} }
......
...@@ -61,9 +61,8 @@ ...@@ -61,9 +61,8 @@
<img style="margin-top: 20px;" class="qrcodeImg" :src="qrcodeUrl" /> <img style="margin-top: 20px;" class="qrcodeImg" :src="qrcodeUrl" />
</div> --> </div> -->
</div> </div>
<div class="fixed_bottom" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }"> <div class="fixed_bottom flex_cc">
<!-- <div class="footer"> --> <el-button type="primary" @click="handleConfirm">确定</el-button>
<el-button size="small" type="primary" @click="handleConfirm">确定</el-button>
</div> </div>
</template> </template>
<template v-if="showPage == 2"> <template v-if="showPage == 2">
...@@ -75,7 +74,7 @@ ...@@ -75,7 +74,7 @@
</div> </div>
</div> </div>
</template> </template>
<el-dialog width="60%" height="50%" :visible.sync="dialogTableVisible"> <GLDialog mode="big" :visible.sync="dialogTableVisible">
<div slot="title" class="customTitle"> <div slot="title" class="customTitle">
<div class="title1">选择渠道活码</div> <div class="title1">选择渠道活码</div>
<span class="h9_title">仅查询自动回复中活动类型为“无忧服务”的活码</span> <span class="h9_title">仅查询自动回复中活动类型为“无忧服务”的活码</span>
...@@ -103,12 +102,12 @@ ...@@ -103,12 +102,12 @@
<div v-if="!scope.scope.taggingList || (scope.scope.taggingList && scope.scope.taggingList.length == 0)">--</div> <div v-if="!scope.scope.taggingList || (scope.scope.taggingList && scope.scope.taggingList.length == 0)">--</div>
</div> </div>
</GLTable> </GLTable>
<span slot="footer" class="dialog-footer flex_cc"> <span slot="footer" class="dialog-footer">
<span v-if="!tableData.length" @click="jumpToCreated" class="created_btn">创建活码</span> <span v-if="!tableData.length" @click="jumpToCreated" class="created_btn">创建活码</span>
<el-button size="mini" @click="dialogTableVisible = false">取消</el-button> <el-button plain size="small" class="btn-three" @click="dialogTableVisible = false">取消</el-button>
<el-button size="mini" type="primary" @click="toConfimActived">确定</el-button> <el-button size="small" type="primary" @click="toConfimActived">确定</el-button>
</span> </span>
</el-dialog> </GLDialog>
</div> </div>
</template> </template>
...@@ -121,8 +120,6 @@ export default { ...@@ -121,8 +120,6 @@ export default {
size: 'small', size: 'small',
isBlock: true, isBlock: true,
title: '店面服务设置', title: '店面服务设置',
footerLeft: '0',
footerWidth: '0',
editChildRef: 'editChildRef', editChildRef: 'editChildRef',
qrcodeUrl: '', qrcodeUrl: '',
editForm: { editForm: {
...@@ -211,7 +208,7 @@ export default { ...@@ -211,7 +208,7 @@ export default {
created() { created() {
let clientHeight = document.documentElement.clientHeight let clientHeight = document.documentElement.clientHeight
this.nodataHeight = clientHeight * 0.8 this.nodataHeight = clientHeight * 0.86
const openStatus = localStorage.getItem('preSetStatus') const openStatus = localStorage.getItem('preSetStatus')
if (openStatus == 2) { if (openStatus == 2) {
this.showPage = 2 this.showPage = 2
...@@ -228,8 +225,6 @@ export default { ...@@ -228,8 +225,6 @@ export default {
} }
this.getHotline() this.getHotline()
this.getActiveCode() this.getActiveCode()
this.footerLeft = document.querySelector('.base-container-right').offsetLeft
this.footerWidth = document.documentElement.clientWidth - this.footerLeft
// this.getDefaultCarbrand() // this.getDefaultCarbrand()
}, },
...@@ -393,16 +388,16 @@ export default { ...@@ -393,16 +388,16 @@ export default {
background: #ffffff; background: #ffffff;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1); box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
padding: 20px; padding: 20px;
height: 76vh; height: calc(100vh - 195px);
} }
.before-sale { // .before-sale {
padding-top: 17px; // padding-top: 17px;
} // }
.before-sale .edit-container { // .before-sale .edit-container {
margin-bottom: 84px; // margin-bottom: 84px;
} // }
.before-sale .edit-form-container { .before-sale .edit-form-container {
margin-top: 20px; margin-top: 20px;
...@@ -484,7 +479,7 @@ export default { ...@@ -484,7 +479,7 @@ export default {
height: 100%; height: 100%;
} }
.nodata_widget { .nodata_widget {
margin-top: 17px; // margin-top: 17px;
.wrapper { .wrapper {
width: 100%; width: 100%;
background: #ffffff; background: #ffffff;
...@@ -509,16 +504,17 @@ export default { ...@@ -509,16 +504,17 @@ export default {
} }
} }
.fixed_bottom { .fixed_bottom {
position: fixed; margin-top: 16px;
width: 100%; // position: fixed;
bottom: 0px; // width: 100%;
height: 78px; // bottom: 0px;
display: flex; // height: 78px;
align-items: center; // display: flex;
justify-content: center; // align-items: center;
background: #ffffff; // justify-content: center;
z-index: 999; // background: #ffffff;
box-shadow: 0px -1px 1px 0px rgba(88, 80, 255, 0.1); // z-index: 999;
// box-shadow: 0px -1px 1px 0px rgba(88, 80, 255, 0.1);
} }
.new_container { .new_container {
box-sizing: border-box; box-sizing: border-box;
...@@ -643,6 +639,13 @@ export default { ...@@ -643,6 +639,13 @@ export default {
} }
.dialog-footer { .dialog-footer {
position: relative; position: relative;
display: flex;
align-items: center;
justify-content: flex-end;
.btn-three {
border-color: #c8c8c8;
color: #666;
}
.created_btn { .created_btn {
position: absolute; position: absolute;
left: 0px; left: 0px;
......
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
</div> </div>
</div> </div>
<qrCode phone="138 2651 0577" :codeUrl="code" :bottom="182" v-if="nodata == 0 && noList == 0"></qrCode> <qrCode phone="138 2651 0577" :codeUrl="code" :bottom="182" v-if="nodata == 0 && noList == 0"></qrCode>
<el-dialog :visible.sync="computeShow" width="50%" :before-close="handleClose"> <GLDialog :visible.sync="computeShow" mode="mid" :hasFooter="false" :before-close="handleClose">
<div slot="title" class="dialogTitle">分润计算说明</div> <div slot="title" class="dialogTitle">分润计算说明</div>
<div class="dialogContent"> <div class="dialogContent">
<div class="wrap"> <div class="wrap">
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
</div> </div>
</div> </div>
</div> </div>
</el-dialog> </GLDialog>
</div> </div>
</template> </template>
...@@ -136,7 +136,6 @@ import { getRulesData, getRulesListData } from '../../api/modules/rules' ...@@ -136,7 +136,6 @@ import { getRulesData, getRulesListData } from '../../api/modules/rules'
import ruleTable from './ruleTable.vue' import ruleTable from './ruleTable.vue'
import utils from '../../util/util' import utils from '../../util/util'
import qrCode from '../../components/qr-code/index.vue' import qrCode from '../../components/qr-code/index.vue'
import util from '../../util/util'
export default { export default {
name: '', name: '',
components: { components: {
...@@ -182,7 +181,7 @@ export default { ...@@ -182,7 +181,7 @@ export default {
this.getRuleNote(merchantId) this.getRuleNote(merchantId)
} }
let clientHeight = document.documentElement.clientHeight let clientHeight = document.documentElement.clientHeight
this.nodataHeight = clientHeight * 0.5 this.nodataHeight = clientHeight * 0.49
this.stepHeight = clientHeight - clientHeight * 0.5 - 133 this.stepHeight = clientHeight - clientHeight * 0.5 - 133
}, },
methods: { methods: {
...@@ -326,8 +325,8 @@ export default { ...@@ -326,8 +325,8 @@ export default {
// min-height: 520px; // min-height: 520px;
background: #ffffff; background: #ffffff;
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1); box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
margin-top: 17px; // margin-top: 17px;
padding-bottom: 15px; // padding-bottom: 15px;
.tip_line { .tip_line {
box-sizing: border-box; box-sizing: border-box;
padding: 22px 20px 25px 20px; padding: 22px 20px 25px 20px;
...@@ -368,7 +367,7 @@ export default { ...@@ -368,7 +367,7 @@ export default {
} }
} }
.list_wrapper { .list_wrapper {
margin-top: 26px; // margin-top: 26px;
background: #ffffff; background: #ffffff;
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1); box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
box-sizing: border-box; box-sizing: border-box;
...@@ -564,7 +563,6 @@ export default { ...@@ -564,7 +563,6 @@ export default {
padding: 20px 0; padding: 20px 0;
} }
.nodata_widget { .nodata_widget {
margin-top: 17px;
.wrapper { .wrapper {
width: 100%; width: 100%;
background: #ffffff; background: #ffffff;
...@@ -573,7 +571,6 @@ export default { ...@@ -573,7 +571,6 @@ export default {
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
// padding: 150px 0 145px 0;
overflow: hidden; overflow: hidden;
.nodata_tip_1 { .nodata_tip_1 {
font-size: 18px; font-size: 18px;
......
...@@ -12,8 +12,7 @@ ...@@ -12,8 +12,7 @@
<div class="table_wrap"> <div class="table_wrap">
<GLTable ref="table" :hasNum="false" :tableData="tableData" :tableTotal="tableTotal" :tableParams="tableParams" @refreshTable="toGetCouponsList"></GLTable> <GLTable ref="table" :hasNum="false" :tableData="tableData" :tableTotal="tableTotal" :tableParams="tableParams" @refreshTable="toGetCouponsList"></GLTable>
</div> </div>
<GLDialog :visible.sync="dialogTableVisible" mode="big" :hasFooter="false">
<el-dialog width="60%" :visible.sync="dialogTableVisible">
<div slot="title" class="customTitle"> <div slot="title" class="customTitle">
<div class="title1">共计{{ tabletotal1 }}条数据</div> <div class="title1">共计{{ tabletotal1 }}条数据</div>
<span class="h9_title">门店新车精品礼券由</span> <span class="h9_title">门店新车精品礼券由</span>
...@@ -21,7 +20,7 @@ ...@@ -21,7 +20,7 @@
<span class="h9_title">进行配置,如需新增详情请联系管理员。</span> <span class="h9_title">进行配置,如需新增详情请联系管理员。</span>
</div> </div>
<GLTable ref="table1" :tableTotal="tabletotal1" :hasNum="false" :tableData="tableData1" :tableParams="tableParams1" @refreshTable="toOpenCoupons"></GLTable> <GLTable ref="table1" :tableTotal="tabletotal1" :hasNum="false" :tableData="tableData1" :tableParams="tableParams1" @refreshTable="toOpenCoupons"></GLTable>
</el-dialog> </GLDialog>
</div> </div>
</template> </template>
......
...@@ -101,7 +101,7 @@ export default { ...@@ -101,7 +101,7 @@ export default {
// height: calc(100% - 17px); // height: calc(100% - 17px);
background: #ffffff; background: #ffffff;
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1); box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
margin-top: 17px; // margin-top: 17px;
} }
.top_tip_title { .top_tip_title {
width: 100%; width: 100%;
......
...@@ -139,7 +139,7 @@ export default { ...@@ -139,7 +139,7 @@ export default {
// height: 360px; // height: 360px;
background: #ffffff; background: #ffffff;
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1); box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
margin-top: 17px; // margin-top: 17px;
position: relative; position: relative;
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -351,7 +351,6 @@ export default { ...@@ -351,7 +351,6 @@ export default {
} }
} }
.step_wrap { .step_wrap {
width: 100%;
padding: 20px; padding: 20px;
background: #ffffff; background: #ffffff;
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1); box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
......
...@@ -395,7 +395,7 @@ export default { ...@@ -395,7 +395,7 @@ export default {
width: 100%; width: 100%;
background: #ffffff; background: #ffffff;
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1); box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
margin-top: 17px; // margin-top: 17px;
} }
.mini_margin { .mini_margin {
margin-top: 10px; margin-top: 10px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!