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