Commit e9ea3c32 by 张杰

新增售后模块

1 parent 40b3b076
This diff could not be displayed because it is too large.
...@@ -30,7 +30,7 @@ export default { ...@@ -30,7 +30,7 @@ export default {
line-height: 36px; line-height: 36px;
} }
#app { #app {
background: #F4F5FA; background: #f4f5fa;
padding: 0px 20px 20px 40px; padding: 0px 20px 20px 40px;
position: absolute; position: absolute;
box-sizing: border-box; box-sizing: border-box;
...@@ -40,4 +40,10 @@ export default { ...@@ -40,4 +40,10 @@ export default {
overflow-y: auto; overflow-y: auto;
height: 100%; height: 100%;
} }
// 分页全局
.pagination_box {
display:flex;
justify-content: flex-end;
}
</style> </style>
// 覆盖element-ui样式
.after_sales_tabs {
/deep/ .el-tabs__nav-wrap:after {
display: none !important;
}
/deep/ .el-tabs__content {
overflow:initial;
}
}
\ No newline at end of file \ No newline at end of file
.square_page {
padding-bottom: 30px;
}
// 标题
.head_title {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #333333;
.txt_box {
flex: 1;
}
.txt_box {
.sp2 {
color: #5850ff;
}
}
.icon_box {
font-size: 14px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
cursor: pointer;
.el_icon {
transform: rotate(90deg);
margin-left: 8px;
}
}
}
// 频道列表
.channel_list {
height: 140px;
background: #ffffff;
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
margin-top: 20px;
padding: 20px 15px;
box-sizing: border-box;
overflow: hidden;
.list_box {
display: flex;
.cell {
flex-shrink: 0;
width: 200px;
height: 100px;
background: #ffffff;
border-radius: 2px;
border: 1px solid #eae9ee;
margin: 0 5px;
display: flex;
align-items: center;
justify-content: center;
.icon {
width: 40px;
height: 40px;
border-radius: 100%;
background: linear-gradient(180deg, #ff8496 0%, #ff4e61 100%);
margin-right: 10px;
}
.info {
.h2,
p {
margin: 0;
padding: 0;
}
.h2 {
font-size: 14px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
margin-bottom: 10px;
}
p {
font-size: 12px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #666666;
}
}
}
}
}
// 覆盖element-ui样式
// 覆盖element-ui样式
.after_sale_form_item {
/deep/ .el-form-item__content {
display: flex;
align-items: center;
}
.pre_select {
width: 104px;
height: 33px;
// box-sizing: border-box;
line-height: 33px;
display: block;
/deep/ .el-input__inner {
height: 33px;
border-radius: 4px 0px 0px 4px;
border-color: #e8e8ea;
padding-left: 10px;
}
/deep/ .el-input__suffix {
top: 50%;
transform: translateY(-50%);
height: auto;
}
}
/deep/ .el_date_picker {
position: relative;
width: 240px;
height: 33px;
border-radius: 0px 4px 4px 0px;
margin-left: -1px;
margin-top: 2px;
box-sizing: border-box;
display: flex;
align-items: center;
line-height: 33px;
.el-range__icon,
.el-range__close-icon,
.el-range-separator {
float: none;
line-height: inherit;
height: auto;
}
}
}
// 搜索、列表区域
.panel_box {
background: #ffffff;
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
margin: 10px 0;
padding: 20px;
// 搜索区域
.search_box {
.after_sale_form {
.el-form-item {
padding-right: 30px;
margin-bottom: 10px;
/deep/ .el-form-item__label {
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #333333;
}
}
.pright0 {
padding-right: 0;
}
}
.search_btn {
background: #5850ff;
border-radius: 4px;
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #ffffff;
}
.search_btn:hover {
opacity: 0.8;
}
}
// 筛选
.filter_box {
margin: 20px 0 10px 0;
a {
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #333333;
text-decoration: none;
margin-right: 30px;
}
.active {
color: #5850ff;
}
}
// 列表
.live_time {
display: flex;
flex-direction: column;
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #666666;
.sp3 {
font-size: 12px;
color: #999;
}
span {
margin: 0 0 5px 0;
}
}
.live_info {
.top_info {
display: flex;
.img_box {
width: 115px;
height: 65px;
flex-shrink: 0;
img {
width: 100%;
height: 100%;
}
}
.live_msg {
display: flex;
flex-direction: column;
justify-content: space-between;
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #666666;
padding-left: 15px;
p {
margin: 0;
padding: 0;
}
.p1 {
display: -webkit-box;
text-overflow: ellipsis;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
.p2 {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 12px;
color: #999;
}
}
}
.bottom_info {
font-size: 12px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #999999;
margin-top: 10px;
}
}
.tag_list {
display: flex;
flex-wrap: wrap;
.tag {
min-width: 60px;
height: 26px;
background: #e7eaf2;
border-radius: 13px;
text-align: center;
line-height: 26px;
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #666666;
margin: 0 15px 15px 0;
}
}
.link_list {
display: flex;
flex-direction: column;
justify-content: center;
.el-link {
color: #5850ff;
margin: 10px 0;
}
.el-link:after {
display: none;
}
.el-link:hover {
opacity: 0.8;
}
}
}
.live_box {
height: 360px;
background: #ffffff;
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
padding: 42px 80px;
box-sizing: border-box;
display: flex;
align-items: center;
.info {
flex: 1;
.h2,
.h3 {
margin: 0;
padding: 0;
}
.h2 {
font-size: 42px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #000000;
margin-bottom: 10px;
}
.h3 {
font-size: 16px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #666666;
span {
color: #5850ff;
}
}
}
.img_box {
width: 451px;
height: 276px;
background: #d8d8d8;
}
}
// 案例
.case_box {
display: flex;
align-items: center;
justify-content: space-between;
.row_box {
flex: 1;
min-height: 400px;
background: #ffffff;
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
margin: 10px 0 0px 10px;
padding: 20px;
box-sizing: border-box;
.title {
font-size: 18px;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #333333;
margin: 0 0 30px 0;
padding: 0;
}
.sub_title {
font-size: 16px;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #333333;
margin-bottom: 9px;
}
.desc {
position: relative;
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #3a3a3a;
line-height: 21px;
padding-bottom: 20px;
margin-bottom: 19px;
}
.desc:after {
display: block;
content: '';
height: 2px;
position: absolute;
left: 0;
right: 0;
bottom: 0;
background: #e8e8ea;
}
.case_tab {
.tab {
width: 100%;
border-collapse: collapse;
tr {
th,
td {
border-right: 1px solid #e0e0e4;
border-bottom: 1px solid #e0e0e4;
text-align: center;
// padding: 8px;
background: #f6f6f7;
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #3a3a3a;
height: 45px;
box-sizing: border-box;
}
th:last-child,
td:last-child {
border-right: 0;
}
}
tr:last-child {
td {
border-bottom: 0;
}
}
}
}
.total_box {
font-size: 16px;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #333333;
margin-top: 20px;
span {
font-size: 20px;
}
}
}
.row_box:first-child {
margin-left: 0;
}
}
// 操作步骤说明
.step_box {
min-height: 180px;
background: #ffffff;
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
margin: 10px 0;
}
// 收起按钮
.shrink_box {
font-size: 14px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
cursor: pointer;
text-align: center;
.el_icon {
transform: rotate(270deg);
margin-left: 8px;
}
}
...@@ -18,5 +18,10 @@ const staticRoutes = Object.freeze([{ ...@@ -18,5 +18,10 @@ const staticRoutes = Object.freeze([{
path: '/inSale/accountRules', path: '/inSale/accountRules',
component: resolve => require([`@/views/inSale/accountRules.vue`], resolve), component: resolve => require([`@/views/inSale/accountRules.vue`], resolve),
meta: {} meta: {}
}, ]) }, {
name: 'afterSales',
path: '/afterSales/index',
component: resolve => require([`@/views/afterSales/index.vue`], resolve),
meta: {}
} ])
export default staticRoutes export default staticRoutes
\ No newline at end of file \ No newline at end of file
<template>
<div class="">
<!-- 标签菜单 开始 -->
<el-tabs v-model="menuActive" class="after_sales_tabs">
<el-tab-pane label="直播广场" name="1">
<square-page></square-page>
</el-tab-pane>
<el-tab-pane label="我参与的直播" name="2">配置管理</el-tab-pane>
</el-tabs>
<!-- 标签菜单 end -->
</div>
</template>
<script>
import SquarePage from './square.vue'
export default {
components: {
SquarePage
},
data() {
return {
menuActive: '1'
}
}
}
</script>
<style lang="scss">
</style>
<style lang="scss" scoped>
@import '@/assets/css/after_sales.scss';
</style>
\ No newline at end of file \ No newline at end of file
<template>
<div class="square_page">
<!-- 标题 开始 -->
<div class="head_title" v-show="!showDetail">
<div class="txt_box">
<span>直播带货服务——</span>
<span class="sp2">帮您售后产值增加20W/年</span>
</div>
<div class="icon_box" @click="showDetail = !showDetail">
<span>展开查看详情</span>
<i class="el-icon-d-arrow-right el_icon"></i>
</div>
</div>
<!-- 标题 end -->
<!-- 直播介绍详情 开始 -->
<el-collapse-transition>
<div class="show" v-show="showDetail">
<!-- 直播带货服务 开始 -->
<div class="live_box">
<div class="info">
<h2 class="h2">直播带货服务</h2>
<h3 class="h3">直播广场,一键参与帮您直播带货<span>获得收益</span>,,推广直播还能<span>获得分润</span></h3>
</div>
<div class="img_box"></div>
</div>
<!-- 直播带货服务 end -->
<!-- 案例 开始 -->
<div class="case_box">
<!-- 案例1 开始 -->
<div class="row_box">
<h2 class="title">案例1-兰州某奔驰4S店</h2>
<div class="sub_title">线上私域直播-实现226单,12万+产值</div>
<div class="desc">基于已有的2000+企微私域流量开展美容直播活动,企微推送消息实现100%触达用户,
以秒杀、红包等活动激活社群,以超低秒杀项目作为引爆点吸引车主锁定直播,直播销
售美容/养护产品,给门店带来100+返厂量,新增到店产值12W+。</div>
<div class="sub_title">直播数据</div>
<div class="case_tab">
<table class="tab">
<thead>
<tr>
<th>直播时长</th>
<th>直播参与人数</th>
<th>引流人数</th>
<th>直播销量</th>
<th>自店商品收益</th>
<th>导流分润</th>
</tr>
</thead>
<tbody>
<tr>
<td>95</td>
<td>5000+</td>
<td>70+</td>
<td>226单</td>
<td>120000+</td>
<td>8000+</td>
</tr>
</tbody>
</table>
</div>
<div class="total_box">
总价值:<span>13万+</span>
</div>
</div>
<!-- 案例1 end -->
<!-- 案例2 开始 -->
<div class="row_box">
<h2 class="title">案例1-广西某汽车城</h2>
<div class="sub_title">多品牌多门店兼容性直播如何玩? 打破常规变现15万+ 返厂流量200+</div>
<div class="desc">汽车城不同品牌不同产品4S店共计30000活跃车主,通过多店兼容联播,激活流失用户,
为整个汽车园区增加300+返厂量,新增到店产值15W+;同时为各4S店建立私域用户池
产生持续复购,提升综合盈利。</div>
<div class="sub_title">直播数据</div>
<div class="case_tab">
<table class="tab">
<thead>
<tr>
<th>直播时长</th>
<th>直播参与人数</th>
<th>引流人数</th>
<th>直播销量</th>
<th>自店商品收益</th>
<th>导流分润</th>
</tr>
</thead>
<tbody>
<tr>
<td>95</td>
<td>5000+</td>
<td>70+</td>
<td>226单</td>
<td>120000+</td>
<td>8000+</td>
</tr>
</tbody>
</table>
</div>
<div class="total_box">
总价值:<span>15万+</span>
</div>
</div>
<!-- 案例2 end -->
</div>
<!-- 案例 end -->
<!-- 操作步骤说明 开始 -->
<div class="step_box">
<el-steps :active="1">
<el-step>
<div slot="icon">22</div>
<div class="" slot="title">1</div>
</el-step>
<el-step title="步骤 2" icon="el-icon-upload"></el-step>
<el-step title="步骤 3" icon="el-icon-picture"></el-step>
</el-steps>
</div>
<!-- 操作步骤说明 end -->
<!-- 收起按钮 开始 -->
<div class="shrink_box" @click="showDetail = !showDetail" v-show="showDetail">
<span>收缩详情</span>
<i class="el-icon-d-arrow-right el_icon"></i>
</div>
<!-- 收起按钮 end -->
</div>
</el-collapse-transition>
<!-- 直播介绍详情 end -->
<!-- 频道列表 开始 -->
<div class="channel_list">
<div class="list_box">
<div class="cell" v-for="(item,index) in 10" :key="index">
<div class="icon"></div>
<div class="info">
<h2 class="h2">热门直播</h2>
<p>已有300门店参与</p>
</div>
</div>
</div>
</div>
<!-- 频道列表 end -->
<!-- 搜索、列表区域 开始 -->
<div class="panel_box">
<!-- 搜索区域 开始 -->
<div class="search_box">
<el-form :model="searchForm" class="after_sale_form" :inline="true" size="small">
<el-form-item class="after_sale_form_item">
<el-select v-model="searchForm.type" class="pre_select">
<el-option label="开播时间" value="1"></el-option>
<el-option label="开播时间2" value="2"></el-option>
</el-select>
<el-date-picker class="el_date_picker" v-model="searchForm.time" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期">
</el-date-picker>
</el-form-item>
<el-form-item label="直播状态">
<el-select v-model="searchForm.type2">
<el-option label="直播中" value="1"></el-option>
<el-option label="结束直播" value="2"></el-option>
</el-select>
</el-form-item>
<el-form-item label="直播频道">
<el-select v-model="searchForm.type3">
<el-option label="频道1" value="1"></el-option>
<el-option label="频道2" value="2"></el-option>
</el-select>
</el-form-item>
<el-form-item label="" class="pright0">
<el-input v-model="searchForm.text" placeholder="请输入关键词"></el-input>
</el-form-item>
<el-form-item label="">
<el-button class="search_btn">查询</el-button>
</el-form-item>
</el-form>
</div>
<!-- 搜索区域 end -->
<!-- 筛选 开始 -->
<div class="filter_box">
<a href="javascript:void(0)" :class="linkActive == item.id?'active':''" v-for="item in links" :key="item.id" @click="linkEvent(item.id)">{{item.name}}</a>
</div>
<!-- 筛选 end -->
<!-- 列表 开始 -->
<el-table class="el_table" style="width: 100%" :data="tableData">
<el-table-column label="开播时间" prop="" width="180">
<template>
<div class="live_time">
<span>8月20日</span>
<span>20:00-21:30</span>
<span class="sp3">直播频道:改装</span>
</div>
</template>
</el-table-column>
<el-table-column label="直播信息" prop="">
<template>
<div class="live_info">
<div class="top_info">
<div class="img_box">
<img src="https://img01.glsx.com.cn/weapp/resource/car-broker/banner_03.png" alt="">
</div>
<div class="live_msg">
<p class="p1">直播名称直播名称直播名称直播名称直播名称直播名称直播名称直播名称直播名称直播名称直播名称直播名称直播名称</p>
<p class="p2">
<span>房间号:20</span>
<span>主播:萌萌的兔子</span>
</p>
</div>
</div>
<div class="bottom_info">报名时间:2021.10.21 10:00 至 2021.10.21 12:00</div>
</div>
</template>
</el-table-column>
<el-table-column label="关键词" prop="">
<template>
<div class="tag_list">
<div class="tag" v-for="item in 5" :key="item">大众</div>
</div>
</template>
</el-table-column>
<el-table-column label="直播状态" prop="">
<template>未开始</template>
</el-table-column>
<el-table-column label="操作" prop="" align="center" fixed="right" width="200px">
<template>
<div class="link_list">
<el-link @click="upGoods">上架商品</el-link>
<el-link>查看详情</el-link>
</div>
</template>
</el-table-column>
</el-table>
<!-- 列表 end -->
<!-- 分页 开始 -->
<div class="pagination_box">
<el-pagination background layout="prev, pager, next" :total="1000">
</el-pagination>
</div>
<!-- 分页 开始 -->
</div>
<!-- 搜索、列表区域 end -->
<!-- 上架商品 开始 -->
<el-drawer :visible.sync="showDrawer" append-to-body>
<div class="" slot="title">查看详情2</div>
<div style="overflow-y:auto;">
<div class="" v-for="item in 100" :key="item">我来啦!{{item}}</div>
</div>
</el-drawer>
<!-- 上架商品 开始 -->
</div>
</template>
<script>
import CollapseTransition from 'element-ui/lib/transitions/collapse-transition'
export default {
name: 'SquarePage',
components: {
[CollapseTransition.name]: CollapseTransition
},
data() {
return {
searchForm: {},
links: [
{ name: '按时间倒序', id: 1 },
{ name: '按热度', id: 2 }
],
linkActive: 1,
tableData: [{}, {}, {}],
showDetail: false,
showDrawer: false
}
},
mounted() {},
methods: {
// 筛选
linkEvent(id) {
this.linkActive = id
},
// 上架商品
upGoods() {
this.showDrawer = true
}
}
}
</script>
<style lang="scss" scoped>
@import '@/assets/css/square.scss';
</style>
\ No newline at end of file \ No newline at end of file
...@@ -5,8 +5,9 @@ const publicPath = node_env ? `/child/${packageName}/` : '/' ...@@ -5,8 +5,9 @@ const publicPath = node_env ? `/child/${packageName}/` : '/'
const resolve = dir => path.join(__dirname, dir) const resolve = dir => path.join(__dirname, dir)
const CDN_DOMAIN = 'https://cdn.bootcdn.net/' const CDN_DOMAIN = 'https://cdn.bootcdn.net/'
const cdn = { const cdn = {
css: [`${CDN_DOMAIN}ajax/libs/element-ui/2.11.1/theme-chalk/index.css`], //css: [`${CDN_DOMAIN}ajax/libs/element-ui/2.11.1/theme-chalk/index.css`],
js: [`${CDN_DOMAIN}ajax/libs/vue/2.6.11/vue.min.js`, `${CDN_DOMAIN}ajax/libs/vue-router/3.2.0/vue-router.min.js`, `${CDN_DOMAIN}ajax/libs/element-ui/2.11.1/index.js`, `${CDN_DOMAIN}ajax/libs/vuex/3.6.2/vuex.min.js`, `${CDN_DOMAIN}ajax/libs/echarts/5.1.2/echarts.min.js`] css: [`${CDN_DOMAIN}ajax/libs/element-ui/2.13.0/theme-chalk/index.css`],
js: [`${CDN_DOMAIN}ajax/libs/vue/2.6.11/vue.min.js`, `${CDN_DOMAIN}ajax/libs/vue-router/3.2.0/vue-router.min.js`, `${CDN_DOMAIN}ajax/libs/element-ui/2.13.0/index.js`, `${CDN_DOMAIN}ajax/libs/vuex/3.6.2/vuex.min.js`, `${CDN_DOMAIN}ajax/libs/echarts/5.1.2/echarts.min.js`]
} }
module.exports = { module.exports = {
outputDir: `../dist/${packageName}`, outputDir: `../dist/${packageName}`,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!