Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-pay
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0ed9b278
authored
Dec 08, 2021
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
商品管理-带货;部分样式
1 parent
8226221f
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
82 additions
and
67 deletions
src/assets/css/public.scss
src/views/classifyList/editClassify.vue
src/views/homeSet/index.vue
src/views/orderShare/editShare.vue
src/views/productStore/editProductDh.vue
src/views/zoneList/editZone.vue
src/assets/css/public.scss
View file @
0ed9b27
...
...
@@ -14,19 +14,25 @@ html {
padding
:
20px
;
}
.marketing.edit-box
.container
{
padding
:
20px
0
20px
;
}
.live-room
.container
{
background
:
#FFFFFF
;
margin
:
20px
0px
;
padding
:
15px
20px
;
box-shadow
:
0
1px
5px
0
rgba
(
38
,
38
,
38
,
0
.10
);
}
//输入框后置文字(如 “元”)
.suffix-label
{
.suffix-label
{
font-size
:
14px
;
font-weight
:
400
;
color
:
#333333
;
margin-right
:
5px
;
}
// 单行省略
.ellipsis-1
{
overflow
:
hidden
;
...
...
@@ -108,10 +114,6 @@ html {
margin-top
:
20px
;
}
.marketing
.m-b-20
{
margin-bottom
:
20px
;
}
.marketing
.footer-btns
{
float
:
right
;
margin-bottom
:
18px
;
...
...
@@ -156,15 +158,27 @@ html {
margin-top
:
10px
;
}
.marketing
.m-b-20
{
margin-bottom
:
20px
;
}
.marketing
.m-t-20
{
margin-top
:
20px
;
}
.marketing
.m-r-20
{
margin-right
:
20px
;
}
.marketing.p-t-20
,
.marketing
.p-t-20
{
padding-top
:
20px
;
}
.marketing
.p-l-40
{
padding-left
:
40px
;
}
.marketing
.txt-center
{
text-align
:
center
;
}
...
...
@@ -196,13 +210,13 @@ html {
.marketing
.edit-title
{
font-size
:
16px
;
font-weight
:
bold
;
height
:
48px
;
line-height
:
4
8px
;
// color: #0947C6
;
font-weight
:
500
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
height
:
2
8px
;
line-height
:
28px
;
border-bottom
:
1px
solid
#E7EAEC
;
// padding-left: 20px;
margin
:
0
0
;
padding
:
0
0
11px
40px
;
}
// .marketing .edit-sub-title::before {
...
...
src/views/classifyList/editClassify.vue
View file @
0ed9b27
<!-- 编辑分类 -->
<
template
>
<div
class=
"edit-classify marketing p-t-20"
>
<div
class=
"edit-classify marketing p-t-20
edit-box
"
>
<div
class=
"container edit-container"
>
<p
class=
"edit-title"
>
{{
title
}}
</p>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRef"
labelWidth=
"140px"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
...
...
src/views/homeSet/index.vue
View file @
0ed9b27
<!-- 首页设置 -->
<
template
>
<div
class=
"home-set marketing p-t-20"
>
<div
class=
"home-set marketing p-t-20
edit-box
"
>
<div
class=
"container edit-container flex"
>
<div
class=
"home-set-form flex-grow"
>
<div
v-for=
"(item, index) in externalFormList"
:key=
"index"
>
<p
class=
"edit-
sub-
title"
>
{{
item
.
title
}}
</p>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRef"
:labelWidth=
"labelWidth"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"item.editChildRef"
:formObj=
"editForm"
:formData=
"item.editFormData"
:formRules=
"item.editRule"
>
<p
class=
"edit-title"
>
{{
item
.
title
}}
</p>
<glsx-combi-form
class=
"edit-form-container
p-l-40
"
ref=
"editFormRef"
:labelWidth=
"labelWidth"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"item.editChildRef"
:formObj=
"editForm"
:formData=
"item.editFormData"
:formRules=
"item.editRule"
>
<template
slot=
"merchantQrcode"
slot-scope=
"scope"
>
<img
class=
"img-100"
:src=
"editForm[scope.scope.name]"
/>
<el-button
type=
"text"
@
click=
"handleImgDown(editForm[scope.scope.name])"
>
下载
</el-button>
...
...
@@ -99,9 +99,9 @@
<p
class=
"edit-tips"
>
最多支持4张banner,图片格式仅支持JPG,PNG格式
</p>
<p
class=
"edit-tips"
>
建议尺寸660*270px,大小10M以内
</p>
</div>
<
!-- <
template slot="serviceTable">
<
template
slot=
"serviceTable"
>
<GLTable
v-show=
"editForm.customerServerUserId"
:hasPage=
"false"
:tableParams=
"tableParams"
:tableData=
"customerServerList"
></GLTable>
</template>
-->
</
template
>
</glsx-combi-form>
</div>
</div>
...
...
@@ -190,7 +190,7 @@ export default {
{
confId
:
'2'
,
confName
:
'图文介绍'
},
{
confId
:
'3'
,
confName
:
'视频介绍'
}
],
labelWidth
:
'
11
0px'
,
labelWidth
:
'
9
0px'
,
externalFormList
:
[
{
title
:
'门店小程序码'
,
...
...
@@ -243,46 +243,46 @@ export default {
maxlength
:
'300'
}
]
},
{
title
:
'在线客服'
,
editFormData
:
[
{
label
:
'在线客服'
,
name
:
'customerServerUserId'
,
type
:
'select'
,
optionList
:
[],
optionId
:
'userOneid'
,
optionLabel
:
'staffName'
,
optionsName
:
'consultantList'
,
isClear
:
true
,
changeAttr
:
(
value
,
targetItem
)
=>
{
var
tempObj
=
{
customerServerName
:
''
,
customerServerUserTitle
:
''
}
this
.
customerServerList
=
[]
this
.
editForm
.
customerServerId
=
''
this
.
editForm
.
customerServerName
=
''
this
.
editForm
.
customerServerUserTitle
=
''
if
(
value
)
{
tempObj
=
this
.
baseData
.
consultantList
.
find
(
item
=>
item
.
id
==
value
)
this
.
editForm
.
customerServerId
=
tempObj
.
id
this
.
editForm
.
customerServerName
=
tempObj
.
staffName
this
.
editForm
.
customerServerUserTitle
=
tempObj
.
staffTitle
this
.
customerServerList
.
push
({
customerServerName
:
tempObj
.
staffName
,
customerServerUserTitle
:
tempObj
.
staffTitle
,
})
}
}
},
{
label
:
''
,
addHtml
:
'serviceTable'
}
]
}
// {
// title: '在线客服',
// editFormData: [
// {
// label: '在线客服',
// name: 'customerServerUserId',
// type: 'select',
// optionList: [],
// optionId: 'id',
// optionLabel: 'staffName',
// optionsName: 'consultantList',
// isClear: true,
// changeAttr: (value, targetItem) => {
// var tempObj = {
// customerServerName: '',
// customerServerUserTitle: ''
// }
// this.customerServerList = []
// this.editForm.customerServerId = ''
// this.editForm.customerServerName = ''
// this.editForm.customerServerUserTitle = ''
// if (value) {
// tempObj = this.baseData.consultantList.find(item => item.id == value)
// this.editForm.customerServerId = tempObj.id
// this.editForm.customerServerName = tempObj.staffName
// this.editForm.customerServerUserTitle = tempObj.staffTitle
// this.customerServerList.push({
// customerServerName: tempObj.staffName,
// customerServerUserTitle: tempObj.staffTitle,
// })
// }
// }
// },
// {
// label: '',
// addHtml: 'serviceTable'
// }
// ]
// }
],
// 基本信息
baseData
:
{
...
...
@@ -296,7 +296,7 @@ export default {
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
getInfo
()
//
this.getConsultant()
this
.
getConsultant
()
},
methods
:
{
...
...
@@ -539,9 +539,9 @@ export default {
}
</
script
>
<
style
scoped
>
.home-set
.container
{
padding
:
30px
;
}
/*
.home-set .container {
padding:
20px 24px 20px 0
;
}
*/
.home-set
.home-img-w-h
{
width
:
264px
;
height
:
108px
;
...
...
src/views/orderShare/editShare.vue
View file @
0ed9b27
<!-- 编辑晒单 -->
<
template
>
<div
class=
"edit-share marketing"
>
<div
class=
"edit-share marketing
edit-box
"
>
<div
class=
"container edit-container"
>
<p
class=
"edit-title"
>
{{
title
}}
</p>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRef"
labelWidth=
"140px"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
...
...
src/views/productStore/editProductDh.vue
View file @
0ed9b27
...
...
@@ -148,7 +148,7 @@ export default {
this
.
routeInfo
=
this
.
$route
.
params
this
.
title
=
this
.
titleObj
[
this
.
routeInfo
.
addOrEdit
]
this
.
isDisabled
=
this
.
routeInfo
.
addOrEdit
==
3
this
.
editFormData
[
0
].
isDisabled
=
t
rue
this
.
editFormData
[
0
].
isDisabled
=
t
his
.
isDisabled
this
.
routeInfo
.
addOrEdit
!=
1
?
this
.
getInfo
()
:
''
},
...
...
src/views/zoneList/editZone.vue
View file @
0ed9b27
<!-- 编辑专区 -->
<
template
>
<div
class=
"edit-zone marketing p-t-20"
>
<div
class=
"edit-zone marketing p-t-20
edit-box
"
>
<div
class=
"container edit-container"
>
<p
class=
"edit-title"
>
{{
title
}}
</p>
<glsx-combi-form
class=
"edit-form-container
"
ref=
"editFormRef"
labelWidth=
"140px
"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<glsx-combi-form
class=
"edit-form-container
m-r-20"
ref=
"editFormRef"
:labelWidth=
"labelWidth
"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<div
slot=
"selectMerchant"
slot-scope=
"scope"
class=
"select-merchant"
>
<el-button
type=
"
primary"
@
click=
"handleRelateStoreClose(scope)"
>
{{
editForm
.
merchantList
.
length
?
'更换'
:
'请选择
'
}}
</el-button>
<el-button
type=
"
default"
@
click=
"handleRelateStoreClose(scope)"
>
{{
editForm
.
merchantList
.
length
?
'更换门店'
:
'+选择门店
'
}}
</el-button>
</div>
<div
slot=
"merchantTable"
class=
"select-merchant
"
>
<div
slot=
"merchantTable"
:style=
"
{ 'margin-left': labelWidth, width: `calc(100% - ${labelWidth} )` }
">
<GLTable
v-show=
"editForm.merchantList.length"
ref=
"warehousListRef"
:hasPage=
"false"
:tableParams=
"tableParams"
:tableData=
"editForm.merchantList"
>
<span
slot=
"auth-button"
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"handleMerchantDelete(scope)"
>
删除
</el-button>
...
...
@@ -57,6 +57,7 @@ export default {
addOrEdit
:
1
,
id
:
''
},
labelWidth
:
'140px'
,
editForm
:
{
// 专区类型(1发现频道,2商城专区)
zoneType
:
'2'
,
...
...
@@ -98,7 +99,7 @@ export default {
addHtml
:
'selectMerchant'
},
{
// label: '
门店
',
// label: '',
name
:
''
,
addHtml
:
'merchantTable'
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment