Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-attachment-activity
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 fcabbffd
authored
Mar 10, 2023
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' into 'develop'
Master See merge request
!20
2 parents
d00b9a6b
2f2c296d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
191 additions
and
130 deletions
src/config/index.js
src/mixins/shareMixin.js
src/views/gift/index.vue
src/config/index.js
View file @
fcabbff
...
...
@@ -15,6 +15,9 @@ export const fetchConfig = function(isEnv = true) {
Object
.
assign
(
request
,
{
timeout
})
return
Promise
.
resolve
(
config
)
}
//测试
// return window.fetch('https://oss-config.dev.glsx.com.cn/mock/617918601072f92988f05a11/base/scrm-wx-work-activity-config', {}).then(res => res.json())
//生产
return
window
.
fetch
(
'https://oss-config.test.glsx.com.cn/mock/617918601072f92988f05a11/base/scrm-wx-work-activity-config'
,
{}).
then
(
res
=>
res
.
json
())
}
export
const
cfg
=
{
...
...
src/mixins/shareMixin.js
View file @
fcabbff
...
...
@@ -56,7 +56,7 @@ export default {
shopmall_appid
,
request
:
{
baseURL
}
}
=
window
.
$fetchConfig
let
{
merchantId
,
merchantName
,
userName
,
sapCode
,
uuid
}
=
this
.
getLocalStorage
(
'dj_scrm_userInfo'
)
let
{
merchantId
,
merchantName
,
userName
,
sapCode
,
uuid
,
channelType
}
=
this
.
getLocalStorage
(
'dj_scrm_userInfo'
)
let
{
tabIndex
,
entry
}
=
this
let
{
name
}
=
this
.
$route
let
{
userId
,
id
,
couponName
,
activityName
,
packageName
,
goodsName
,
goodsImage
,
discountType
,
shareType
,
marketingType
}
=
i
...
...
@@ -66,17 +66,17 @@ export default {
this
.
showLoading
()
let
params
=
{
coupon
:
{
path
:
'
packageMine/pages/boutique/gift/gift'
,
path
:
channelType
==
2
?
'packageMine/pages/boutique/gift/gift'
:
'packageShopmall/
packageMine/pages/boutique/gift/gift'
,
desc
:
'您的专属服务顾问为您发来了优惠券,请点击领取~'
,
imgUrl
:
'http://img01.glsx.com.cn/upload/biz/dracMini-yh-10004.png'
},
activity
:
{
path
:
'
packageMall/pages/detail/detail'
,
path
:
channelType
==
2
?
'packageMall/pages/detail/detail'
:
'packageShopmall/
packageMall/pages/detail/detail'
,
desc
:
'您有一个秒杀活动可参加'
,
imgUrl
:
'http://img01.glsx.com.cn/upload/biz/dracMini-ms-10004.png'
},
merchant
:
{
path
:
'pages/tab/index
/index'
,
path
:
channelType
==
2
?
'pages/tab/index/index'
:
'pages/tab/shopMall
/index'
,
desc
:
''
,
imgUrl
:
'https://img01.glsx.com.cn/weapp/resource/scrm-mobile/activity/miniprogram-cover.jpg'
}
...
...
@@ -90,10 +90,9 @@ export default {
if
(
name
===
'coupon'
)
{
/**卡券 */
if
(
tabIndex
==
0
)
{
if
(
!
sapCode
)
params
.
path
=
'packageShopmall/packageMine/pages/boutique/gift/gift'
query
=
`id=
${
id
}
&userId=
${
userId
}
&employName=
${
this
.
toUnicode
(
i
.
employeeName
)}
&
${
query
}
`
}
else
{
params
.
path
=
!
sapCode
?
'packageShopmall/packageMall/pages/coupon/coupon'
:
'
packageMall/pages/coupon/coupon'
params
.
path
=
channelType
==
2
?
'packageMall/pages/coupon/coupon'
:
'packageShopmall/
packageMall/pages/coupon/coupon'
query
=
`couponId=
${
id
}
&
${
query
}
&issueName=
${
this
.
toUnicode
(
userName
)}
&issueDate=
${
new
Date
().
getTime
()}
&shareSource=1&shareStaffName=
${
this
.
toUnicode
(
userName
)}
&shareStaffUuid=
${
uuid
}
`
title
=
`
${
couponName
}
(
${
window
.
$discountType
[
discountType
]}
券)`
this
.
couponShare
(
i
)
...
...
@@ -105,7 +104,6 @@ export default {
// 1-普通秒杀;2-直播间秒杀;3-众筹
switch
(
marketingType
)
{
case
1
:
if
(
!
sapCode
)
params
.
path
=
'packageShopmall/packageMall/pages/detail/detail'
query
=
`isActivity=true&id=
${
id
}
&
${
query
}
&shareStaffName=
${
this
.
toUnicode
(
userName
)}
&shareStaffUuid=
${
uuid
}
`
break
case
2
:
...
...
@@ -136,9 +134,8 @@ export default {
switch
(
+
tabIndex
)
{
case
1
:
let
isjt
=
i
.
packageType
==
2
const
STORE_PATH
=
sapCode
?
'packageEquity/pages/package/package'
:
'packageShopmall/packageEquity/pages/package/package'
const
JT_PATH
=
sapCode
?
'packageEquity/pages/open/open'
:
'packageShopmall/packageEquity/pages/open/open'
// params.path = 'packageEquity/pages/package/package'
const
STORE_PATH
=
channelType
==
2
?
'packageEquity/pages/package/package'
:
'packageShopmall/packageEquity/pages/package/package'
const
JT_PATH
=
channelType
==
2
?
'packageEquity/pages/open/open'
:
'packageShopmall/packageEquity/pages/open/open'
params
.
path
=
isjt
?
JT_PATH
:
STORE_PATH
params
.
imgUrl
=
'http://img01.glsx.com.cn/upload/biz/dracMini-qy-10004.png'
params
.
desc
=
'您的专属客服顾问为您发来了会员套餐,点击查看哦'
...
...
@@ -146,7 +143,7 @@ export default {
title
=
packageName
break
case
2
:
params
.
path
=
sapCode
?
'packageMall/pages/detail/detail'
:
'packageShopmall/packageMall/pages/detail/detail'
params
.
path
=
channelType
==
2
?
'packageMall/pages/detail/detail'
:
'packageShopmall/packageMall/pages/detail/detail'
params
.
imgUrl
=
goodsImage
params
.
desc
=
''
query
=
`id=
${
id
}
&
${
query
}
&shareStaffName=
${
this
.
toUnicode
(
userName
)}
&shareStaffUuid=
${
uuid
}
`
...
...
@@ -198,7 +195,7 @@ export default {
{
path
:
params
.
path
,
query
,
appId
:
i
.
packageType
==
2
?
'wxfe82b8d65d07808f'
:
shopmall_appid
appId
:
shopmall_appid
},
{
desc
:
params
.
desc
,
...
...
src/views/gift/index.vue
View file @
fcabbff
<
template
>
<div
class=
"index"
>
<search-box
class=
"search"
<search-box
class=
"search"
@
search=
"search"
:keyword=
"name"
:showDropdown=
"false"
...
...
@@ -11,10 +12,21 @@
@
change=
"change"
ref=
"myTab"
/>
<div
class=
"secondary-tab"
v-if=
"tabIndex===0"
>
<div
class=
"secondary-tab"
v-if=
"tabIndex===0"
>
<div
class=
"tab-btn"
>
<span
class=
"tab-item"
:class=
"[activeTab ==1?'activeTab':'']"
@
click=
"setSecondTab(1)"
>
可发送
</span>
<span
class=
"tab-item"
:class=
"[activeTab ==2?'activeTab':'']"
@
click=
"setSecondTab(2)"
>
待完善发送
</span>
<span
class=
"tab-item"
:class=
"[activeTab ==1?'activeTab':'']"
@
click=
"setSecondTab(1)"
>
可发送
</span>
<span
class=
"tab-item"
:class=
"[activeTab ==2?'activeTab':'']"
@
click=
"setSecondTab(2)"
>
待完善发送
</span>
</div>
</div>
<template
v-if=
"flag"
>
...
...
@@ -33,21 +45,45 @@
<template
v-if=
"tabIndex == 0"
>
<van-swipe-cell>
<div
class=
"title flex"
>
<span>
{{
i
.
name
}}
<span
class=
"group-label"
v-if=
"i.merchantType==2"
>
集团
</span></span>
<span
class=
"send"
v-if=
"activeTab==1"
@
click
.
stop=
"send(i)"
>
发送
</span>
<span>
{{
i
.
name
}}
<span
class=
"group-label"
v-if=
"i.merchantType==2"
>
集团
</span></span>
<span
class=
"send"
v-if=
"activeTab==1"
@
click
.
stop=
"send(i)"
>
发送
</span>
</div>
<div
class=
"content"
>
<div
class=
"icon"
>
<div
class=
"sprite-icon icon-gift-bg"
></div>
</div>
<div
class=
"info"
>
<div
v-if=
"!(i.perfectFlag==2 || i.receiveRule==3)"
class=
"text"
>
指定领取
{{
i
.
receiveWay
==
1
?
'手机号'
:
'车架号'
}}
:
{{
i
.
receiveDetails
||
'--'
}}
</div>
<div
v-if=
"i.perfectFlag!=2"
class=
"text-name"
><span
style=
"white-space:nowrap;"
>
备注名称:
</span><div
class=
"remark"
>
{{
i
.
remarkName
}}
</div></div>
<div
v-if=
"i.perfectFlag==2"
style=
"color:red;"
>
赠送给客户时需指定领取条件
</div>
<div
class=
"qr-text"
@
click
.
stop=
"createQr(i)"
>
{{
activeTab
==
1
?
'领取二维码'
:
i
.
perfectFlag
==
1
?
'申请赠送'
:
'去指定领取条件'
}}
</div>
<div
v-if=
"!(i.perfectFlag==2 || i.receiveRule==3)"
class=
"text"
>
指定领取
{{
i
.
receiveWay
==
1
?
'手机号'
:
'车架号'
}}
:
{{
i
.
receiveDetails
||
'--'
}}
</div>
<div
v-if=
"i.perfectFlag!=2"
class=
"text-name"
><span
style=
"white-space:nowrap;"
>
备注名称:
</span>
<div
class=
"remark"
>
{{
i
.
remarkName
}}
</div>
</div>
<div
v-if=
"i.perfectFlag==2"
style=
"color:red;"
>
赠送给客户时需指定领取条件
</div>
<div
class=
"qr-text"
@
click
.
stop=
"createQr(i)"
>
{{
activeTab
==
1
?
'领取二维码'
:
i
.
perfectFlag
==
1
?
'申请赠送'
:
'去指定领取条件'
}}
</div>
</div>
</div>
<div
class=
"remainNum"
style=
"display:flex;"
>
<div
class=
"remainNum"
style=
"display:flex;"
>
<span>
{{
activeTab
==
1
?
'可直接发送'
:
'剩余礼包'
}}
:
<span
style=
"color: #3975C6;"
>
{{
i
.
surplusStock
}}
</span></span>
<span>
已领礼包:
{{
i
.
receivedStock
}}
</span>
</div>
...
...
@@ -84,8 +120,14 @@
</div>
</div>
<div
class=
"gift-box"
>
<div
class=
"title"
>
{{i.name}}
<span
class=
"group-label"
v-if=
"i.merchantType==2"
>
集团
</span></div>
<div
class=
"text"
v-if=
"i.receiveRule!=3"
>
指定领取{{i.receiveWay == 1?'手机号':'车架号'}}:{{i.receiveDetail}}
</div>
<div
class=
"title"
>
{{i.name}}
<span
class=
"group-label"
v-if=
"i.merchantType==2"
>
集团
</span></div>
<div
class=
"text"
v-if=
"i.receiveRule!=3"
>
指定领取{{i.receiveWay == 1?'手机号':'车架号'}}:{{i.receiveDetail}}
</div>
<div
class=
"text"
>
备注名称:{{i.remarkName}}
</div>
</div>
<div
class=
"time flex"
>
{{new Date(i.receivedDate).format('yyyy-MM-dd hh:mm:ss')}}
</div>
...
...
@@ -93,23 +135,42 @@
<
template
v-if=
"tabIndex == 2"
>
<van-swipe-cell>
<div
class=
"title flex"
>
<span>
{{
i
.
name
}}
<span
class=
"group-label"
v-if=
"i.merchantType==2"
>
集团
</span></span>
<span
v-if=
"i.approveStatus==5"
class=
"approve-btn"
@
click
.
stop=
"toAppprove(i)"
>
<span>
{{
i
.
name
}}
<span
class=
"group-label"
v-if=
"i.merchantType==2"
>
集团
</span></span>
<span
v-if=
"i.approveStatus==5"
class=
"approve-btn"
@
click
.
stop=
"toAppprove(i)"
>
发起审批
</span>
</div>
<div
class=
"content"
>
<div
class=
"text item-flex"
><span
class=
"nowrap"
>
备注名称:
</span><div>
{{
i
.
remarkName
}}
</div></div>
<div
class=
"text item-flex"
><span
class=
"nowrap"
>
备注名称:
</span>
<div>
{{
i
.
remarkName
}}
</div>
</div>
<div
class=
"text"
>
预估成本:
<span
style=
"font-weight:600;"
>
{{
(
i
.
anticipatedCost
/
100
).
toFixed
(
2
)
}}
</span>
元
</div>
<div
class=
"text item-flex"
><span
class=
"nowrap"
>
赠送原因:
</span><div>
{{
i
.
giveReason
}}
</div></div>
<div
v-if=
"i.approveStatus==1 || i.approveStatus==3 || i.approveStatus==5"
class=
"text item-flex"
>
<div
class=
"text item-flex"
><span
class=
"nowrap"
>
赠送原因:
</span>
<div>
{{
i
.
giveReason
}}
</div>
</div>
<div
v-if=
"i.approveStatus==1 || i.approveStatus==3 || i.approveStatus==5"
class=
"text item-flex"
>
<span
class=
"nowrap"
>
审批状态:
</span>
<div>
<span
:style=
"
{color: i.approveStatus==1 || i.approveStatus==5 ? '#3975C6':'#F1515C','margin-right':'5px'}">
{{
i
.
approveStatus
==
1
?
'审批中'
:
i
.
approveStatus
==
5
?
'待审批'
:
'已驳回'
}}
</span>
<span
v-if=
"i.approveStatus!=5"
>
(
{{
i
.
approveBy
}}
)
</span>
</div>
</div>
<div
class=
"text item-flex"
v-if=
"i.approveStatus==3"
><span
class=
"nowrap"
>
驳回原因:
</span><div
style=
"color: #F1515C;"
>
{{
i
.
approveExplain
||
'--'
}}
</div></div>
<div
class=
"text item-flex"
v-if=
"i.approveStatus==3"
><span
class=
"nowrap"
>
驳回原因:
</span>
<div
style=
"color: #F1515C;"
>
{{
i
.
approveExplain
||
'--'
}}
</div>
</div>
</div>
</van-swipe-cell>
</
template
>
...
...
@@ -175,9 +236,9 @@ export default {
beforeRouteEnter
(
to
,
from
,
next
)
{
let
{
params
:
{
giftToast
}
}
=
from
const
{
query
:
{
approveStatus
}
}
=
from
next
(
vm
=>
{
next
(
vm
=>
{
if
(
giftToast
)
vm
.
giftToast
=
giftToast
;
if
(
approveStatus
)
{
if
(
approveStatus
)
{
vm
.
handleChangeTab
(
2
)
vm
.
change
(
2
)
}
...
...
@@ -191,53 +252,53 @@ export default {
this
.
getList
()
})
}
else
this
.
getList
()
wxConfig
.
init
([
'shareAppMessage'
,
'thirdPartyOpenPage'
])
wxConfig
.
init
([
'shareAppMessage'
,
'thirdPartyOpenPage'
])
},
methods
:
{
setSecondTab
(
val
)
{
setSecondTab
(
val
)
{
this
.
activeTab
=
val
this
.
clearData
()
},
toAppprove
({
id
,
childId
})
{
toAppprove
({
id
,
childId
})
{
this
.
showLoading
()
giftApi
.
toApproveById
({
id
,
childId
}).
then
(
res
=>
{
giftApi
.
toApproveById
({
id
,
childId
}).
then
(
res
=>
{
this
.
hideLoading
()
if
(
res
.
approveFlag
===
2
)
{
if
(
res
.
approveFlag
===
2
)
{
wxConfig
.
thirdPartyOpenPage
(
setApproveParam
(
res
))
.
then
((
resp
)
=>
{
console
.
log
(
resp
,
'已发起审批'
)
})
}
else
{
.
then
((
resp
)
=>
{
console
.
log
(
resp
,
'已发起审批'
)
})
}
else
{
this
.
showToast
(
'礼包已提交审批,请勿重复提交!'
)
}
})
},
handleChangeTab
(
id
)
{
handleChangeTab
(
id
)
{
this
.
$refs
.
myTab
.
handleChange
(
id
)
},
getList
(
type
)
{
let
{
uuid
}
=
this
.
getLocalStorage
(
'dj_scrm_userInfo'
)
let
{
pageNum
,
tabIndex
,
list
,
name
,
giftToast
}
=
this
if
(
giftToast
)
this
.
giftToast
=
''
if
(
type
!==
'inApprove'
)
this
.
showLoading
()
const
apiFunc
=
tabIndex
===
1
?
giftApi
.
getReceivedGiftList
:
((
type
===
'inApprove'
||
tabIndex
===
2
)
?
giftApi
.
getInApproveGiftList
:
(
this
.
activeTab
==
1
?
giftApi
.
getGiftList
:
giftApi
.
getUnPerfectGiftList
))
if
(
type
!==
'inApprove'
)
this
.
showLoading
()
const
apiFunc
=
tabIndex
===
1
?
giftApi
.
getReceivedGiftList
:
((
type
===
'inApprove'
||
tabIndex
===
2
)
?
giftApi
.
getInApproveGiftList
:
(
this
.
activeTab
==
1
?
giftApi
.
getGiftList
:
giftApi
.
getUnPerfectGiftList
))
apiFunc
({
pageNum
,
name
,
receivedFlag
:
(
type
===
'inApprove'
||
tabIndex
===
2
)
?
''
:
(
tabIndex
==
0
?
1
:
2
),
receivedFlag
:
(
type
===
'inApprove'
||
tabIndex
===
2
)
?
''
:
(
tabIndex
==
0
?
1
:
2
),
staffUUID
:
uuid
}).
then
(
res
=>
{
if
(
type
===
'inApprove'
)
{
this
.
$set
(
this
.
tab
,
2
,
`审批中(
${
res
.
total
}
)`
);
}
else
{
if
(
type
===
'inApprove'
)
{
this
.
$set
(
this
.
tab
,
2
,
`审批中(
${
res
.
total
}
)`
);
}
else
{
this
.
flag
=
true
this
.
list
=
list
.
concat
(
res
.
list
)
this
.
total
=
res
.
total
if
(
tabIndex
===
2
)
this
.
$set
(
this
.
tab
,
2
,
`审批中(
${
res
.
total
}
)`
);
if
(
tabIndex
===
2
)
this
.
$set
(
this
.
tab
,
2
,
`审批中(
${
res
.
total
}
)`
);
}
if
(
type
!==
'inApprove'
)
this
.
hideLoading
()
if
(
type
!==
'inApprove'
)
this
.
hideLoading
()
})
},
search
(
e
)
{
...
...
@@ -246,7 +307,7 @@ export default {
},
change
(
e
)
{
this
.
tabIndex
=
e
if
(
e
===
0
)
{
if
(
e
===
0
)
{
this
.
activeTab
=
1
}
this
.
clearData
()
...
...
@@ -282,10 +343,10 @@ export default {
this
.
getList
()
},
jump
(
item
)
{
const
params
=
{
id
:
item
.
id
,
tabIndex
:
this
.
tabIndex
}
params
.
approveStatus
=
this
.
tabIndex
==
2
?
item
.
approveStatus
:
0
const
params
=
{
id
:
item
.
id
,
tabIndex
:
this
.
tabIndex
}
params
.
approveStatus
=
this
.
tabIndex
==
2
?
item
.
approveStatus
:
0
params
.
pageIdx
=
this
.
tabIndex
if
(
this
.
tabIndex
==
0
&&
this
.
activeTab
==
2
)
{
if
(
this
.
tabIndex
==
0
&&
this
.
activeTab
==
2
)
{
params
.
perfectFlag
=
item
.
perfectFlag
params
.
pageIdx
=
3
}
...
...
@@ -293,10 +354,10 @@ export default {
this
.
$router
.
push
({
name
:
'gift.detail'
,
query
:
params
})
},
getMiniParams
(
e
)
{
let
{
merchantId
,
sapCode
,
uuid
}
=
this
.
getLocalStorage
(
'dj_scrm_userInfo'
)
let
{
merchantId
,
sapCode
,
uuid
,
channelType
}
=
this
.
getLocalStorage
(
'dj_scrm_userInfo'
)
const
{
shopmall_appid
}
=
window
.
$fetchConfig
let
scene
=
`id=
${
e
.
id
}
&merchantId=
${
merchantId
}
&staffUUID=
${
uuid
}
`
if
(
e
.
receiveRule
==
2
)
{
if
(
e
.
receiveRule
==
2
)
{
scene
=
`id=
${
e
.
id
}
&merchantId=
${
merchantId
}
&staffUUID=
${
uuid
}
&childId=
${
e
.
childId
}
`
}
if
(
sapCode
)
scene
=
`
${
scene
}
&storeCode=
${
sapCode
}
`
...
...
@@ -304,14 +365,15 @@ export default {
return
{
appId
:
shopmall_appid
,
query
:
scene
,
sapCode
sapCode
,
channelType
}
},
send
(
e
)
{
let
{
query
,
appId
,
sapCod
e
}
=
this
.
getMiniParams
(
e
)
let
{
query
,
appId
,
channelTyp
e
}
=
this
.
getMiniParams
(
e
)
wxConfig
.
createMiniprogramUrlLink
({
path
:
sapCode
?
'packageEquity/pages/directional/directional'
:
'packageShopmall/packageEquity/pages/directional/directional'
,
path
:
channelType
==
2
?
'packageEquity/pages/directional/directional'
:
'packageShopmall/packageEquity/pages/directional/directional'
,
query
,
appId
})
...
...
@@ -332,22 +394,22 @@ export default {
})
},
createQr
(
e
)
{
if
(
this
.
activeTab
==
2
&&
e
.
perfectFlag
==
1
)
{
if
(
this
.
activeTab
==
2
&&
e
.
perfectFlag
==
1
)
{
this
.
toAppprove
(
e
)
}
else
if
(
this
.
activeTab
==
2
&&
e
.
perfectFlag
==
2
)
{
}
else
if
(
this
.
activeTab
==
2
&&
e
.
perfectFlag
==
2
)
{
let
params
=
{
id
:
e
.
id
,
perfectFlag
:
e
.
perfectFlag
,
pageIdx
:
this
.
tabIndex
==
0
&&
this
.
activeTab
==
2
?
3
:
this
.
tabIndex
perfectFlag
:
e
.
perfectFlag
,
pageIdx
:
this
.
tabIndex
==
0
&&
this
.
activeTab
==
2
?
3
:
this
.
tabIndex
}
this
.
$router
.
push
({
name
:
'gift.create'
,
query
:
params
})
}
else
{
}
else
{
const
{
envVersion
}
=
window
.
$fetchConfig
let
{
query
,
appId
,
sapCode
}
=
this
.
getMiniParams
(
e
)
let
{
query
,
appId
,
channelType
}
=
this
.
getMiniParams
(
e
)
// 正式版为:release 体验版为:trial 开发版为:develop
giftApi
.
createQr
({
appId
,
path
:
sapCode
?
'packageEquity/pages/directional/directional'
:
'packageShopmall/packageEquity/pages/directional/directional'
,
path
:
channelType
==
2
?
'packageEquity/pages/directional/directional'
:
'packageShopmall/packageEquity/pages/directional/directional'
,
envVersion
,
scene
:
query
}).
then
(
img
=>
{
...
...
@@ -359,32 +421,32 @@ export default {
}
})
}
}
}
}
</
script
>
<
style
scoped
lang=
'scss'
>
/
deep
/
.search
{
.van-icon{
color
:
#
CDD1D
4
;
/
deep
/
.search
{
.van-icon
{
color
:
#
cdd1d
4
;
}
}
.secondary-tab
{
width
:
100%
;
height
:
28px
;
.secondary-tab
{
width
:
100%
;
height
:
28px
;
padding
:
0
16px
;
margin-top
:
10px
;
box-sizing
:
border-box
;
.tab-btn{
background-color
:
#EBEFF
5
;
.tab-btn
{
background-color
:
#ebeff
5
;
border-radius
:
6px
;
height
:
100%
;
height
:
100%
;
display
:
flex
;
align-items
:
center
;
padding
:
2px
;
.tab-item{
.tab-item
{
flex
:
1
;
width
:
168px
;
height
:
24px
;
...
...
@@ -395,14 +457,14 @@ export default {
border-radius
:
4px
;
font-weight
:
400
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
border
:
1px
solid
#
EBEFF
5
;
border
:
1px
solid
#
ebeff
5
;
}
.activeTab
{
background
:
#
FFFFFF
;
.activeTab
{
background
:
#
ffffff
;
box-shadow
:
0px
1px
2px
0px
rgba
(
94
,
97
,
102
,
0.2
);
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.04
);
font-weight
:
500
;
color
:
#3975
C
6
;
color
:
#3975
c
6
;
}
}
}
...
...
@@ -424,37 +486,37 @@ export default {
}
}
}
.group-label
{
.group-label
{
width
:
42px
;
height
:
20px
;
display
:
inline-flex
;
align-items
:
center
;
justify-content
:
center
;
background
:
rgba
(
255
,
101
,
61
,
0.15
);
background
:
rgba
(
255
,
101
,
61
,
0.15
);
border-radius
:
4px
;
font-size
:
12px
;
margin-left
:
8px
;
color
:
#
FF653D
;
color
:
#
ff653d
;
}
.type-0
{
height
:
calc
(
100vh
-
148px
);
.item
{
.remainNum{
.remainNum
{
display
:
flex
;
justify-content
:
space-between
;
height
:
36px
;
padding
:
0
10px
;
align-items
:
center
;
border-top
:
1px
solid
rgba
(
195
,
195
,
195
,
0.3
);
span{
span
{
font-size
:
12px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#666666
;
line-height
:
16px
;
}
span
:last-child
{
color
:
#999
;
span
:last-child
{
color
:
#999
;
}
}
.delete-button
{
...
...
@@ -494,17 +556,17 @@ export default {
.text
{
line-height
:
16px
;
margin-bottom
:
8px
;
overflow
:
hidden
;
overflow
:
hidden
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
}
.text-name
{
.text-name
{
line-height
:
16px
;
display
:
flex
;
.remark{
display
:
-webkit-box
;
-webkit-box-orient
:
vertical
;
-webkit-line-clamp
:
2
;
.remark
{
display
:
-webkit-box
;
-webkit-box-orient
:
vertical
;
-webkit-line-clamp
:
2
;
overflow
:
hidden
;
}
}
...
...
@@ -515,11 +577,10 @@ export default {
font-size
:
12px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#3975
C
6
;
color
:
#3975
c
6
;
text-align
:
center
;
}
}
}
}
}
...
...
@@ -572,52 +633,52 @@ export default {
color
:
#999999
;
}
}
.type-2
{
.type-2
{
.title
{
min-height
:
19px
;
font-size
:
14px
;
font-weight
:
500
;
color
:
#282829
;
padding
:
16px
16px
10px
;
border-bottom
:
1px
solid
rgba
(
195
,
195
,
195
,
0.3
);
justify-content
:
space-between
;
.approve-btn
{
width
:
66px
;
height
:
24px
;
background
:
#3975C
6
;
border-radius
:
12px
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
border
:
1px
solid
#3975C
6
;
font-size
:
10px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#FFFFFF
;
}
min-height
:
19px
;
font-size
:
14px
;
font-weight
:
500
;
color
:
#282829
;
padding
:
16px
16px
10px
;
border-bottom
:
1px
solid
rgba
(
195
,
195
,
195
,
0.3
);
justify-content
:
space-between
;
.approve-btn
{
width
:
66px
;
height
:
24px
;
background
:
#3975c
6
;
border-radius
:
12px
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
border
:
1px
solid
#3975c
6
;
font-size
:
10px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#ffffff
;
}
}
.content
{
padding
:
10px
16px
16px
;
.item-flex{
.item-flex
{
display
:
flex
;
.nowrap{
.nowrap
{
white-space
:
nowrap
;
}
.text-overflow
{
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
-o-text-overflow
:
ellipsis
;
overflow
:
hidden
;
.text-overflow
{
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
-o-text-overflow
:
ellipsis
;
overflow
:
hidden
;
}
}
.text
{
.text
{
font-family
:
PingFangSC-Regular
;
font-size
:
12px
;
color
:
#999999
;
line-height
:
16px
;
font-weight
:
400
;
margin-bottom
:
10px
;
&:last-child{
&:last-child
{
margin-bottom
:
0
;
}
}
...
...
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