Commit e9ea3c32 by 张杰

新增售后模块

1 parent 40b3b076
This diff could not be displayed because it is too large.
......@@ -30,7 +30,7 @@ export default {
line-height: 36px;
}
#app {
background: #F4F5FA;
background: #f4f5fa;
padding: 0px 20px 20px 40px;
position: absolute;
box-sizing: border-box;
......@@ -40,4 +40,10 @@ export default {
overflow-y: auto;
height: 100%;
}
// 分页全局
.pagination_box {
display:flex;
justify-content: flex-end;
}
</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
.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([{
path: '/inSale/accountRules',
component: resolve => require([`@/views/inSale/accountRules.vue`], resolve),
meta: {}
}, ])
}, {
name: 'afterSales',
path: '/afterSales/index',
component: resolve => require([`@/views/afterSales/index.vue`], resolve),
meta: {}
} ])
export default staticRoutes
\ 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
......@@ -5,8 +5,9 @@ const publicPath = node_env ? `/child/${packageName}/` : '/'
const resolve = dir => path.join(__dirname, dir)
const CDN_DOMAIN = 'https://cdn.bootcdn.net/'
const cdn = {
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.11.1/theme-chalk/index.css`],
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 = {
outputDir: `../dist/${packageName}`,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!