Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 55a42449
authored
Jul 27, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
众筹样式;订单样式
1 parent
a60bd7b8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
79 additions
and
68 deletions
src/assets/seckillActivity/icon-add.png
src/common/constant.js
src/views/orderManage/orderDetail.vue
src/views/seckillActivity/editCrowdFund.vue
src/assets/seckillActivity/icon-add.png
0 → 100644
View file @
55a4244
827 Bytes
src/common/constant.js
View file @
55a4244
...
@@ -230,7 +230,6 @@ function setMinHeight(calssName = '.edit-container') {
...
@@ -230,7 +230,6 @@ function setMinHeight(calssName = '.edit-container') {
let
height
=
document
.
querySelector
(
'.header-wrap'
).
clientHeight
+
110
+
'px'
let
height
=
document
.
querySelector
(
'.header-wrap'
).
clientHeight
+
110
+
'px'
let
minHeight
=
'calc(100vh - '
+
height
+
')'
let
minHeight
=
'calc(100vh - '
+
height
+
')'
document
.
querySelector
(
calssName
).
style
.
minHeight
=
minHeight
document
.
querySelector
(
calssName
).
style
.
minHeight
=
minHeight
console
.
log
(
minHeight
)
}
}
export
{
limitPrice
,
getExplorer
,
exportFn
,
aToExport
,
downloadIamge
,
orderManageStatusList
,
afterSaleStatusList
,
orderSourceList
,
deliveryTypeList
,
statusList
,
serviceStatusList
,
memberTypeList
,
stateList
,
orderTypesList
,
orderStatusList
,
setMinHeight
}
export
{
limitPrice
,
getExplorer
,
exportFn
,
aToExport
,
downloadIamge
,
orderManageStatusList
,
afterSaleStatusList
,
orderSourceList
,
deliveryTypeList
,
statusList
,
serviceStatusList
,
memberTypeList
,
stateList
,
orderTypesList
,
orderStatusList
,
setMinHeight
}
src/views/orderManage/orderDetail.vue
View file @
55a4244
<!-- 订单详情 -->
<!-- 订单详情 -->
<
template
>
<
template
>
<div
class=
"order-detail marketing edit-box"
>
<div
class=
"order-detail marketing"
>
<div
class=
"container m-b-20"
>
<div
class=
"edit-box"
>
<p
class=
"edit-title"
>
订单信息
</p>
<div
class=
"container m-b-20"
>
<el-form
label-width=
"100px"
:inline=
"true"
>
<p
class=
"edit-title"
>
订单信息
</p>
<el-row
v-for=
"(item, index) in detailFormDataRow"
:key=
"index"
>
<el-form
label-width=
"100px"
:inline=
"true"
>
<el-form-item
v-for=
"(subItem, subIndex) in item.rowList"
:key=
"subIndex"
:label=
"subItem.label"
class=
"row-item"
>
<el-row
v-for=
"(item, index) in detailFormDataRow"
:key=
"index"
>
<span
class=
"detail-txt ellipsis-1"
:title=
"detailForm[subItem.name]"
>
{{
detailForm
[
subItem
.
name
]
?
detailForm
[
subItem
.
name
]
+
(
subItem
.
suffix
||
''
)
:
'-'
}}
</span>
<el-form-item
v-for=
"(subItem, subIndex) in item.rowList"
:key=
"subIndex"
:label=
"subItem.label"
class=
"row-item"
>
</el-form-item>
<span
class=
"detail-txt ellipsis-1"
:title=
"detailForm[subItem.name]"
>
{{
detailForm
[
subItem
.
name
]
?
detailForm
[
subItem
.
name
]
+
(
subItem
.
suffix
||
''
)
:
'-'
}}
</span>
</el-row>
</el-form-item>
</el-form>
</el-row>
</div>
</el-form>
<div
:class=
"['container', orderRefund ? 'm-b-20' : 'edit-container']"
>
<p
class=
"edit-title"
>
发货信息
</p>
<el-form
label-width=
"100px"
:inline=
"true"
>
<el-form-item
label=
"物流信息"
>
<span>
{{
detailForm
.
deliveryCompany
}}
{{
detailForm
.
deliveryNumber
}}
</span>
</el-form-item>
</el-form>
<div
v-if=
"orderGoods.length"
class=
"p-l-40"
>
<table
class=
"show-table"
>
<tbody>
<tr
v-for=
"(item, index) in orderGoods"
:key=
"index"
style=
"height: 70px;"
>
<td><img
:src=
"item.goodsImage"
class=
"img-60"
/></td>
<td>
{{
item
.
goodsName
}}
</td>
<td>
{{
item
.
specificationData
}}
</td>
<td>
{{
item
.
activityPrice
?
item
.
activityPrice
:
item
.
retailPrice
}}
元 *
{{
item
.
goodsNumber
}}
</td>
</tr>
<tr
v-if=
"detailForm.subOrderCoupon"
style=
"height: 40px;"
>
<td
style=
"text-align: left;"
colspan=
"3"
>
优惠券
</td>
<td>
{{
detailForm
.
subOrderCoupon
.
discountAmount
}}
元
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div
:class=
"['container', orderRefund ? 'm-b-20' : 'edit-container']"
>
<div
class=
"container edit-container"
v-if=
"orderRefund"
>
<p
class=
"edit-title"
>
发货信息
</p>
<p
class=
"edit-title"
>
售后信息
</p>
<el-form
label-width=
"100px"
:inline=
"true"
>
<el-row
v-for=
"(item, index) in afterInfoDataRow"
:key=
"index"
>
<el-form-item
v-for=
"(subItem, subIndex) in item.rowList"
:key=
"subIndex"
:label=
"subItem.label"
>
<span
class=
"detail-txt ellipsis-1"
:title=
"orderRefund[subItem.name]"
>
{{
orderRefund
[
subItem
.
name
]
||
'-'
}}
</span>
</el-form-item>
</el-row>
</el-form>
<div
class=
"form-img"
>
<el-form
label-width=
"100px"
:inline=
"true"
>
<el-form
label-width=
"100px"
:inline=
"true"
>
<el-form-item
label=
"售后凭证"
>
<el-form-item
label=
"物流信息"
>
<div
class=
"flex"
>
<span>
{{
detailForm
.
deliveryCompany
}}
{{
detailForm
.
deliveryNumber
}}
</span>
<span
v-for=
"(item, index) in orderRefund.imgUrls"
:key=
"index"
>
<el-image
class=
"img-60 comment-img"
:src=
"item"
:preview-src-list=
"[item]"
></el-image>
</span>
</div>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<div
v-if=
"orderGoods.length"
class=
"p-l-40"
>
<table
class=
"show-table"
>
<tbody>
<tr
v-for=
"(item, index) in orderGoods"
:key=
"index"
style=
"height: 70px;"
>
<td><img
:src=
"item.goodsImage"
class=
"img-60"
/></td>
<td>
{{
item
.
goodsName
}}
</td>
<td>
{{
item
.
specificationData
}}
</td>
<td>
{{
item
.
activityPrice
?
item
.
activityPrice
:
item
.
retailPrice
}}
元 *
{{
item
.
goodsNumber
}}
</td>
</tr>
<tr
v-if=
"detailForm.subOrderCoupon"
style=
"height: 40px;"
>
<td
style=
"text-align: left;"
colspan=
"3"
>
优惠券
</td>
<td>
{{
detailForm
.
subOrderCoupon
.
discountAmount
}}
元
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div
class=
"container edit-container"
v-if=
"orderRefund"
>
<p
class=
"edit-title"
>
售后信息
</p>
<el-form
label-width=
"100px"
:inline=
"true"
>
<el-row
v-for=
"(item, index) in afterInfoDataRow"
:key=
"index"
>
<el-form-item
v-for=
"(subItem, subIndex) in item.rowList"
:key=
"subIndex"
:label=
"subItem.label"
>
<span
class=
"detail-txt ellipsis-1"
:title=
"orderRefund[subItem.name]"
>
{{
orderRefund
[
subItem
.
name
]
||
'-'
}}
</span>
</el-form-item>
</el-row>
</el-form>
<div
class=
"form-img"
>
<el-form
label-width=
"100px"
:inline=
"true"
>
<el-form-item
label=
"售后凭证"
>
<div
class=
"flex"
>
<span
v-for=
"(item, index) in orderRefund.imgUrls"
:key=
"index"
>
<el-image
class=
"img-60 comment-img"
:src=
"item"
:preview-src-list=
"[item]"
></el-image>
</span>
</div>
</el-form-item>
</el-form>
</div>
</div>
</div>
</div>
</div>
<
div
class=
"footer"
:style=
"
{ left: footerLeft + 'px', width: footerWidth + 'px' }"
>
<
GLFooter
>
<el-button
type=
"default"
@
click=
"handleCancel"
>
返回
</el-button>
<el-button
@
click=
"handleCancel"
size=
"medium"
>
取消
</el-button>
</
div
>
</
GLFooter
>
</div>
</div>
</
template
>
</
template
>
...
@@ -71,8 +73,6 @@ export default {
...
@@ -71,8 +73,6 @@ export default {
return
{
return
{
size
:
'small'
,
size
:
'small'
,
title
:
'查看订单'
,
title
:
'查看订单'
,
footerLeft
:
'0'
,
footerWidth
:
'0'
,
editChildRef
:
'editChildRef'
,
editChildRef
:
'editChildRef'
,
routeInfo
:
{
routeInfo
:
{
orderCode
:
''
orderCode
:
''
...
@@ -201,8 +201,7 @@ export default {
...
@@ -201,8 +201,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
setMinHeight
(
'.edit-box'
)
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
routeInfo
=
this
.
$route
.
query
this
.
routeInfo
=
this
.
$route
.
query
this
.
getInfo
()
this
.
getInfo
()
},
},
...
...
src/views/seckillActivity/editCrowdFund.vue
View file @
55a4244
...
@@ -105,14 +105,15 @@
...
@@ -105,14 +105,15 @@
<div
slot=
"activityBigImg"
class=
"edit-tips m-t-8"
>
建议尺寸750*1258
</div>
<div
slot=
"activityBigImg"
class=
"edit-tips m-t-8"
>
建议尺寸750*1258
</div>
<div
slot=
"activityVideos"
class=
"edit-tips m-t-8"
>
最多上传6个视频
</div>
<div
slot=
"activityVideos"
class=
"edit-tips m-t-8"
>
最多上传6个视频
</div>
<div
slot=
"posterImg"
class=
"edit-tips m-t-8"
>
建议尺寸640*1008
</div>
<div
slot=
"posterImg"
class=
"edit-tips m-t-8"
>
建议尺寸640*1008
</div>
<div
class=
"form-describe flex-default"
slot=
"formDescribe"
v-for=
"(item, index) in formDescribeList"
:key=
"index"
>
<div
class=
"form-describe-box"
slot=
"formDescribe"
>
<el-input
class=
"describe-input"
v-model=
"item.value"
placeholder=
"请输入"
maxlength=
"20"
>
<div
v-for=
"(item, index) in formDescribeList"
:key=
"index"
class=
"form-describe flex-default"
>
<el-button
v-show=
"index == formDescribeList.length - 1 && formDescribeList.length < describeNum"
slot=
"suffix"
:size=
"size"
type=
"text"
@
click=
"handleDescribeAdd"
>
<el-input
class=
"describe-input"
v-model=
"item.value"
placeholder=
"请输入"
maxlength=
"20"
></el-input>
<span
class=
"describe-plus"
>
+
</span>
<el-button
class=
"describe-delete"
v-show=
"!(index == 0 && formDescribeList.length == 1)"
icon=
"el-icon-delete"
type=
"text"
@
click=
"handleDescribeDelete(index)"
></el-button>
</el-button>
</div>
</el-input>
<el-button
class=
"describe-btn"
v-show=
"formDescribeList.length < describeNum"
:size=
"size"
type=
"text"
@
click=
"handleDescribeAdd"
>
<el-button
class=
"describe-delete"
v-show=
"index != formDescribeList.length - 1 || index == describeNum - 1"
icon=
"el-icon-delete"
type=
"text"
@
click=
"handleDescribeDelete(index)"
></el-button>
<img
class=
"icon-add"
src=
"@/assets/seckillActivity/icon-add.png"
/>
<!-- <el-button v-show="index == formDescribeList.length - 1 && formDescribeList.length < describeNum" :size="size" type="default" class="default-blue-btn el-icon-plus" @click="handleDescribeAdd">新增</el-button> -->
新增表单
</el-button>
</div>
</div>
</glsx-combi-form>
</glsx-combi-form>
</div>
</div>
...
@@ -1356,10 +1357,22 @@ export default {
...
@@ -1356,10 +1357,22 @@ export default {
padding
:
20px
20px
0
20px
;
padding
:
20px
20px
0
20px
;
background
:
#f9f9f9
;
background
:
#f9f9f9
;
}
}
.edit-activity
.form-describe-box
{
width
:
597px
;
background
:
#f9f9f9
;
}
.edit-activity
.describe-btn
{
color
:
#5850ff
;
cursor
:
pointer
;
padding
:
0
0
16px
20px
;
}
.edit-activity
.form-describe-box
.icon-add
{
width
:
20px
;
height
:
20px
;
vertical-align
:
middle
;
}
.edit-activity
.form-describe
{
.edit-activity
.form-describe
{
width
:
560px
;
padding
:
0
20px
20px
;
padding
:
0
20px
20px
;
background
:
#f9f9f9
;
}
}
.edit-activity
.form-describe
:first-child
{
.edit-activity
.form-describe
:first-child
{
padding
:
20px
;
padding
:
20px
;
...
...
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