Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨炀
/
ztx_wx_gzt
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
67042ffd
authored
2026-05-08 00:06:41 +0800
by
张猛
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
订单页面样式修改
1 parent
47f54494
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
469 additions
and
97 deletions
myCenter/order.vue
myCenter/order.vue
View file @
67042ff
<
template
>
<view
:class=
"
{ 'no-scroll': isPopupOpen }" class="order-page">
<!-- 顶部标签栏 -->
<view
class=
"search-bar"
>
<uni-easyinput
v-model=
"queryParams.wfCode"
:input-border=
"false"
class=
"search-input"
placeholder=
"搜索缴费编号"
placeholderStyle=
"font-size:30rpx;color:#999"
prefixIcon=
"search"
@
blur=
"handelSearch"
@
clear=
"handelSearch"
>
</uni-easyinput>
<view
class=
"add-btn"
@
click=
"handelSearch"
>
<text
class=
"add-text"
>
搜索
</text>
</view>
</view>
<view
class=
"tab-bar"
>
<view
v-for=
"(tab, index) in tabs"
...
...
@@ -24,58 +41,187 @@
>
<view
class=
"order-list"
>
<!-- 有数据才循环 -->
<!--
<view
v-if=
"list.length > 0"
>
-->
<!--
<view-->
<!-- v-for="(item, index) in list"-->
<!-- :key="index"-->
<!-- class="order-card"-->
<!-- @click="goToDetail(item)"-->
<!-- >-->
<!-- <!– 订单头部:日期 + 状态 –>-->
<!--
<view
class=
"card-header"
>
-->
<!--
<view
class=
"date"
>
-->
<!-- <!–
<image
:src=
"config.baseUrl_api + '/fs/static/calendar@2x.png'"
mode=
"widthFix"
style=
"width:30rpx;height:30rpx;"
/>
–>
-->
<!-- <!– –>-->
<!--
<text
class=
"value text-primary"
>
{{
item
.
wfCode
||
'——'
}}
</text>
-->
<!--
</view>
-->
<!--
<view
class=
"status-tags"
>
-->
<!-- <!–
<view-->
<!-- class="status-tag"-->
<!-- :class="
{-->
<!-- success: item.payStatus == 1,-->
<!-- danger: item.payStatus == 2,-->
<!-- pending: item.payStatus == 0-->
<!-- }"-->
<!-- >-->
<!--
{{
getStatusText
(
item
.
payStatus
)
}}
-->
<!--
</view>
–>
-->
<!--
<view-->
<!-- :class="
{-->
<!-- 'status-wait': item.auditStatus == 0,-->
<!-- 'status-pending': item.auditStatus == 1,-->
<!-- 'status-success': item.auditStatus == 2,-->
<!-- 'status-danger': item.auditStatus == 3-->
<!-- }"-->
<!-- class="status-tag ml-10"-->
<!-- >-->
<!--
{{
getAuditStatusText
(
item
.
auditStatus
)
}}
-->
<!--
</view>
-->
<!--
</view>
-->
<!--
</view>
-->
<!-- -->
<!-- <!– 订单编号、缴费编号 –>-->
<!--
<view
class=
"info-row"
>
-->
<!--
<text
class=
"label"
>
订单编号:
</text>
-->
<!--
<text
class=
"value"
>
{{
item
.
tradeNo
||
'——'
}}
</text>
-->
<!--
</view>
-->
<!--
<view
v-if=
"item.orderName"
class=
"info-row"
>
-->
<!--
<text
class=
"label"
>
缴费名称:
</text>
-->
<!--
<text
class=
"value"
>
{{
item
.
orderName
||
''
}}
</text>
-->
<!--
</view>
-->
<!-- <!–
<view
class=
"info-row"
>
-->
<!--
<text
class=
"label"
>
缴费编号:
</text>
-->
<!-- -->
<!--
</view>
–>
-->
<!-- -->
<!-- <!– 核心:前2tab仅展示缴费年限,后2tab仅展示人数合计 –>-->
<!--
<view
v-if=
"item.content"
class=
"info-section flex f-j-s"
>
-->
<!-- <!– 个人/单位会员(仅缴费年限) –>-->
<!--
<view
v-if=
"currentTab === '0' || currentTab === '1'"
class=
"single-info"
>
-->
<!--
<view
class=
"label"
>
缴费年限:
</view>
-->
<!--
<view
class=
"value"
>
{{
item
.
content
.
yearCount
||
0
}}
</view>
-->
<!--
</view>
-->
<!-- <!– 级位/段位考试(仅人数合计) –>-->
<!--
<view
v-if=
"currentTab === '2' || currentTab === '3' || currentTab === '4'"
class=
"single-info"
>
-->
<!--
<view
class=
"label"
>
人数合计
</view>
-->
<!--
<view
class=
"value"
>
{{
item
.
content
.
personCount
||
0
}}
</view>
-->
<!--
</view>
-->
<!--
<view
class=
"line"
></view>
-->
<!--
<view
class=
"single-info"
>
-->
<!--
<view
class=
"label"
>
订单状态
</view>
-->
<!--
<view
:class=
"item.effect == 1 ? 'text-success' : 'text-warning'"
class=
"value"
>
-->
<!--
{{
item
.
effect
==
1
?
'已生效'
:
'未生效'
}}
-->
<!--
</view>
-->
<!--
</view>
-->
<!--
<view
class=
"line"
></view>
-->
<!--
<view
class=
"single-info"
>
-->
<!--
<view
class=
"label"
>
缴费状态
</view>
-->
<!--
<view-->
<!-- :class="
{-->
<!-- 'text-primary': item.payStatus == 0,-->
<!-- 'text-success': item.payStatus == 1,-->
<!-- 'text-danger': item.payStatus == 2-->
<!-- }"-->
<!-- class="value"-->
<!-- >-->
<!--
{{
item
.
payStatus
==
0
?
'待缴费'
:
item
.
payStatus
==
1
?
'缴费成功'
:
'订单取消'
}}
-->
<!--
</view>
-->
<!--
</view>
-->
<!--
</view>
-->
<!-- -->
<!-- <!– 费用合计 + 缴费方式 –>-->
<!--
<view
class=
"price-section"
>
-->
<!--
<view
class=
"price-row"
>
-->
<!--
<text
class=
"price-label"
>
费用合计
</text>
-->
<!--
<text
class=
"price-value"
>
¥
{{
(
Number
(
item
.
price
)
||
0
).
toFixed
(
2
)
}}
</text>
-->
<!--
</view>
-->
<!--
<view
class=
"price-row"
>
-->
<!--
<text
class=
"price-label"
>
缴费方式
</text>
-->
<!--
<text
class=
"price-value"
>
{{
item
.
ziZhangBu
?
'对公转账'
:
'民生付'
}}
</text>
-->
<!--
</view>
-->
<!--
</view>
-->
<!-- -->
<!-- <!– 按钮组:靠右紧凑展示 –>-->
<!--
<view
class=
"btn-group"
>
-->
<!-- <!– 已缴费:申请开票/已开票(需要审核通过才能开票) –>-->
<!--
<template
v-if=
"item.payStatus == 1 && item.invoiceStatus != 1&& item.auditStatus == 2 &&item.price>0"
>
-->
<!--
<button
:disabled=
"item.invoiceStatus === 1"
class=
"btn btn-view-invoice"
@
click=
"makeInvoiceFN(item)"
>
-->
<!-- 开票-->
<!--
</button>
-->
<!--
</
template
>
-->
<!-- <!– 已开票:查看发票 –>-->
<!-- <template v-if="item.invoiceStatus == 1">-->
<!-- <button class="btn btn-invoice" @click.stop="viewInvoice(item)">查看发票</button>-->
<!-- </template>-->
<!-- <!– 未缴费:去缴费 + 取消订单 –>-->
<!-- <!– <template v-if="item.payStatus == 0">-->
<!-- <button class="btn btn-cancel" @click="handleCancel(item)">取消订单</button>-->
<!-- <button class="btn btn-pay" @click="handlePay(item)">去缴费</button>-->
<!-- </template> –>-->
<!-- </view>-->
<!-- </view>-->
<!-- </view>-->
<!-- 有数据才循环 -->
<view
v-if=
"list.length > 0"
>
<view
v-for=
"(item, index) in list"
:key=
"index"
class=
"order-card"
class=
"order-card
-new
"
@
click=
"goToDetail(item)"
>
<!-- 订单头部:日期 + 状态 -->
<view
class=
"card-header"
>
<view
class=
"date"
>
<
!--
<image
:src=
"config.baseUrl_api + '/fs/static/calendar@2x.png'"
mode=
"widthFix"
style=
"width:30rpx;height:30rpx;"
/>
--
>
<!-- --
>
<text
class=
"value text-primary"
>
{{
item
.
wfCod
e
||
'——'
}}
</text>
<
view
class=
"data-header"
>
<text
class=
"member-label"
>
{{ tabs[currentTab].label }}·
</text
>
<text
class=
"value "
>
{{ item.orderNam
e || '——' }}
</text>
</view>
<view
class=
"status-tags"
>
<!--
<view
class=
"status-tag"
:class=
"
{
success: item.payStatus == 1,
danger: item.payStatus == 2,
pending: item.payStatus == 0
}"
>
{{
getStatusText
(
item
.
payStatus
)
}}
</view>
-->
<view
:class=
"
{
<text
:class=
"{
'status-wait': item.auditStatus == 0,
'status-pending': item.auditStatus == 1,
'status-success': item.auditStatus == 2,
'status-danger': item.auditStatus == 3
}"
class="status-tag ml-10"
>
{{
getAuditStatusText
(
item
.
auditStatus
)
}}
class=
"status-tag "
>
{{ getAuditStatusText(item.auditStatus) }}
</text>
</view>
</view>
<view
class=
"card-header"
>
<view
class=
"date"
>
<view
class=
"data-header"
>
<text
class=
"value"
>
<text
class=
"tradeNo"
>
订单编号:
</text>
{{ item.tradeNo || '——' }}
</text>
</view>
</view>
</view>
<view
class=
"card-header"
>
<view
class=
"date"
>
<view
class=
"data-header"
>
<text
class=
"value"
>
<text
class=
"tradeNo"
>
缴费编号:
</text>
{{ item.wfCode || '——' }}
</text>
</view>
</view>
</view>
<view
class=
"member-time"
>
<view
class=
"label"
>
<text
class=
"star"
>
★
</text>
{{ `${filterTime(item.genTime)}${filterType(item.type)}` }}
</view>
<view
class=
"price"
>
<view>
¥{{ item.price || '0.00' }}
</view>
<view
v-if=
"item.type==0"
class=
"person"
>
共{{ item.content?.allPersonCount || 0 }}人
</view>
<view
v-if=
"item.type==1"
class=
"person"
>
共{{ item.content?.yearCount || 0 }}年
</view>
<view
v-if=
"item.type==2||item.type==3||item.type==4"
class=
"person"
>
共{{
item.content?.personCount || 0
}}人
</view>
<!-- 订单编号、缴费编号 -->
<view
class=
"info-row"
>
<text
class=
"label"
>
订单编号:
</text>
<text
class=
"value"
>
{{
item
.
tradeNo
||
'——'
}}
</text>
</view>
<view
v-if=
"item.orderName"
class=
"info-row"
>
<text
class=
"label"
>
缴费名称:
</text>
<text
class=
"value"
>
{{
item
.
orderName
||
''
}}
</text>
</view>
<!--
<view
class=
"info-row"
>
<text
class=
"label"
>
缴费编号:
</text>
</view>
-->
<!-- 核心:前2tab仅展示缴费年限,后2tab仅展示人数合计 -->
<view
v-if=
"item.content"
class=
"info-section flex f-j-s"
>
...
...
@@ -112,23 +258,20 @@
</view>
</view>
<!-- 费用合计 + 缴费方式 -->
<view
class=
"price-section"
>
<view
class=
"price-row"
>
<text
class=
"price-label"
>
费用合计
</text>
<text
class=
"price-value"
>
¥
{{
(
Number
(
item
.
price
)
||
0
).
toFixed
(
2
)
}}
</text>
</view>
<view
class=
"price-row"
>
<text
class=
"price-label"
>
缴费方式
</text>
<text
class=
"price-value"
>
{{
item
.
ziZhangBu
?
'对公转账'
:
'民生付'
}}
</text>
</view>
</view>
<!-- 按钮组:靠右紧凑展示 -->
<view
class=
"btn-group"
>
<view>
<text
class=
"more"
@
click=
"goToDetail(item)"
>
更多
</text>
</view>
<view
class=
"btn-flex"
>
<!-- 已缴费:申请开票/已开票(需要审核通过才能开票) -->
<
template
>
<button
class=
"btn btn-info"
@
click=
"goToDetail(item)"
>
查看明细
</button>
</
template
>
<!-- 已缴费:申请开票/已开票(需要审核通过才能开票) -->
<
template
v-if=
"item.payStatus == 1 && item.invoiceStatus != 1&& item.auditStatus == 2 &&item.price>0"
>
<button
:disabled=
"item.invoiceStatus === 1"
class=
"btn btn-view-invoice"
@
click=
"makeInvoiceFN(item)"
>
<button
:disabled=
"item.invoiceStatus === 1"
class=
"btn btn-view-invoice"
@
click=
"makeInvoiceFN(item)"
>
开票
</button>
</
template
>
...
...
@@ -142,6 +285,8 @@
<button class="btn btn-pay" @click="handlePay(item)">去缴费</button>
</template> -->
</view>
</view>
</view>
</view>
...
...
@@ -233,6 +378,7 @@ import {
}
from
'@dcloudio/uni-app'
import
*
as
api
from
'@/common/api.js'
import
config
from
'@/config.js'
import
dayjs
from
'dayjs'
// 获取deptType值(初始值为0,在onMounted中设置实际值)
const
deptType
=
ref
(
0
);
...
...
@@ -245,29 +391,29 @@ const tabs = computed(() => {
if
(
dt
===
6
)
{
console
.
log
(
'返回3个tab: 个人会员、单位会员、级位考试'
);
return
[
{
name
:
'个人会员'
,
type
:
'0'
},
{
name
:
'单位会员'
,
type
:
'1'
},
{
name
:
'级位考试'
,
type
:
'2'
}
{
name
:
'个人会员'
,
type
:
'0'
,
label
:
"会员"
},
{
name
:
'单位会员'
,
type
:
'1'
,
label
:
"单位"
},
{
name
:
'级位考试'
,
type
:
'2'
,
label
:
"级位"
}
];
}
else
if
(
dt
===
2
)
{
console
.
log
(
'返回3个tab: 单位会员、段位考试、越段考试'
);
return
[
// {name: '单位会员', type: '1'},
{
name
:
'段位考试'
,
type
:
'3'
},
{
name
:
'越段考试'
,
type
:
'4'
}
{
name
:
'段位考试'
,
type
:
'3'
,
label
:
"段位"
},
{
name
:
'越段考试'
,
type
:
'4'
,
label
:
"越段"
}
];
}
else
if
(
dt
===
1
)
{
console
.
log
(
'返回默认5个tab, dt值为:'
,
dt
);
return
[
{
name
:
'个人会员'
,
type
:
'0'
},
{
name
:
'单位会员'
,
type
:
'1'
},
{
name
:
'级位考试'
,
type
:
'2'
},
{
name
:
'段位考试'
,
type
:
'3'
},
{
name
:
'越段考试'
,
type
:
'4'
}
{
name
:
'个人会员'
,
type
:
'0'
,
label
:
"会员"
},
{
name
:
'单位会员'
,
type
:
'1'
,
label
:
"单位"
},
{
name
:
'级位考试'
,
type
:
'2'
,
label
:
"级位"
},
{
name
:
'段位考试'
,
type
:
'3'
,
label
:
"段位"
},
{
name
:
'越段考试'
,
type
:
'4'
,
label
:
"越段"
}
];
}
else
{
return
[
{
name
:
'单位会员'
,
type
:
'1'
},
{
name
:
'单位会员'
,
type
:
'1'
,
label
:
"单位"
},
];
}
});
...
...
@@ -309,8 +455,10 @@ onLoad((option) => {
const
app
=
getApp
();
deptType
.
value
=
Number
(
app
.
globalData
?.
deptType
||
0
);
const
firstType
=
tabs
.
value
[
0
]?.
type
??
'0'
;
currentTab
.
value
=
option
.
type
||
firstType
;
queryParams
.
type
=
option
.
type
||
firstType
;
// currentTab.value = option.type || firstType;
// queryParams.type = option.type || firstType;
currentTab
.
value
=
firstType
;
queryParams
.
type
=
firstType
;
initData
();
});
...
...
@@ -368,6 +516,20 @@ const getAuditStatusText = (status) => {
return
map
[
status
]
||
''
;
};
const
filterTime
=
(
row
)
=>
{
if
(
!
row
)
return
''
return
dayjs
(
row
).
format
(
'YYYY年MM月DD日'
)
}
const
filterType
=
(
row
)
=>
{
if
(
row
==
0
)
return
'个人会员缴费办理'
if
(
row
==
1
)
return
'单位会员缴费办理'
if
(
row
==
2
)
return
'级位考试办理'
if
(
row
==
3
)
return
'段位考试办理'
if
(
row
==
4
)
return
'越位考试办理'
}
// 数据请求核心方法
const
initData
=
async
()
=>
{
loading
.
value
=
true
;
...
...
@@ -409,6 +571,12 @@ const initData = async () => {
}
};
const
handelSearch
=
()
=>
{
pageNum
.
value
=
1
list
.
value
=
[]
initData
()
}
// 删除订单
const
handleDelete
=
(
item
)
=>
{
currentOrder
.
value
=
item
;
...
...
@@ -425,7 +593,7 @@ const confirmDel = async () => {
uni
.
showToast
({
title
:
'删除成功'
,
icon
:
'success'
});
pageNum
.
value
=
1
;
list
.
value
=
[];
initData
();
await
initData
();
closeDelPopup
();
}
catch
(
e
)
{
uni
.
showToast
({
title
:
'删除失败'
,
icon
:
'error'
});
...
...
@@ -521,7 +689,7 @@ const confirmCancel = async () => {
uni
.
showToast
({
title
:
'取消成功'
,
icon
:
'success'
});
pageNum
.
value
=
1
;
list
.
value
=
[];
initData
();
await
initData
();
closeCancelPopup
();
}
catch
(
e
)
{
uni
.
showToast
({
title
:
'取消失败'
,
icon
:
'error'
});
...
...
@@ -549,24 +717,67 @@ const closeCancelPopup = () => {
}
}
/* 搜索栏 */
.search-bar
{
display
:
flex
;
align-items
:
center
;
padding
:
20
rpx
30
rpx
;
background-color
:
#ffffff
;
margin-bottom
:
0
;
.search-input
{
flex
:
1
;
margin-right
:
20
rpx
;
:deep(.uni-easyinput__content)
{
border-radius
:
40
rpx
;
background-color
:
#f5f7fa
;
height
:
76
rpx
;
padding
:
0
24
rpx
;
}
:deep
(
.uni-easyinput__content-input
)
{
font-size
:
28
rpx
;
color
:
#333
;
}
}
.add-btn
{
display
:
flex
;
align-items
:
center
;
padding
:
10
rpx
30
rpx
;
background-color
:
#AD181F
;
border-radius
:
40
rpx
;
font-size
:
28
rpx
;
color
:
#ffffff
;
}
.add-icon
{
font-size
:
36
rpx
;
margin-right
:
10
rpx
;
font-weight
:
bold
;
}
}
//
标签栏样式
.tab-bar
{
display
:
flex
;
background
:
#fff
;
border-bottom
:
1
rpx
solid
#eee
;
//
background
:
#fff
;
//
border-bottom
:
1
rpx
solid
#eee
;
flex-shrink
:
0
;
.tab-item
{
flex
:
1
;
text-align
:
center
;
padding
:
24
rpx
0
;
font-size
:
28
rpx
;
font-size
:
30
rpx
;
color
:
#666
;
position
:
relative
;
font-weight
:
bold
;
&.active
{
color
:
#
e4393c
;
font-weight
:
500
;
color
:
#
c30d23
;
font-weight
:
bold
;
&::after
{
content
:
''
;
...
...
@@ -575,8 +786,9 @@ const closeCancelPopup = () => {
left
:
50%
;
transform
:
translateX
(
-50%
);
width
:
60
rpx
;
height
:
4
rpx
;
background
:
linear-gradient
(
90deg
,
#FF755A
,
#F51722
);
height
:
6
rpx
;
//
background
:
linear-gradient
(
90deg
,
#FF755A
,
#F51722
);
background
:
#c30d23
;
border-radius
:
2
rpx
;
}
}
...
...
@@ -614,7 +826,7 @@ const closeCancelPopup = () => {
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
padding-bottom
:
2
0
rpx
;
padding-bottom
:
1
0
rpx
;
//
margin-bottom
:
20
rpx
;
//
border-bottom
:
1
rpx
dashed
#eee
;
...
...
@@ -636,21 +848,21 @@ const closeCancelPopup = () => {
.status-tag
{
font-size
:
22
rpx
;
padding
:
6
rpx
16
rpx
;
border-radius
:
20
rpx
;
//
padding
:
6
rpx
16
rpx
;
//
border-radius
:
20
rpx
;
&.success
{
background
:
#e6f7ef
;
//
background
:
#e6f7ef
;
color
:
#52c41a
;
}
&
.danger
{
background
:
#fff1f0
;
//
background
:
#fff1f0
;
color
:
#ff4d4f
;
}
&
.pending
{
background
:
#f5f5f5
;
//
background
:
#f5f5f5
;
color
:
#999
;
}
...
...
@@ -659,27 +871,27 @@ const closeCancelPopup = () => {
}
&
.status-wait
{
background
:
#f0f5ff
;
//
background
:
#f0f5ff
;
color
:
#597ef7
;
border
:
1
rpx
solid
rgba
(
89
,
126
,
247
,
0.3
);
//
border
:
1
rpx
solid
rgba
(
89
,
126
,
247
,
0.3
);
}
&
.status-pending
{
background
:
#fff7e6
;
//
background
:
#fff7e6
;
color
:
#faad14
;
border
:
1
rpx
solid
rgba
(
250
,
173
,
20
,
0.3
);
//
border
:
1
rpx
solid
rgba
(
250
,
173
,
20
,
0.3
);
}
&
.status-success
{
background
:
#e6f7ef
;
//
background
:
#e6f7ef
;
color
:
#52c41a
;
border
:
1
rpx
solid
rgba
(
82
,
196
,
26
,
0.3
);
//
border
:
1
rpx
solid
rgba
(
82
,
196
,
26
,
0.3
);
}
&
.status-danger
{
background
:
#fff1f0
;
//
background
:
#fff1f0
;
color
:
#ff4d4f
;
border
:
1
rpx
solid
rgba
(
232
,
52
,
29
,
0.3
);
//
border
:
1
rpx
solid
rgba
(
232
,
52
,
29
,
0.3
);
}
}
}
...
...
@@ -708,9 +920,10 @@ const closeCancelPopup = () => {
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
margin
:
20
rpx
0
;
//
margin
:
20
rpx
0
;
padding
:
0
20
rpx
;
min-height
:
100
rpx
;
border-radius
:
20
rpx
;
}
.line
{
...
...
@@ -726,6 +939,7 @@ const closeCancelPopup = () => {
border-radius
:
8
rpx
;
font-size
:
26
rpx
;
text-align
:
center
;
.label
{
color
:
#999
;
text-align
:
center
;
...
...
@@ -790,21 +1004,32 @@ const closeCancelPopup = () => {
//
按钮组
.btn-group
{
display
:
flex
;
justify-content
:
flex-end
;
justify-content
:
space-between
;
align-items
:
center
;
gap
:
16
rpx
;
width
:
100%
;
margin-top
:
20
rpx
;
.more
{
color
:
#666
;
}
.btn-flex
{
display
:
flex
;
justify-content
:
flex-end
;
gap
:
16
rpx
;
}
.btn
{
//
固定宽度,所有按钮一样大
width
:
160
rpx
;
height
:
7
0
rpx
;
line-height
:
7
0
rpx
;
height
:
5
0
rpx
;
line-height
:
5
0
rpx
;
padding
:
0
;
border-radius
:
4
0
rpx
;
font-size
:
2
4
rpx
;
border-radius
:
2
0
rpx
;
font-size
:
2
8
rpx
;
white-space
:
nowrap
;
font-weight
:
bold
;
border
:
none
;
background
:
transparent
;
text-align
:
center
;
...
...
@@ -817,20 +1042,27 @@ const closeCancelPopup = () => {
&
.btn-delete
{
background
:
#fff
;
color
:
#e4393c
;
border
:
1
rpx
solid
#e4393c
;
//
color
:
#e4393c
;
color
:
#c30d23
;
border
:
1
rpx
solid
#c30d23
;
}
&
.btn-invoice
{
background
:
#fff
;
color
:
#
e4393c
;
border
:
1
rpx
solid
#
e4393c
;
color
:
#
c30d23
;
border
:
1
rpx
solid
#
c30d23
;
}
&
.btn-view-invoice
{
background
:
linear-gradient
(
90deg
,
#FF755A
,
#F51722
);
color
:
#fff
;
border
:
none
;
//
background
:
linear-gradient
(
90deg
,
#FF755A
,
#F51722
);
color
:
#c30d23
;
//
border
:
none
;
border
:
1
rpx
solid
#c30d23
;
}
&
.btn-info
{
color
:
#444
;
border
:
1
rpx
solid
#666
;
}
&
.btn-cancel
{
...
...
@@ -840,9 +1072,10 @@ const closeCancelPopup = () => {
}
&
.btn-pay
{
background
:
linear-gradient
(
90deg
,
#FF755A
,
#F51722
);
color
:
#fff
;
border
:
none
;
//
background
:
linear-gradient
(
90deg
,
#FF755A
,
#F51722
);
color
:
#c30d23
;
//
border
:
none
;
border
:
1
rpx
solid
#c30d23
;
}
&
:disabled
{
...
...
@@ -1040,4 +1273,143 @@ const closeCancelPopup = () => {
}
}
}
.order-card-new
{
background
:
#fff
;
margin-bottom
:
20
rpx
;
padding
:
20
rpx
;
box-shadow
:
0
2
rpx
8
rpx
rgba
(
0
,
0
,
0
,
0.04
);
border-radius
:
12
rpx
;
display
:
flex
;
flex-direction
:
column
;
//
卡片头部
.card-header
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
padding-bottom
:
10
rpx
;
//
margin-bottom
:
20
rpx
;
//
border-bottom
:
1
rpx
dashed
#eee
;
.date
{
width
:
100%
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
gap
:
8
rpx
;
font-size
:
26
rpx
;
.data-header
{
display
:
flex
;
}
.member-label
{
color
:
#c30d23
;
font-size
:
28
rpx
;
font-weight
:
bold
;
}
.value
{
color
:
#000
;
font-size
:
28
rpx
;
font-weight
:
bold
;
.tradeNo
{
color
:
#999
;
font-size
:
26
rpx
;
}
}
.date-text
{
color
:
#666
;
}
}
.status-tags
{
display
:
flex
;
gap
:
10
rpx
;
}
.status-tag
{
font-size
:
26
rpx
;
//
padding
:
6
rpx
16
rpx
;
//
border-radius
:
20
rpx
;
&.success
{
//
background
:
#e6f7ef
;
color
:
#52c41a
;
}
&
.danger
{
//
background
:
#fff1f0
;
color
:
#ff4d4f
;
}
&
.pending
{
//
background
:
#f5f5f5
;
color
:
#999
;
}
&
.ml-10
{
margin-left
:
10
rpx
;
}
&
.status-wait
{
//
background
:
#f0f5ff
;
color
:
#597ef7
;
//
border
:
1
rpx
solid
rgba
(
89
,
126
,
247
,
0.3
);
}
&
.status-pending
{
//
background
:
#fff7e6
;
color
:
#faad14
;
//
border
:
1
rpx
solid
rgba
(
250
,
173
,
20
,
0.3
);
}
&
.status-success
{
//
background
:
#e6f7ef
;
color
:
#52c41a
;
//
border
:
1
rpx
solid
rgba
(
82
,
196
,
26
,
0.3
);
}
&
.status-danger
{
//
background
:
#fff1f0
;
color
:
#ff4d4f
;
//
border
:
1
rpx
solid
rgba
(
232
,
52
,
29
,
0.3
);
}
}
}
.member-time
{
width
:
100%
;
display
:
flex
;
justify-content
:
space-between
;
padding-bottom
:
10
rpx
;
.label
{
font-size
:
26
rpx
;
color
:
#999
;
.star
{
color
:
#000
;
font-size
:
28
rpx
;
}
}
.price
{
font-size
:
30
rpx
;
color
:
#000
;
font-weight
:
bold
;
.person
{
font-size
:
24
rpx
;
color
:
#999
;
text-align
:
right
;
}
}
}
}
</
style
>
...
...
Write
Preview
Styling with
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