Browse Source

修改样式

master
xh-pan1 2 years ago
parent
commit
2b0ee2ed6e
  1. 15827
      canvas-container/styles/theme/index.css
  2. 12
      src/App.vue
  3. 33
      src/styles/elDialog.scss
  4. 78
      src/views/active/activeDetails.vue
  5. 95
      src/views/active/couponlist/couponAdd.vue
  6. 102
      src/views/active/couponlist/couponDetail.vue
  7. 98
      src/views/active/discountlist/discountAdd.vue
  8. 82
      src/views/active/discountlist/discountDetail.vue
  9. 96
      src/views/active/politelist/politeAdd.vue
  10. 78
      src/views/active/politelist/politeDetail.vue
  11. 95
      src/views/active/seckilllist/seckillAdd.vue
  12. 95
      src/views/active/seckilllist/seckillDetail.vue
  13. 90
      src/views/business/settlement/addSettlement.vue
  14. 5
      src/views/business/settlement/index.vue
  15. 415
      src/views/customer/customerMage/customerDetails.vue
  16. 477
      src/views/member/memberList/details.vue
  17. 15
      src/views/order/after/details/index.vue
  18. 4
      src/views/setup/dict/index.vue

15827
canvas-container/styles/theme/index.css
File diff suppressed because it is too large
View File

12
src/App.vue

@ -41,17 +41,5 @@ export default {
};
</script>
<style lang="scss">
.el-dialog__header {
background-color: #3A68F2;
text-align: left;
}
.el-dialog__title {
color: #FFFFFF;
}
.el-dialog__headerbtn {
color: #FFFFFF;
}
</style>

33
src/styles/elDialog.scss

