Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5cb4aac9
authored
Feb 28, 2025
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
积分
1 parent
8097e76e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
27 additions
and
21 deletions
components/HomeFrame/components/Income/Dailog.vue
components/HomeFrame/components/Income/Detail.vue
components/HomeFrame/components/Income/MyStore.vue
components/HomeFrame/components/Income/index.vue
components/HomeFrame/components/Point/LevelMedal.vue
components/HomeFrame/components/Point/index.vue
components/HomeFrame/index.vue
components/HomeFrame/components/Income/Dailog.vue
View file @
5cb4aac
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2025-01-08 10:31:49
* @Date: 2025-01-08 10:31:49
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2025-0
1-15 15:38:27
* @LastEditTime: 2025-0
2-28 14:11:20
* @FilePath: \gl-tape\components\HomeFrame\components\Income\Dailog.vue
* @FilePath: \gl-tape\components\HomeFrame\components\Income\Dailog.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
-->
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<view
class=
"dailog-panel"
>
<view
class=
"dailog-panel"
>
<view
class=
"dailog-box"
:style=
"
{ width: width }">
<view
class=
"dailog-box"
:style=
"
{ width: width }">
<view
class=
"dailog-header flex"
>
<view
class=
"dailog-header flex"
>
<view
:class=
"[`sprite-icon icon-$
{icon}`, { enlarge: icon }]" v-if="icon">
</view>
<view
:class=
"[`sprite-icon icon-$
{icon}`, { enlarge: icon
&&
scale == 0
}]" v-if="icon">
</view>
<view
class=
"sprite-icon icon-income-count"
v-else
></view>
<view
class=
"sprite-icon icon-income-count"
v-else
></view>
<view
class=
"dailog-title"
>
{{
title
}}
</view>
<view
class=
"dailog-title"
>
{{
title
}}
</view>
<view
class=
"dailog-close"
@
click=
"close"
><uni-icons
type=
"closeempty"
size=
"20"
></uni-icons></view>
<view
class=
"dailog-close"
@
click=
"close"
><uni-icons
type=
"closeempty"
size=
"20"
></uni-icons></view>
...
@@ -29,6 +29,10 @@ export default {
...
@@ -29,6 +29,10 @@ export default {
default
:
'1040rpx'
default
:
'1040rpx'
},
},
icon
:
String
,
icon
:
String
,
scale
:
{
type
:
Number
,
default
:
0
},
title
:
String
title
:
String
},
},
data
()
{
data
()
{
...
...
components/HomeFrame/components/Income/Detail.vue
View file @
5cb4aac
<
template
>
<
template
>
<Dailog
@
close=
"close"
v-if=
"show"
width=
"1288rpx"
:title=
"detail.label"
:icon=
"detail.icon"
>
<Dailog
@
close=
"close"
v-if=
"show"
width=
"1288rpx"
:title=
"detail.label"
:icon=
"detail.icon"
:scale=
"detail.scale"
>
<view
class=
"dailog-body"
slot=
"content"
>
<view
class=
"dailog-body"
slot=
"content"
>
<view
class=
"table-container"
>
<view
class=
"table-container"
>
<table
class=
"table-box"
>
<table
class=
"table-box"
>
...
...
components/HomeFrame/components/Income/MyStore.vue
View file @
5cb4aac
...
@@ -295,6 +295,7 @@ export default {
...
@@ -295,6 +295,7 @@ export default {
this
.
detail
=
{
this
.
detail
=
{
label
:
'产品提成比例明细'
,
label
:
'产品提成比例明细'
,
icon
:
'info-icon'
,
icon
:
'info-icon'
,
scale
:
1
,
tabelTh
:
[
tabelTh
:
[
{
{
title
:
'产品名称'
title
:
'产品名称'
...
...
components/HomeFrame/components/Income/index.vue
View file @
5cb4aac
...
@@ -81,17 +81,17 @@ export default {
...
@@ -81,17 +81,17 @@ export default {
inject
:
[
'hideFooter'
,
'showPage'
],
inject
:
[
'hideFooter'
,
'showPage'
],
async
mounted
()
{
async
mounted
()
{
this
.
hideFooter
(
false
)
this
.
hideFooter
(
false
)
//
const { phone } = uni.$storage.get('userInfo')
const
{
phone
}
=
uni
.
$storage
.
get
(
'userInfo'
)
//
const res = await uni.$api.pointApi.incomeMeasurementConfig({ staffPhone: phone })
const
res
=
await
uni
.
$api
.
pointApi
.
incomeMeasurementConfig
({
staffPhone
:
phone
})
//
const phoneList = res.whiteConfig || {}
const
phoneList
=
res
.
whiteConfig
||
{}
//
if (res.configFlag == 0 || (res.configFlag == 2 && phoneList.staffPhone == phone)) {
if
(
res
.
configFlag
==
0
||
(
res
.
configFlag
==
2
&&
phoneList
.
staffPhone
==
phone
))
{
//
this.isShow = true
this
.
isShow
=
true
//
} else {
}
else
{
//
this.isShow = false
this
.
isShow
=
false
//
return
return
//
}
}
this
.
incomeCalculation
()
this
.
incomeCalculation
()
//
this.start()
this
.
start
()
},
},
destroyed
()
{
destroyed
()
{
this
.
hideFooter
(
true
)
this
.
hideFooter
(
true
)
...
...
components/HomeFrame/components/Point/LevelMedal.vue
0 → 100644
View file @
5cb4aac
This diff is collapsed.
Click to expand it.
components/HomeFrame/components/Point/index.vue
View file @
5cb4aac
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
</view>
</view>
</view>
</view>
<view
class=
"point-up"
>
<view
class=
"point-up"
>
<view
class=
"card-box medal-card"
@
click=
"jump('Level
Point
')"
>
<view
class=
"card-box medal-card"
@
click=
"jump('Level
Medal
')"
>
<view
class=
"card-top"
>
<view
class=
"card-top"
>
<view
class=
"sprite-icon icon-medal"
></view>
<view
class=
"sprite-icon icon-medal"
></view>
<view
class=
"card-title"
>
成长勋章
</view>
<view
class=
"card-title"
>
成长勋章
</view>
...
@@ -45,13 +45,13 @@
...
@@ -45,13 +45,13 @@
<view
class=
"sprite-icon icon-certificate"
></view>
<view
class=
"sprite-icon icon-certificate"
></view>
<view
class=
"card-title"
>
我的兑换券
</view>
<view
class=
"card-title"
>
我的兑换券
</view>
<!-- <view class="card-wait">敬请期待</view> -->
<!-- <view class="card-wait">敬请期待</view> -->
<view
class=
"card-number"
>
{{
couponCount
}}
</view>
<view
class=
"card-number"
>
{{
couponCount
}}
</view>
<view
class=
"sprite-icon icon-coupon-arrow card-arrow"
></view>
<view
class=
"sprite-icon icon-coupon-arrow card-arrow"
></view>
</view>
</view>
<view
class=
"card-content"
>
<view
class=
"card-content"
>
<
template
v-if=
"couponCount != 0"
>
<
template
v-if=
"couponCount != 0"
>
<view
class=
"coupon-card"
>
<view
class=
"coupon-card"
>
<view
v-for=
"item in couponList"
:key=
"item.id"
class=
"card-bg"
:class=
"item.isclaimed ? 'claimed-bg': 'unclaimed-bg'"
>
<view
v-for=
"item in couponList"
:key=
"item.id"
class=
"card-bg"
:class=
"item.isclaimed ? 'claimed-bg'
: 'unclaimed-bg'"
>
<view
class=
"coupon-img"
></view>
<view
class=
"coupon-img"
></view>
<view
class=
"coupon-right"
>
<view
class=
"coupon-right"
>
<view
class=
"coupon-name"
>
{{
item
.
couponName
}}
</view>
<view
class=
"coupon-name"
>
{{
item
.
couponName
}}
</view>
...
@@ -264,12 +264,12 @@ export default {
...
@@ -264,12 +264,12 @@ export default {
height
:
calc
(
100vh
-
#{
toRpx
(
1118
)}
);
height
:
calc
(
100vh
-
#{
toRpx
(
1118
)}
);
.card-title
{
.card-title
{
font-size
:
toRpx
(
36
);
font-size
:
toRpx
(
36
);
color
:
#1
A1A1A
!important
;
color
:
#1
a1a1a
!important
;
}
}
.card-number
{
.card-number
{
font-weight
:
700
;
font-weight
:
700
;
font-size
:
toRpx
(
80
);
font-size
:
toRpx
(
80
);
color
:
#
FA9D
23
;
color
:
#
fa9d
23
;
margin-left
:
auto
;
margin-left
:
auto
;
}
}
.card-arrow
{
.card-arrow
{
...
@@ -373,7 +373,7 @@ export default {
...
@@ -373,7 +373,7 @@ export default {
.coupon-name
{
.coupon-name
{
width
:
toRpx
(
196
);
width
:
toRpx
(
196
);
font-size
:
toRpx
(
28
);
font-size
:
toRpx
(
28
);
color
:
#181
A1F
;
color
:
#181
a1f
;
overflow
:
hidden
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
display
:
-webkit-box
;
display
:
-webkit-box
;
...
@@ -383,7 +383,7 @@ export default {
...
@@ -383,7 +383,7 @@ export default {
.coupon-price
{
.coupon-price
{
margin-top
:
toRpx
(
16
);
margin-top
:
toRpx
(
16
);
font-size
:
toRpx
(
26
);
font-size
:
toRpx
(
26
);
color
:
#4
D9CFB
;
color
:
#4
d9cfb
;
}
}
}
}
}
}
...
...
components/HomeFrame/index.vue
View file @
5cb4aac
...
@@ -70,6 +70,7 @@ import Point from './components/Point.vue'
...
@@ -70,6 +70,7 @@ import Point from './components/Point.vue'
import
dayPoint
from
'./components/Point/DayPoint.vue'
import
dayPoint
from
'./components/Point/DayPoint.vue'
import
rulePoint
from
'./components/Point/RulePoint.vue'
import
rulePoint
from
'./components/Point/RulePoint.vue'
import
LevelPoint
from
'./components/Point/LevelPoint.vue'
import
LevelPoint
from
'./components/Point/LevelPoint.vue'
import
LevelMedal
from
'./components/Point/LevelMedal.vue'
import
Course
from
'./components/Point/Course.vue'
import
Course
from
'./components/Point/Course.vue'
import
Ranking
from
'./components/Point/Ranking.vue'
import
Ranking
from
'./components/Point/Ranking.vue'
import
Calendar
from
'./components/Income/Calendar.vue'
import
Calendar
from
'./components/Income/Calendar.vue'
...
@@ -78,7 +79,7 @@ import History from './components/Income/History.vue'
...
@@ -78,7 +79,7 @@ import History from './components/Income/History.vue'
import
merge
from
'@/mixin/record/merge.js'
import
merge
from
'@/mixin/record/merge.js'
export
default
{
export
default
{
mixins
:
[
recorder
,
uploader
,
timeout
,
versionCheck
,
merge
],
mixins
:
[
recorder
,
uploader
,
timeout
,
versionCheck
,
merge
],
components
:
{
RecordList
,
CustomerFile
,
LeftSide
,
Point
,
dayPoint
,
rulePoint
,
Course
,
Ranking
,
LevelPoint
,
Calendar
,
Promotion
,
History
},
components
:
{
RecordList
,
CustomerFile
,
LeftSide
,
Point
,
dayPoint
,
rulePoint
,
Course
,
Ranking
,
LevelPoint
,
Calendar
,
Promotion
,
History
,
LevelMedal
},
props
:
{
props
:
{
id
:
[
String
,
Number
],
id
:
[
String
,
Number
],
finishDoneText
:
String
,
finishDoneText
:
String
,
...
...
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