@ -3,12 +3,23 @@
}
.el-dialog__header {
background-color: #3A68F2;
background-color: #183ECD;
border-radius: 10px 10px 0px 0px;
padding: 18px 20px;
display: flex;
flex-direction: row;
align-items: center;
align-content: center;
flex-wrap: nowrap;
}
.el-dialog__title {
line-height: 19px;
color: #FFFFFF;
font-size: 18px;
font-family: PingFang SC;
font-weight: 500;
}
.el-dialog__headerbtn {
@ -25,29 +36,29 @@
.el-button--primary {
color: #FFF;
background-color: #3A68F2;
border-color: #3A68F2;
background-color: #183ECD;
border-color: #183ECD;
}
.el-radio__input.is-checked .el-radio__inner {
border-color: #3A68F2;
background: #3A68F2;
border-color: #183ECD;
background: #183ECD;
}
.el-tabs__item.is-active {
color: #3A68F2;
color: #183ECD;
}
.el-tabs__active-bar {
background-color: #3A68F2;
background-color: #183ECD;
}
.el-radio-button__orig-radio:checked+.el-radio-button__inner {
color: #FFF;
background-color: #3A68F2;
border-color: #3A68F2;
-webkit-box-shadow: -1px 0 0 0 #3A68F2;
box-shadow: -1px 0 0 0 #3A68F2;
background-color: #183ECD;
border-color: #183ECD;
-webkit-box-shadow: -1px 0 0 0 #183ECD;
box-shadow: -1px 0 0 0 #183ECD;
}
.el-table td,

78
src/views/active/activeDetails.vue

@ -3,7 +3,7 @@
<div>
<div class="pending">
<el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane label="活动信息" name="first">
<el-tab-pane label="活动信息" class="shop_pane" name="first">
<div class="shop_info">
<h3 class="detail_title">店铺信息</h3>
<div class="shopInfo_left">
@ -489,7 +489,6 @@ export default {
//@import url(); css
@import url("../../styles/elDialog.scss");
.pending {
padding: 30px;
background: #FFFFFF;
border-radius: 10px;
}
@ -501,36 +500,55 @@ export default {
text-align: center;
}
}
.detail_title {
font-size: 22px;
color: #333333;
position: relative;
margin: 50px 20px 20px;
&:before {
content: "";
display: block;
position: absolute;
top: 5px;
left: -20px;
width: 4px;
height: 24px;
background-color: #3a68f2;
}
}
.detail_text {
padding: 0 120px;
// font-size: 16px;
.text {
color: #666666;
line-height: 40px;
margin-left: 20px;
}
.Margin{
margin-left: 90px;
}
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
color: #404F64;
line-height: 24px;
padding: 0px 10px;
margin: 7px 0px;
}
.shop_info{
.shop_pane{
display: flex;
flex-direction: row;
align-content: flex-start;
justify-content: space-between;
align-items: flex-start;
.shop_info{
overflow: hidden;
flex: 1;
display: flex;
flex-direction: column;
align-content: flex-start;
justify-content: flex-start;
align-items: flex-start;
flex-wrap: wrap;
.detail_title {
font-size: 16px;
font-weight: 500;
padding-left: 10px;
line-height: 16px;
margin-bottom: 15px;
margin-top: 25px;
position: relative;
&::before {
content: "";
height: 16px;
width: 4px;
background-color: #183ECD;
position: absolute;
left: 0px;
display: block;
font-weight: 500;
}
}
.shopInfo_left,.shopInfo_right{
float: left;
}
@ -544,6 +562,8 @@ export default {
}
}
}
}
.mf {
margin-left: 20px;
.el-tag{

95
src/views/active/couponlist/couponAdd.vue

@ -2,8 +2,8 @@
<div class="edit_add_page">
<div class="content">
<el-form ref="form" :model="form" label-width="150px">
<h2>基础信息</h2>
<br>
<div class="detail_title">基础信息</div>
<el-form-item label="活动名称:">
<el-input v-model="form.activityName" maxlength="20" placeholder="请输入活动名称" :disabled="unStart" />
</el-form-item>
@ -60,7 +60,7 @@
</el-form-item> -->
<h2>优惠规则</h2>
<br>
<el-form-item label="使用门槛:">
<el-input v-model="form.threshold" maxlength="9" :disabled="unStart" style="width: 100px;margin: 0 12px;" />
</el-form-item>
@ -370,26 +370,47 @@ export default {
<style lang='scss' scoped>
.edit_add_page {
padding: 20px;
h2 {
font-size: 24px;
font-weight: 500;
position: relative;
&::before {
content: "";
height: 24px;
width: 4px;
background-color: #3a68f2;
position: absolute;
left: -10px;
top: 2px;
display: block;
}
}
padding: 0px;
.content {
background-color: #fff;
padding: 0 50px 20px;
overflow: hidden;
.detail_title {
font-size: 16px;
font-weight: 500;
padding-left: 10px;
line-height: 16px;
margin-bottom: 15px;
margin-top: 10px;
position: relative;
&::before {
content: "";
height: 16px;
width: 4px;
background-color: #183ECD;
position: absolute;
left: 0px;
display: block;
font-weight: 500;
}
}
::v-deep .el-form-item__label {
vertical-align: middle;
float: left;
padding: 0 12px 0 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
color: #404F64;
line-height: 36px;
text-align: left;
}
.el-form {
.el-form-item {
label.el-form-item__label {
@ -419,8 +440,8 @@ export default {
}
}
.footer{
height: 100px;
line-height: 100px;
height: 80px;
line-height: 80px;
font-size: 24px;
position: relative;
border-top: 1px solid #e0e5eb;
@ -428,29 +449,33 @@ export default {
position: absolute;
right: 0;
top: 0;
height: 50px;
height: 36px;
span {
padding: 0;
margin: 0;
width: 100px;
height: 50px;
line-height: 50px;
text-align: center;
display: inline-block;
font-size: 16px;
border-radius: 4px;
box-sizing: border-box;
margin: 0;
width: 68px;
height: 36px;
line-height: 36px;
text-align: center;
display: inline-block;
/* font-size: 16px; */
border-radius: 4px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
&:hover {
cursor: pointer;
}
&:nth-child(1) {
background: rgba(255, 255, 255, 1);
order: 1px solid rgba(224, 229, 235, 1);
margin-right: 20px;
margin-right: 10px;
border: 1px solid rgba(224, 229, 235, 1);
}
&:nth-child(2) {
background: rgba(58, 104, 242, 1);
background: #183ECD;
color: #fff;
}
}

102
src/views/active/couponlist/couponDetail.vue

@ -3,7 +3,7 @@
<div>
<div class="pending">
<el-tabs v-model="activeName">
<el-tab-pane label="活动信息" name="first">
<el-tab-pane label="活动信息" class="shop_pane" name="first">
<div class="shop_info">
<h3 class="detail_title">店铺信息</h3>
<div class="shopInfo_left">
@ -731,9 +731,9 @@ export default {
}
</script>
<style lang='scss' scoped>
//@import url(); css
@import url("../../../styles/elDialog.scss");
.pending {
padding: 30px;
background: #FFFFFF;
border-radius: 10px;
}
@ -745,61 +745,70 @@ export default {
text-align: center;
}
}
.detail_title {
font-size: 22px;
color: #333333;
position: relative;
margin: 50px 20px 20px;
&:before {
content: "";
display: block;
position: absolute;
top: 5px;
left: -20px;
width: 4px;
height: 24px;
background-color: #3a68f2;
}
}
.detail_text {
margin: 12px 0;
padding: 0 120px;
// font-size: 16px;
.text {
color: #666666;
line-height: 40px;
margin-left: 20px;
div{
display: inline-block;
}
}
.Margin{
margin-left: 90px;
}
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
color: #404F64;
line-height: 24px;
padding: 0px 10px;
margin: 7px 0px;
}
.shop_info{
.shop_pane{
display: flex;
flex-direction: row;
align-content: flex-start;
justify-content: space-between;
align-items: flex-start;
.shop_info{
overflow: hidden;
flex: 1;
display: flex;
flex-direction: column;
align-content: flex-start;
justify-content: flex-start;
align-items: flex-start;
flex-wrap: wrap;
.detail_title {
font-size: 16px;
font-weight: 500;
padding-left: 10px;
line-height: 16px;
margin-bottom: 15px;
margin-top: 25px;
position: relative;
&::before {
content: "";
height: 16px;
width: 4px;
background-color: #183ECD;
position: absolute;
left: 0px;
display: block;
font-weight: 500;
}
}
.shopInfo_left,.shopInfo_right{
float: left;
}
.shopInfo_right{
margin-left: 160px;
width: 200px;
height: 200px;
height: 200px;
img{
width: 100%;
}
}
}
.sync_card_info {
.color-box {
width: 30px;
height: 30px;
display: inline-block;
vertical-align: middle;
}
}
.mf {
margin-left: 20px;
.el-tag{
@ -808,7 +817,16 @@ export default {
}
// radio
.el-radio__input.is-disabled+span.el-radio__label {
color: #409EFF !important;
color: #409EFF !important;
}
.sync_card_info {
.color-box {
width: 30px;
height: 30px;
display: inline-block;
vertical-align: middle;
}
}
.chartPage{
.topChart{

98
src/views/active/discountlist/discountAdd.vue

@ -2,9 +2,7 @@
<div class="edit_add_page">
<div class="content">
<el-form ref="form" :model="form" label-width="100px">
<br>
<h2>基础信息</h2>
<br>
<div class="detail_title">基础信息</div>
<el-form-item label="活动名称:">
<el-input
v-model="form.discountName"
@ -70,9 +68,7 @@
:disabled="unStart"
/>
</el-form-item>
<h2>优惠规则</h2>
<br>
<div class="detail_title">优惠规则</div>
<el-form-item label="全场折扣:">
<el-input
v-model="form.discount"
@ -248,26 +244,46 @@ export default {
<style lang='scss' scoped>
.edit_add_page {
padding: 20px;
h2 {
font-size: 24px;
font-weight: 500;
position: relative;
&::before {
content: "";
height: 24px;
width: 4px;
background-color: #3a68f2;
position: absolute;
left: -10px;
top: 2px;
display: block;
}
}
padding: 0px;
.content {
background-color: #fff;
padding: 0 50px 20px;
overflow: hidden;
.detail_title {
font-size: 16px;
font-weight: 500;
padding-left: 10px;
line-height: 16px;
margin-bottom: 15px;
margin-top: 10px;
position: relative;
&::before {
content: "";
height: 16px;
width: 4px;
background-color: #183ECD;
position: absolute;
left: 0px;
display: block;
font-weight: 500;
}
}
::v-deep .el-form-item__label {
vertical-align: middle;
float: left;
padding: 0 12px 0 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
color: #404F64;
line-height: 36px;
text-align: left;
}
.el-form {
.el-form-item {
label.el-form-item__label {
@ -296,9 +312,9 @@ export default {
}
}
}
.footer {
height: 100px;
line-height: 100px;
.footer{
height: 80px;
line-height: 80px;
font-size: 24px;
position: relative;
border-top: 1px solid #e0e5eb;
@ -306,29 +322,33 @@ export default {
position: absolute;
right: 0;
top: 0;
height: 50px;
height: 36px;
span {
padding: 0;
margin: 0;
width: 100px;
height: 50px;
line-height: 50px;
text-align: center;
display: inline-block;
font-size: 16px;
border-radius: 4px;
box-sizing: border-box;
margin: 0;
width: 68px;
height: 36px;
line-height: 36px;
text-align: center;
display: inline-block;
/* font-size: 16px; */
border-radius: 4px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
&:hover {
cursor: pointer;
}
&:nth-child(1) {
background: rgba(255, 255, 255, 1);
order: 1px solid rgba(224, 229, 235, 1);
margin-right: 20px;
margin-right: 10px;
border: 1px solid rgba(224, 229, 235, 1);
}
&:nth-child(2) {
background: rgba(58, 104, 242, 1);
background: #183ECD;
color: #fff;
}
}

82
src/views/active/discountlist/discountDetail.vue

@ -3,9 +3,9 @@
<div>
<div class="pending">
<el-tabs v-model="activeName">
<el-tab-pane label="活动信息" name="first">
<el-tab-pane label="活动信息" class="shop_pane" name="first">
<div class="shop_info">
<h3 class="detail_title">店铺信息</h3>
<div class="detail_title">店铺信息</div>
<div class="shopInfo_left">
<p class="detail_text">
<span>活动名称</span>
@ -43,7 +43,7 @@
</div>
</div>
<div class="shop_info">
<h3 class="detail_title">优惠规则</h3>
<div class="detail_title">优惠规则</div>
<p class="detail_text">
<span>全场折扣</span>
<span class="text">
@ -632,7 +632,6 @@ export default {
//@import url(); css
@import url("../../../styles/elDialog.scss");
.pending {
padding: 30px;
background: #FFFFFF;
border-radius: 10px;
}
@ -644,36 +643,55 @@ export default {
text-align: center;
}
}
.detail_title {
font-size: 22px;
color: #333333;
position: relative;
margin: 50px 20px 20px;
&:before {
content: "";
display: block;
position: absolute;
top: 5px;
left: -20px;
width: 4px;
height: 24px;
background-color: #3a68f2;
}
}
.detail_text {
padding: 0 120px;
// font-size: 16px;
.text {
color: #666666;
line-height: 40px;
margin-left: 20px;
}
.Margin{
margin-left: 90px;
}
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
color: #404F64;
line-height: 24px;
padding: 0px 10px;
margin: 7px 0px;
}
.shop_info{
.shop_pane{
display: flex;
flex-direction: row;
align-content: flex-start;
justify-content: space-between;
align-items: flex-start;
.shop_info{
overflow: hidden;
flex: 1;
display: flex;
flex-direction: column;
align-content: flex-start;
justify-content: flex-start;
align-items: flex-start;
flex-wrap: wrap;
.detail_title {
font-size: 16px;
font-weight: 500;
padding-left: 10px;
line-height: 16px;
margin-bottom: 15px;
margin-top: 25px;
position: relative;
&::before {
content: "";
height: 16px;
width: 4px;
background-color: #183ECD;
position: absolute;
left: 0px;
display: block;
font-weight: 500;
}
}
.shopInfo_left,.shopInfo_right{
float: left;
}
@ -687,6 +705,8 @@ export default {
}
}
}
}
.mf {
margin-left: 20px;
.el-tag{

96
src/views/active/politelist/politeAdd.vue

@ -2,9 +2,7 @@
<div class="edit_add_page">
<div class="content">
<el-form ref="form" :model="form" label-width="120px">
<br>
<h2>基础信息</h2>
<br>
<div class="detail_title">基础信息</div>
<el-form-item label="活动名称:">
<el-input
v-model="form.politeName"
@ -40,8 +38,7 @@
<p class="timeInfo">平台活动时间不能交叉</p>
</el-form-item>
<h2>优惠规则</h2>
<br>
<div class="detail_title">优惠规则</div>
<el-form-item label="优惠方式:">
<el-radio-group v-model="form.buyerMode">
<el-radio :label="1" :disabled="unStart">按结算金额优惠</el-radio>
@ -387,26 +384,45 @@ export default {
<style lang='scss' scoped>
.edit_add_page {
padding: 20px;
h2 {
font-size: 24px;
font-weight: 500;
position: relative;
&::before {
content: "";
height: 24px;
width: 4px;
background-color: #3a68f2;
position: absolute;
left: -10px;
top: 2px;
display: block;
}
}
padding: 0px;
.content {
background-color: #fff;
padding: 0 50px 20px;
overflow: hidden;
.detail_title {
font-size: 16px;
font-weight: 500;
padding-left: 10px;
line-height: 16px;
margin-bottom: 15px;
margin-top: 10px;
position: relative;
&::before {
content: "";
height: 16px;
width: 4px;
background-color: #183ECD;
position: absolute;
left: 0px;
display: block;
font-weight: 500;
}
}
::v-deep .el-form-item__label {
vertical-align: middle;
float: left;
padding: 0 12px 0 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
color: #404F64;
line-height: 36px;
text-align: left;
}
.el-form {
.el-form-item {
label.el-form-item__label {
@ -435,9 +451,9 @@ export default {
}
}
}
.footer {
height: 100px;
line-height: 100px;
.footer{
height: 80px;
line-height: 80px;
font-size: 24px;
position: relative;
border-top: 1px solid #e0e5eb;
@ -445,29 +461,33 @@ export default {
position: absolute;
right: 0;
top: 0;
height: 50px;
height: 36px;
span {
padding: 0;
margin: 0;
width: 100px;
height: 50px;
line-height: 50px;
text-align: center;
display: inline-block;
font-size: 16px;
border-radius: 4px;
box-sizing: border-box;
margin: 0;
width: 68px;
height: 36px;
line-height: 36px;
text-align: center;
display: inline-block;
/* font-size: 16px; */
border-radius: 4px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
&:hover {
cursor: pointer;
}
&:nth-child(1) {
background: rgba(255, 255, 255, 1);
order: 1px solid rgba(224, 229, 235, 1);
margin-right: 20px;
margin-right: 10px;
border: 1px solid rgba(224, 229, 235, 1);
}
&:nth-child(2) {
background: rgba(58, 104, 242, 1);
background: #183ECD;
color: #fff;
}
}

78
src/views/active/politelist/politeDetail.vue

@ -3,7 +3,7 @@
<div>
<div class="pending">
<el-tabs v-model="activeName">
<el-tab-pane label="活动信息" name="first">
<el-tab-pane label="活动信息" class="shop_pane" name="first">
<div class="shop_info">
<h3 class="detail_title">店铺信息</h3>
<div class="shopInfo_left">
@ -270,7 +270,6 @@ export default {
//@import url(); css
@import url("../../../styles/elDialog.scss");
.pending {
padding: 30px;
background: #FFFFFF;
border-radius: 10px;
}
@ -282,36 +281,55 @@ export default {
text-align: center;
}
}
.detail_title {
font-size: 22px;
color: #333333;
position: relative;
margin: 50px 20px 20px;
&:before {
content: "";
display: block;
position: absolute;
top: 5px;
left: -20px;
width: 4px;
height: 24px;
background-color: #3a68f2;
}
}
.detail_text {
padding: 0 120px;
// font-size: 16px;
.text {
color: #666666;
line-height: 40px;
margin-left: 20px;
}
.Margin{
margin-left: 90px;
}
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
color: #404F64;
line-height: 24px;
padding: 0px 10px;
margin: 7px 0px;
}
.shop_info{
.shop_pane{
display: flex;
flex-direction: column;
align-content: flex-start;
justify-content: space-between;
align-items: flex-start;
.shop_info{
overflow: hidden;
flex: 1;
display: flex;
flex-direction: column;
align-content: flex-start;
justify-content: flex-start;
align-items: flex-start;
flex-wrap: wrap;
.detail_title {
font-size: 16px;
font-weight: 500;
padding-left: 10px;
line-height: 16px;
margin-bottom: 15px;
margin-top: 25px;
position: relative;
&::before {
content: "";
height: 16px;
width: 4px;
background-color: #183ECD;
position: absolute;
left: 0px;
display: block;
font-weight: 500;
}
}
.shopInfo_left,.shopInfo_right{
float: left;
}
@ -325,6 +343,8 @@ export default {
}
}
}
}
.mf {
margin-left: 20px;
.el-tag{

95
src/views/active/seckilllist/seckillAdd.vue

@ -2,8 +2,8 @@
<div class="edit_add_page">
<div class="content">
<el-form ref="form" :model="form" label-width="100px">
<h2>基础信息</h2>
<br>
<div class="detail_title">基础信息</div>
<el-form-item label="活动名称:">
<el-input v-model="form.seckillName" maxlength="20" placeholder="请输入活动名称" :disabled="unStart" />
</el-form-item>
@ -51,8 +51,8 @@
<el-form-item v-if="form.ifBond === 1" label="保证金金额:">
<el-input v-model="form.bondMoney" maxlength="9" placeholder="请输入活动保证金金额" :disabled="unStart" />
</el-form-item>
<h2>优惠规则</h2>
<br>
<div class="detail_title">优惠规则</div>
<el-form-item label="直降金额:">
<el-input v-model="form.seckillMoney" maxlength="9" placeholder="请输入活动名称" :disabled="unStart" />
</el-form-item>
@ -219,26 +219,45 @@ export default {
<style lang='scss' scoped>
.edit_add_page {
padding: 20px;
h2 {
font-size: 24px;
font-weight: 500;
position: relative;
&::before {
content: "";
height: 24px;
width: 4px;
background-color: #3a68f2;
position: absolute;
left: -10px;
top: 2px;
display: block;
}
}
padding: 0px;
.content {
background-color: #fff;
padding: 0 50px 20px;
overflow: hidden;
.detail_title {
font-size: 16px;
font-weight: 500;
padding-left: 10px;
line-height: 16px;
margin-bottom: 15px;
margin-top: 10px;
position: relative;
&::before {
content: "";
height: 16px;
width: 4px;
background-color: #183ECD;
position: absolute;
left: 0px;
display: block;
font-weight: 500;
}
}
::v-deep .el-form-item__label {
vertical-align: middle;
float: left;
padding: 0 12px 0 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
color: #404F64;
line-height: 36px;
text-align: left;
}
.el-form {
.el-form-item {
label.el-form-item__label {
@ -268,8 +287,8 @@ export default {
}
}
.footer{
height: 100px;
line-height: 100px;
height: 80px;
line-height: 80px;
font-size: 24px;
position: relative;
border-top: 1px solid #e0e5eb;
@ -277,29 +296,33 @@ export default {
position: absolute;
right: 0;
top: 0;
height: 50px;
height: 36px;
span {
padding: 0;
margin: 0;
width: 100px;
height: 50px;
line-height: 50px;
text-align: center;
display: inline-block;
font-size: 16px;
border-radius: 4px;
box-sizing: border-box;
margin: 0;
width: 68px;
height: 36px;
line-height: 36px;
text-align: center;
display: inline-block;
/* font-size: 16px; */
border-radius: 4px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
&:hover {
cursor: pointer;
}
&:nth-child(1) {
background: rgba(255, 255, 255, 1);
order: 1px solid rgba(224, 229, 235, 1);
margin-right: 20px;
margin-right: 10px;
border: 1px solid rgba(224, 229, 235, 1);
}
&:nth-child(2) {
background: rgba(58, 104, 242, 1);
background: #183ECD;
color: #fff;
}
}

95
src/views/active/seckilllist/seckillDetail.vue

@ -3,7 +3,7 @@
<div>
<div class="pending">
<el-tabs v-model="activeName">
<el-tab-pane label="活动信息" name="first">
<el-tab-pane label="活动信息" class="shop_pane" name="first">
<div class="shop_info">
<h3 class="detail_title">活动信息</h3>
<div class="shopInfo_left">
@ -134,8 +134,8 @@
<template slot-scope="scope">{{ scope.row.shopName }}</template>
</el-table-column>
<el-table-column prop="shopCode" label="店铺编码" />
<el-table-column prop="products" label="参与商品数" />
<el-table-column prop="examines" label="审核次数" />
<el-table-column prop="products" width="100" label="参与商品数" />
<el-table-column prop="examines" width="90" label="审核次数" />
<el-table-column label="审核状态">
<template slot-scope="scope">
<span v-if="scope.row.state == 0">待审核</span>
@ -655,7 +655,6 @@ export default {
//@import url(); css
@import url("../../../styles/elDialog.scss");
.pending {
padding: 30px;
background: #FFFFFF;
border-radius: 10px;
}
@ -667,40 +666,70 @@ export default {
text-align: center;
}
}
.detail_title {
font-size: 22px;
color: #333333;
position: relative;
margin: 50px 20px 20px;
&:before {
content: "";
display: block;
position: absolute;
top: 5px;
left: -20px;
width: 4px;
height: 24px;
background-color: #3a68f2;
}
}
.detail_text {
padding: 0 120px;
// font-size: 16px;
.text {
color: #666666;
line-height: 40px;
margin-left: 20px;
}
.Margin{
margin-left: 90px;
}
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
color: #404F64;
line-height: 24px;
padding: 0px 10px;
margin: 7px 0px;
}
.shop_info{
.shop_pane{
display: flex;
flex-direction: row;
align-content: flex-start;
justify-content: space-between;
align-items: flex-start;
.shop_info{
overflow: hidden;
.shopInfo_left{
flex: 1;
display: flex;
flex-direction: column;
align-content: flex-start;
justify-content: flex-start;
align-items: flex-start;
flex-wrap: wrap;
.detail_title {
font-size: 16px;
font-weight: 500;
padding-left: 10px;
line-height: 16px;
margin-bottom: 15px;
margin-top: 25px;
position: relative;
&::before {
content: "";
height: 16px;
width: 4px;
background-color: #183ECD;
position: absolute;
left: 0px;
display: block;
font-weight: 500;
}
}
.shopInfo_left,.shopInfo_right{
float: left;
}
.shopInfo_right{
margin-left: 160px;
width: 200px;
height: 200px;
img{
width: 100%;
}
}
}
}
.mf {
margin-left: 20px;
.el-tag{
@ -709,7 +738,7 @@ export default {
}
// radio
.el-radio__input.is-disabled+span.el-radio__label {
color: #409EFF !important;
color: #409EFF !important;
}
</style>

90
src/views/business/settlement/addSettlement.vue

@ -2,18 +2,20 @@
<template>
<div class="">
<!-- 卡片 -->
<el-card class="box-card">
<div class="box-card">
<div
slot="header"
class="clearfix"
>
<span>入驻申请</span>
<span
v-if="shopDetails.checkState === 2"
class="leftTitle"
style="color: red;"
>已拒绝</span>
<span
v-if="shopDetails.checkState === 1"
class="leftTitle"
class="leftTitle" style="color: #33B376;"
>已通过</span>
<span
v-if="shopDetails.checkState === 0"
@ -80,7 +82,7 @@
<span>{{ shopDetails.shopAdress }}</span>
</p>
</div>
<div class="person_info">
<div class="shop_info">
<p class="detail_title">个人信息</p>
<p class="detail_text">
<span>
@ -175,7 +177,7 @@
>
</p>
</div>
<div class="person_info">
<div class="shop_info">
<p class="detail_title">授权信息</p>
<p class="detail_text">
<span>
@ -194,7 +196,7 @@
</div>
</div>
</div>
</el-card>
</div>
<!-- *************对话框开始************* -->
<el-dialog
@ -408,9 +410,13 @@ export default {
>
//@import url(); css
.clearfix {
font-size: 18px;
font-family: PingFang SC;
font-weight: bold;
color: #121F31;
line-height: 38px;
.leftTitle {
font-size: 24px;
color: #333333;
}
.girhtBtn {
@ -420,45 +426,49 @@ export default {
.detail {
min-height: 500px;
background: rgba(255, 255, 255, 1);
box-shadow: 0px 0px 10px 0px rgba(51, 51, 51, 0.15);
border-radius: 4px;
padding: 1px 50px 20px;
margin-top: 15px;
.shop_info{
margin-bottom: 30px;
}
.detail_title {
font-size: 24px;
color: #333333;
position: relative;
margin: 50px 20px 20px;
font-size: 16px;
font-weight: 500;
padding-left: 10px;
line-height: 16px;
margin-bottom: 20px;
margin-top: 15px;
position: relative;
&::before {
content: "";
height: 16px;
width: 4px;
background-color: #183ECD;
position: absolute;
left: 0px;
display: block;
font-weight: 500;
}
font {
color: #ff7911;
}
&:before {
content: "";
display: block;
position: absolute;
top: 5px;
left: -20px;
width: 4px;
height: 24px;
background-color: #3a68f2;
}
}
.detail_text {
line-height: 40px;
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
color: #404F64;
line-height: 24px;
margin: 7px 0px;
span {
display: inline-block;
color: #333333;
font-size: 16px;
&:nth-child(1) {
width: 150px;
text-indent: 20px;
width: 120px;
font {
color: red;
@ -472,6 +482,9 @@ export default {
}
.detail_img {
position: relative;
line-height: 40px;
margin-bottom: 30px;
@ -482,10 +495,13 @@ export default {
top: 0;
left: 0;
display: inline-block;
color: #333333;
font-size: 16px;
width: 150px;
text-indent: 20px;
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
color: #404F64;
line-height: 24px;
margin: 7px 0px;
width: 120px;
font {
color: #ff7911;

5
src/views/business/settlement/index.vue

@ -115,8 +115,8 @@
top="5vh"
width="70%"
center
:show-close="false"
:close-on-click-modal="false"
@close="cleanForm('addVisible')"
>
<AddSettlement
v-loading="loading"
@ -166,6 +166,9 @@ export default {
},
//
methods: {
cleanForm (attr) {
this[attr] = false
},
handleSizeChange (val) {
this.formInline.pageSize = val
this.getAll(this.formInline)

415
src/views/customer/customerMage/customerDetails.vue

@ -1,57 +1,79 @@
<template>
<div class="custom_info_page">
<h2>客户信息</h2>
<div class="custom_info">
<div class="info_item">
<img :src="userObj.headImage" alt>
<div class="base_info">
<div class="custom_info">
<div class="custom_title">客户信息</div>
<div class="custom_info_content">
<div class="info_img">
<img :src="userObj.headImage" alt>
</div>
<div class="info_item">
<ul>
<li v-for="(item, index) in infoList" :key="index">
<p>
<span>{{ item.name }}: </span>
<span>{{ item.value }}</span>
</p>
</li>
</ul>
</div>
</div>
</div>
<div class="info_item">
<ul>
<li v-for="(item, index) in infoList" :key="index">
<p>
<span>{{ item.name }} :</span>
<span>{{ item.value }}</span>
</p>
</li>
</ul>
<div class="custom_info">
<div class="custom_title">消费数据</div>
<div class="custom_info_content">
<div class="info_item">
<ul>
<li>
<p>
<span> : </span>
<span>{{ userObj.orders }}</span>
</p>
</li>
<li>
<p>
<span>支付成功数: </span>
<span>{{ userObj.pays }}</span>
</p>
</li>
<li>
<p>
<span>售后次数: </span>
<span>{{ userObj.afters }}</span>
</p>
</li>
<li>
<p>
<span>售后单数: </span>
<span>{{ userObj.afterOrders }}</span>
</p>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="custom_tag">
<h2>客户标签</h2>
<div class="Tag">
<p v-for="(item, index) in tagList" :key="index">{{ item }}</p>
<p @click="addTag">贴标签</p>
<div class="custom_info">
<div class="custom_title">客户标签</div>
<div class="custom_info_content">
<div class="custom_info_content">
<div class="info_item">
<p v-for="(item, index) in tagList" :key="index">{{ item.tagName }}</p>
<p @click="addTag" style="color:#183ECD">贴标签</p>
</div>
</div>
</div>
</div>
</div>
<div class="custom_data">
<h2>消费数据</h2>
<div class="data_list">
<p>
<span>
:
<font>{{ userObj.orders }}</font>
</span>
支付成功数:
<font>{{ userObj.pays }}</font>
</p>
<p>
<span>
售后次数:
<font>{{ userObj.afters }}</font>
</span>
售后单数:
<font>{{ userObj.afterOrders }}</font>
</p>
</div>
<div class="tab_list">
<p
v-for="(item, index) in tabList"
:key="index"
:class="[{ active: componentName === item.componentName }]"
@click="changeTab(item)"
>{{ item.tabName }}</p>
</div>
<div class="tab_list">
<p v-for="(item, index) in tabList" :key="index" :class="[{ active: componentName === item.componentName }]"
@click="changeTab(item)">{{ item.tabName }}</p>
</div>
<div v-if="componentName === 'order'">
<el-form :inline="true" :model="userForm" class="demo-form-inline">
<el-form-item label="订单编号">
@ -61,12 +83,8 @@
<el-button @click="searchOrders" type="primary" plain>查询</el-button>
</el-form-item>
</el-form>
<el-table
:data="userObj.orderList"
border
:header-cell-style="{ background: '#EEF3FF', color: '#333333' }"
style="width: 100%"
>
<el-table :data="userObj.orderList" border :header-cell-style="{ background: '#F6F8FB', color: '#404F64' }"
style="width: 100%">
<el-table-column prop="orderFormid" label="订单编号" />
<el-table-column prop="shopName" label="店铺名称" />
<el-table-column prop="products" label="商品数量" />
@ -83,23 +101,15 @@
</el-table>
</div>
<div v-if="componentName === 'comment'">
<el-table
:data="userObj.comments"
border
:header-cell-style="{ background: '#EEF3FF', color: '#333333' }"
style="width: 100%"
>
<el-table :data="userObj.comments" border :header-cell-style="{ background: '#F6F8FB', color: '#404F64' }"
style="width: 100%">
<el-table-column prop="shopName" label="店铺名称" />
<el-table-column prop="productName" label="商品名称" />
</el-table>
</div>
<div v-if="componentName === 'addressInfo'">
<el-table
:data="userObj.receives"
border
:header-cell-style="{ background: '#EEF3FF', color: '#333333' }"
style="width: 100%"
>
<el-table :data="userObj.receives" border :header-cell-style="{ background: '#F6F8FB', color: '#404F64' }"
style="width: 100%">
<el-table-column prop="receiveName" label="姓名" />
<el-table-column prop="receivePhone" label="电话" />
<el-table-column prop="receiveAdress" label="地址" />
@ -116,13 +126,7 @@
</div>
<!-- *************对话框开始************* -->
<!-- 打标签 -->
<el-dialog
title="选择标签"
:visible.sync="addFormDialog"
width="30%"
center
:close-on-click-modal="false"
>
<el-dialog title="选择标签" :visible.sync="addFormDialog" width="30%" center :close-on-click-modal="false">
<div>
<!-- 表单搜索 -->
<el-form :inline="true" :model="tipsForm" class="demo-form-inline">
@ -138,12 +142,8 @@
</el-form>
<!-- 多选 -->
<el-checkbox-group v-model="checkList">
<el-checkbox
v-for="(item, index) in tipsList"
:key="index"
class="checkBoxStyle"
:label="item.buyerLabelId"
>{{ item.labelName }}</el-checkbox>
<el-checkbox v-for="(item, index) in tipsList" :key="index" class="checkBoxStyle" :label="item.buyerLabelId">{{
item.labelName }}</el-checkbox>
</el-checkbox-group>
</div>
<span slot="footer" class="dialog-footer">
@ -170,7 +170,7 @@ export default {
default: null
}
},
data () {
data() {
return {
infoList: [
{ name: '用户昵称', value: '', fields: 'name' },
@ -203,7 +203,7 @@ export default {
},
watch: {
ids: {
handler (nVal, oVal) {
handler(nVal, oVal) {
console.log('watch', nVal)
this.user = nVal
this.getUser(this.ids)
@ -211,14 +211,14 @@ export default {
deep: true
},
},
created () {
created() {
// this.user = this.$route.params
// console.log(this.user)
this.getUser(this.ids)
},
methods: {
//
async getUser (obj) {
async getUser(obj) {
const res = await customerMageGetById({
buyerUserId: obj.buyerUserId,
orderFormid: obj.orderFormid
@ -228,7 +228,7 @@ export default {
this.formateUserInfo(this.userObj)
},
//
formateUserInfo (ob) {
formateUserInfo(ob) {
this.infoList.map(item => {
item.value = ob[item.fields] || ''
if (item.fields === 'sex') {
@ -237,28 +237,28 @@ export default {
})
},
//
addTag () {
addTag() {
this.addFormDialog = true
this.getSelect({ labelName: this.tipsForm.labelName })
},
//
searchOrders () {
searchOrders() {
this.user.orderFormid = this.userForm.orderFormid
this.getUser(this.user)
},
//
searchTips () {
searchTips() {
console.log(this.tipsForm)
this.getSelect({ labelName: this.tipsForm.labelName })
},
//
runTips () {
runTips() {
this.$router.push({
path: '/customer/tips'
})
},
//
async saveTips (row) {
async saveTips(row) {
const res = await customerSaveUserLabel({
buyerUserId: this.user.buyerUserId,
buyerLabelIds: this.checkList
@ -273,11 +273,11 @@ export default {
this.addFormDialog = false
}
},
changeTab (item) {
changeTab(item) {
this.componentName = item.componentName
},
//
async getSelect (name) {
async getSelect(name) {
const res = await getLabels(name)
this.tipsList = res.data
}
@ -286,134 +286,161 @@ export default {
</script>
<style lang='scss' scoped>
h2 {
font-size: 24px;
font-weight: 500;
position: relative;
&::before {
content: "";
height: 24px;
width: 4px;
background-color: #3a68f2;
position: absolute;
left: -10px;
top: 2px;
display: block;
}
label {
font-weight: 400;
}
//
.custom_info_page {
margin-top: 20px;
padding: 20px 100px;
background-color: #fff;
min-height: 500px;
.custom_info {
margin-bottom: 30px;
.base_info {
display: flex;
align-items: center;
.info_item {
&:nth-child(1) {
height: 180px;
width: 100px;
img {
width: 100px;
height: 100px;
border-radius: 50px;
text-align: center;
margin-top: 40px;
flex-direction: row;
align-content: flex-start;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 30px;
.custom_info {
flex: 1;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: flex-start;
flex-direction: column;
justify-content: flex-start;
flex-wrap: nowrap;
.custom_title {
font-size: 16px;
font-weight: 500;
padding-left: 10px;
line-height: 16px;
margin-bottom: 30px;
position: relative;
&::before {
content: "";
height: 16px;
width: 4px;
background-color: #183ECD;
position: absolute;
left: 0px;
display: block;
font-weight: 500;
}
}
&:nth-child(2) {
margin-left: 100px;
ul {
overflow: hidden;
list-style: none;
li {
float: left;
width: 50%;
p {
font-size: 16px;
color: #333;
line-height: 40px;
span:nth-child(2) {
color: #666;
.custom_info_content {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: flex-start;
.info_img {
height: 105px;
width: 74px;
margin-right: 15px;
img {
width: 74px;
height: 74px;
border-radius: 37px;
text-align: center;
}
}
.info_item {
ul {
overflow: hidden;
list-style: none;
li {
float: left;
width: 100%;
p {
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
color: #404F64;
line-height: 24px;
margin-bottom: 7px;
}
}
}
}
}
}
}
.custom_tag {
margin-bottom: 30px;
.Tag{
padding-top: 20px ;
}
p {
display: inline-block;
background-color: #d8e1fc;
font-size: 16px;
color: #333;
text-align: center;
margin-right: 20px;
border-radius: 4px;
padding: 8px 15px;
&:last-child {
background-color: #fff;
color: #3a68f2;
&:hover {
cursor: pointer;
}
.custom_tag {
width: 33%;
.Tag {
padding-top: 20px;
}
}
}
.custom_data {
.data_list {
padding: 20px 0 40px 0;
p {
display: inline-block;
background-color: #d8e1fc;
font-size: 16px;
line-height: 40px;
font {
color: #666;
}
span {
display: inline-block;
width: 200px;
color: #333;
text-align: center;
// margin-right: 20px;
border-radius: 4px;
padding: 8px 15px;
&:last-child {
background-color: #fff;
color: #3a68f2;
&:hover {
cursor: pointer;
}
}
}
}
.tab_list {
overflow: hidden;
margin-bottom: 20px;
p {
float: left;
padding: 0 50px;
font-size: 16px;
border: 1px #e0e5eb solid;
box-sizing: border-box;
color: #999999;
height: 48px;
line-height: 48px;
&:nth-child(-n + 2) {
border-right: 0;
}
&:nth-child(1) {
border-radius: 4px 0 0 4px;
}
&:nth-child(3) {
border-radius: 0 4px 4px 0;
}
&:hover {
cursor: pointer;
}
}
.tab_list {
overflow: hidden;
margin-bottom: 20px;
p {
float: left;
padding: 0 45px;
font-size: 14px;
border: 1px #e0e5eb solid;
box-sizing: border-box;
color: #999999;
height: 36px;
line-height: 36px;
&:nth-child(-n + 2) {
border-right: 0;
}
&:nth-child(1) {
border-radius: 4px 0 0 4px;
}
.active {
background-color: #3a68f2;
color: #fff;
border: 0;
&:nth-child(3) {
border-radius: 0 4px 4px 0;
}
&:hover {
cursor: pointer;
}
}
.active {
background-color: #183ECD;
color: #fff;
border: 0;
}
}
}

477
src/views/member/memberList/details.vue

@ -1,58 +1,79 @@
<template>
<el-dialog title="详情" width="80%" :visible.sync="visible" :close-on-click-modal="false" @close="closeModalDetail">
<div class="custom_info_page">
<h2>客户信息</h2>
<div class="custom_info">
<div class="info_item">
<img :src="userObj.headImage" alt>
<div class="base_info">
<div class="custom_info">
<div class="custom_title">客户信息</div>
<div class="custom_info_content">
<div class="info_img">
<img :src="userObj.headImage" alt>
</div>
<div class="info_item">
<ul>
<li v-for="(item, index) in infoList" :key="index">
<p>
<span>{{ item.name }}: </span>
<span>{{ item.value }}</span>
</p>
</li>
</ul>
</div>
</div>
</div>
<div class="info_item">
<ul>
<li v-for="(item, index) in infoList" :key="index">
<p>
<span>{{ item.name }} :</span>
<span>{{ item.value }}</span>
</p>
</li>
</ul>
<div class="custom_info">
<div class="custom_title">消费数据</div>
<div class="custom_info_content">
<div class="info_item">
<ul>
<li>
<p>
<span> : </span>
<span>{{ userObj.orders }}</span>
</p>
</li>
<li>
<p>
<span>支付成功数: </span>
<span>{{ userObj.pays }}</span>
</p>
</li>
<li>
<p>
<span>售后次数: </span>
<span>{{ userObj.afters }}</span>
</p>
</li>
<li>
<p>
<span>售后单数: </span>
<span>{{ userObj.afterOrders }}</span>
</p>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="custom_tag">
<h2>客户标签</h2>
<div class="Tag">
<p v-for="(item, index) in tagList" :key="index">{{ item.tagName }}</p>
<p @click="addTag">贴标签</p>
<div class="custom_info">
<div class="custom_title">客户标签</div>
<div class="custom_info_content">
<div class="custom_info_content">
<div class="info_item">
<p v-for="(item, index) in tagList" :key="index">{{ item.tagName }}</p>
<p @click="addTag" style="color:#183ECD">贴标签</p>
</div>
</div>
</div>
</div>
</div>
<div class="custom_data">
<h2>消费数据</h2>
<div class="data_list">
<p>
<span>
:
<font>{{ userObj.orders }}</font>
</span>
支付成功数:
<font>{{ userObj.pays }}</font>
</p>
<p>
<span>
售后次数:
<font>{{ userObj.afters }}</font>
</span>
售后单数:
<font>{{ userObj.afterOrders }}</font>
</p>
</div>
<div class="tab_list">
<p
v-for="(item, index) in tabList"
:key="index"
:class="[{ active: componentName === item.componentName }]"
@click="changeTab(item)"
>{{ item.tabName }}</p>
</div>
<div class="tab_list">
<p v-for="(item, index) in tabList" :key="index" :class="[{ active: componentName === item.componentName }]"
@click="changeTab(item)">{{ item.tabName }}</p>
</div>
<div v-if="componentName === 'order'">
<el-form :inline="true" :model="userForm" class="demo-form-inline">
<el-form-item label="订单编号">
@ -62,17 +83,13 @@
<el-button type="primary" plain @click="searchOrders">查询</el-button>
</el-form-item>
</el-form>
<el-table
:data="userObj.orderList"
border
:header-cell-style="{ background: '#EEF3FF', color: '#333333' }"
style="width: 100%"
>
<el-table :data="userObj.orderList" border :header-cell-style="{ background: '#F6F8FB', color: '#404F64' }"
style="width: 100%">
<el-table-column prop="orderFormid" label="订单编号" />
<el-table-column prop="shopName" label="店铺名称" />
<el-table-column prop="products" label="商品数量">
<template slot-scope="scope">
<span>{{scope.row.products}}</span>
<span>{{ scope.row.products }}</span>
</template>
</el-table-column>
<el-table-column prop="price" label="订单金额(元)" />
@ -88,12 +105,8 @@
</el-table>
</div>
<div v-if="componentName === 'comment'">
<el-table
:data="userObj.comments"
border
:header-cell-style="{ background: '#EEF3FF', color: '#333333' }"
style="width: 100%"
>
<el-table :data="userObj.comments" border :header-cell-style="{ background: '#F6F8FB', color: '#404F64' }"
style="width: 100%">
<el-table-column prop="shopName" label="店铺名称" />
<el-table-column prop="productName" label="商品名称" />
<el-table-column prop="comments" label="评论">
@ -104,31 +117,21 @@
</el-table>
</div>
<div v-if="componentName === 'addressInfo'">
<el-table
:data="userObj.receives"
border
:header-cell-style="{ background: '#EEF3FF', color: '#333333' }"
style="width: 100%"
>
<el-table :data="userObj.receives" border :header-cell-style="{ background: '#F6F8FB', color: '#404F64' }"
style="width: 100%">
<el-table-column prop="receiveName" label="姓名" />
<el-table-column prop="receivePhone" label="电话" />
<el-table-column prop="receiveAdress" label="地址">
<template slot-scope="scope">
<span>{{scope.row.receiveAdress}}{{scope.row.address}}</span>
<span>{{ scope.row.receiveAdress }}{{ scope.row.address }}</span>
</template>
</el-table-column>
</el-table>
</div>
<!-- *************对话框开始************* -->
<!-- 打标签 -->
<el-dialog
title="选择标签"
:visible.sync="addFormDialog"
width="30%"
append-to-body
center
:close-on-click-modal="false"
>
<el-dialog title="选择标签" :visible.sync="addFormDialog" width="30%" append-to-body center
:close-on-click-modal="false">
<div>
<!-- 表单搜索 -->
<el-form :inline="true" :model="tipsForm" class="demo-form-inline">
@ -144,12 +147,8 @@
</el-form>
<!-- 多选 -->
<el-checkbox-group v-model="checkList">
<el-checkbox
v-for="(item, index) in tipsList"
:key="index"
class="checkBoxStyle"
:label="item.buyerLabelId"
>{{ item.labelName }}</el-checkbox>
<el-checkbox v-for="(item, index) in tipsList" :key="index" class="checkBoxStyle"
:label="item.buyerLabelId">{{ item.labelName }}</el-checkbox>
</el-checkbox-group>
</div>
<span slot="footer" class="dialog-footer">
@ -158,15 +157,8 @@
</span>
</el-dialog>
<!-- 查看评论弹框 -->
<el-dialog
title="评论详情"
:visible.sync="comDialogVisible"
:close-on-click-modal="false"
:before-close="handleClose"
width="60%"
center
:append-to-body="true"
>
<el-dialog title="评论详情" :visible.sync="comDialogVisible" :close-on-click-modal="false" :before-close="handleClose"
width="60%" center :append-to-body="true">
<div class="pinStyle">
<div class="comment">
<div class="com_left">评论</div>
@ -175,27 +167,19 @@
<div v-if="commentDetails.images.length != 0" class="comment_imgList">
<div class="img_left">图片</div>
<div class="imgList">
<el-image
v-for="(item,index) in commentDetails.images"
:key="index"
:src="item"
:preview-src-list="commentDetails.images"
/>
<el-image v-for="(item, index) in commentDetails.images" :key="index" :src="item"
:preview-src-list="commentDetails.images" />
</div>
</div>
<div class="comment">
<div v-if="commentDetails.addComment !=''" class="com_left">追评</div>
<div v-if="commentDetails.addComment != ''" class="com_left">追评</div>
<div class="com_right">{{ commentDetails.addComment }}</div>
</div>
<div v-if="commentDetails.addImages.length != 0" class="comment_imgList">
<div class="img_left">图片</div>
<div class="imgList">
<el-image
v-for="(item,index) in commentDetails.addImages"
:key="index"
:src="item"
:preview-src-list="commentDetails.addImages"
/>
<el-image v-for="(item, index) in commentDetails.addImages" :key="index" :src="item"
:preview-src-list="commentDetails.addImages" />
</div>
</div>
</div>
@ -205,6 +189,7 @@
<el-button type="primary" @click="delCom">删除</el-button>
</span>
</el-dialog>
</div>
<div slot="footer" class="dialog-footer">
<el-button type="text" @click="doCancel">取消</el-button>
@ -217,7 +202,7 @@
import { customerMageGetById, getLabels, customerSaveUserLabel } from '@/api/customerMage'
import { commentSysGetById, commentSysUpdate, commentSysDelete, commentAllow } from '@/api/comment'
export default {
data () {
data() {
return {
visible: false,
infoList: [
@ -260,7 +245,7 @@ export default {
// },
methods: {
//
async toShow () {
async toShow() {
const res = await commentAllow({
commentId: this.commentId,
state: 1
@ -273,7 +258,7 @@ export default {
}
},
//
async noneShow () {
async noneShow() {
const res = await commentSysUpdate({
commentId: this.commentId,
state: 0
@ -286,7 +271,7 @@ export default {
}
},
//
async delCom () {
async delCom() {
const res = await commentSysDelete({
commentId: this.commentId
})
@ -297,42 +282,42 @@ export default {
}
},
//
async seeComment (commentId) {
async seeComment(commentId) {
this.comDialogVisible = true
const res = await commentSysGetById({ commentId: commentId })
this.commentId = commentId
this.commentDetails = res.data
},
handleClose () {
handleClose() {
this.comDialogVisible = false
},
closeModalDetail () {
closeModalDetail() {
this.comState = 1
this.componentName = 'order'
},
//
addTag () {
addTag() {
this.addFormDialog = true
this.getSelect({ labelName: this.tipsForm.labelName })
},
//
searchOrders () {
searchOrders() {
this.user.orderFormid = this.userForm.orderFormid
this.getUser(this.user)
},
//
searchTips () {
searchTips() {
console.log(this.tipsForm)
this.getSelect({ labelName: this.tipsForm.labelName })
},
//
runTips () {
runTips() {
this.$router.push({
path: '/member/tips'
})
},
//
async saveTips (row) {
async saveTips(row) {
console.log(this.checkList)
const res = await customerSaveUserLabel({
buyerUserId: this.user.buyerUserId,
@ -347,11 +332,11 @@ export default {
this.addFormDialog = false
}
},
changeTab (item) {
changeTab(item) {
this.componentName = item.componentName
},
//
async getUser (obj) {
async getUser(obj) {
this.user = obj
const res = await customerMageGetById({
buyerUserId: obj.buyerUserId,
@ -362,7 +347,7 @@ export default {
this.getInfoList(this.userObj)
},
//
getInfoList (ob) {
getInfoList(ob) {
this.infoList.map(item => {
console.log(item)
item.value = ob[item.fields] || ''
@ -372,14 +357,14 @@ export default {
})
},
//
async getSelect (name) {
async getSelect(name) {
const res = await getLabels(name)
this.tipsList = res.data
},
doCancel () {
doCancel() {
this.visible = false
},
doSubmit () {
doSubmit() {
this.visible = false
this.$emit('reset')
},
@ -388,27 +373,24 @@ export default {
</script>
<style lang='scss' scoped>
//
.comment_manage_page {
padding: 20px;
background: #FFFFFF;
border-radius: 10px;
}
.pinStyle {
.comment {
margin-bottom: 20px;
display: flex;
align-items: center;
.com_left {
font-size: 20px;
color: #333333;
margin-right: 20px;
}
.com_right {
font-size: 18px;
color: #333333;
}
}
.comment_imgList {
display: flex;
margin-bottom: 20px;
@ -420,11 +402,13 @@ export default {
margin-right: 20px;
width: 60px;
}
.imgList {
display: flex;
justify-content: flex-start;
align-items: center;
flex-wrap: wrap;
.el-image {
width: 200px;
height: 134px;
@ -434,6 +418,7 @@ export default {
}
}
}
// .line {
// width: 890px;
// height: 1px;
@ -447,137 +432,163 @@ export default {
// margin-bottom: 20px;
// }
}
//
h2 {
font-size: 24px;
font-weight: 500;
position: relative;
&::before {
content: "";
height: 24px;
width: 4px;
background-color: #3a68f2;
position: absolute;
left: -10px;
top: 2px;
display: block;
}
label {
font-weight: 400;
}
//
.custom_info_page {
margin-top: 20px;
padding: 20px 100px;
background-color: #fff;
min-height: 500px;
.custom_info {
margin-bottom: 30px;
.base_info {
display: flex;
align-items: center;
.info_item {
&:nth-child(1) {
height: 180px;
width: 100px;
img {
width: 100px;
height: 100px;
border-radius: 50px;
text-align: center;
margin-top: 40px;
flex-direction: row;
align-content: flex-start;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 30px;
.custom_info {
flex: 1;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: flex-start;
flex-direction: column;
justify-content: flex-start;
flex-wrap: nowrap;
.custom_title {
font-size: 16px;
font-weight: 500;
padding-left: 10px;
line-height: 16px;
margin-bottom: 30px;
position: relative;
&::before {
content: "";
height: 16px;
width: 4px;
background-color: #183ECD;
position: absolute;
left: 0px;
display: block;
font-weight: 500;
}
}
&:nth-child(2) {
margin-left: 100px;
ul {
overflow: hidden;
list-style: none;
li {
float: left;
width: 50%;
p {
font-size: 16px;
color: #333;
line-height: 40px;
span:nth-child(2) {
color: #666;
.custom_info_content {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: flex-start;
.info_img {
height: 105px;
width: 74px;
margin-right: 15px;
img {
width: 74px;
height: 74px;
border-radius: 37px;
text-align: center;
}
}
.info_item {
ul {
overflow: hidden;
list-style: none;
li {
float: left;
width: 100%;
p {
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
color: #404F64;
line-height: 24px;
margin-bottom: 7px;
}
}
}
}
}
}
}
.custom_tag {
margin-bottom: 30px;
.Tag{
padding-top: 20px ;
}
p {
display: inline-block;
background-color: #d8e1fc;
font-size: 16px;
color: #333;
text-align: center;
// margin-right: 20px;
border-radius: 4px;
padding: 8px 15px;
&:last-child {
background-color: #fff;
color: #3a68f2;
&:hover {
cursor: pointer;
}
.custom_tag {
width: 33%;
.Tag {
padding-top: 20px;
}
}
}
.custom_data {
.data_list {
padding: 20px 0 40px 0;
p {
display: inline-block;
background-color: #d8e1fc;
font-size: 16px;
line-height: 40px;
font {
color: #666;
}
span {
display: inline-block;
width: 200px;
color: #333;
text-align: center;
// margin-right: 20px;
border-radius: 4px;
padding: 8px 15px;
&:last-child {
background-color: #fff;
color: #3a68f2;
&:hover {
cursor: pointer;
}
}
}
}
.tab_list {
overflow: hidden;
margin-bottom: 20px;
p {
float: left;
padding: 0 50px;
font-size: 16px;
border: 1px #e0e5eb solid;
box-sizing: border-box;
color: #999999;
height: 48px;
line-height: 48px;
&:nth-child(-n + 2) {
border-right: 0;
}
&:nth-child(1) {
border-radius: 4px 0 0 4px;
}
&:nth-child(3) {
border-radius: 0 4px 4px 0;
}
&:hover {
cursor: pointer;
}
}
.tab_list {
overflow: hidden;
margin-bottom: 20px;
p {
float: left;
padding: 0 45px;
font-size: 14px;
border: 1px #e0e5eb solid;
box-sizing: border-box;
color: #999999;
height: 36px;
line-height: 36px;
&:nth-child(-n + 2) {
border-right: 0;
}
&:nth-child(1) {
border-radius: 4px 0 0 4px;
}
&:nth-child(3) {
border-radius: 0 4px 4px 0;
}
.active {
background-color: #3a68f2;
color: #fff;
border: 0;
&:hover {
cursor: pointer;
}
}
.active {
background-color: #183ECD;
color: #fff;
border: 0;
}
}
}
</style>

15
src/views/order/after/details/index.vue

@ -519,19 +519,4 @@ export default {
}
}
}
::v-deep .el-dialog__wrapper {
.el-dialog__header {
height: 70px;
background-color: #3a68f2;
.el-dialog__title {
font-size: 24px;
color: #fff;
}
.el-dialog__headerbtn {
color: #FFFFFF;
}
}
}
</style>

4
src/views/setup/dict/index.vue

@ -355,8 +355,4 @@ export default {
color: #404F64 !important;
font-weight: bold;
}
.el-button--primary.is-plain{
color: #183ECD;
background-color: #EBF3FF;
}
</style>
Loading…
Cancel
Save