Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
confucius
Commits
cab6ec1d
Commit
cab6ec1d
authored
Apr 02, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
e843e0f0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
17 deletions
+18
-17
App.vue
src/App.vue
+1
-1
starBucksDetail.vue
src/pages/administration/starBucks/starBucksDetail.vue
+16
-16
starBucksTotal.vue
src/pages/administration/starBucks/starBucksTotal.vue
+1
-0
No files found.
src/App.vue
View file @
cab6ec1d
...
...
@@ -25,7 +25,7 @@ export default {
</
script
>
<
style
>
@import
url("//at.alicdn.com/t/font_2077629_
0n6sqaodu4f
.css")
;
@import
url("//at.alicdn.com/t/font_2077629_
leh9uxv84r
.css")
;
@font-face
{
font-family
:
"din"
;
src
:
url("./assets/font/DIN-Bold.otf")
format
(
"opentype"
);
...
...
src/pages/administration/starBucks/starBucksDetail.vue
View file @
cab6ec1d
...
...
@@ -3,6 +3,7 @@
width
:
100%
;
border
:
none
;
background-color
:
transparent
;
height
:
28px
;
}
</
style
>
...
...
@@ -49,6 +50,17 @@
label=
"下载"
@
click=
"downloadStarBucks"
/>
</div>
</
template
>
<
template
v-slot:body-cell-UserName=
"props"
>
<q-td
:props=
"props"
>
<q-avatar
rounded
size=
"sm"
v-if=
"props.row.UserIcon"
>
<img
:src=
"props.row.UserIcon"
/>
</q-avatar>
<q-avatar
rounded
size=
"sm"
color=
"teal-10"
text-color=
"white"
v-if=
"!props.row.UserIcon"
>
{{
item
.
row
.
UserName
[
0
]
}}
</q-avatar>
<span
style=
"position:relative;top:3px;margin-left:2px;"
>
{{
props
.
row
.
UserName
}}
</span>
</q-td>
</
template
>
<
template
v-slot:body-cell-Type=
"props"
>
<q-td
:props=
"props"
>
{{
props
.
row
.
Type
==
1
?
'存入'
:
'消费'
}}
...
...
@@ -68,13 +80,6 @@
<span
v-if=
"props.row.EmpType==3"
>
来宾
</span>
</q-td>
</
template
>
<
template
v-slot:body-cell-UserIcon=
"props"
>
<q-td
:props=
"props"
>
<q-avatar
rounded
size=
"sm"
v-if=
"props.row.UserIcon"
>
<img
:src=
"props.row.UserIcon"
/>
</q-avatar>
</q-td>
</
template
>
<
template
v-slot:bottom
>
<q-pagination
class=
"full-width justify-end"
v-model=
"msg.pageIndex"
color=
"primary"
:max=
"pageCount"
:input=
"true"
@
input=
"changePage"
/>
...
...
@@ -93,8 +98,8 @@
return
{
msg
:
{
pageIndex
:
1
,
pageSize
:
1
0
,
rowsPerPage
:
1
0
,
pageSize
:
1
2
,
rowsPerPage
:
1
2
,
StartTime
:
''
,
EndTime
:
''
,
Type
:
0
,
//1存入 2消费
...
...
@@ -128,22 +133,17 @@
label
:
'用户名称'
,
align
:
'left'
,
field
:
'UserName'
},
{
name
:
'UserIcon'
,
label
:
'用户头像'
,
align
:
'left'
,
field
:
'UserIcon'
},
{
name
:
'Type'
,
label
:
'使用类型'
,
field
:
'Type'
,
align
:
'left'
},{
},
{
name
:
'BuyType'
,
label
:
'消费类型'
,
field
:
'BuyType'
,
align
:
'left'
},
},
{
name
:
'EmpType'
,
label
:
'员工类型'
,
...
...
src/pages/administration/starBucks/starBucksTotal.vue
View file @
cab6ec1d
...
...
@@ -3,6 +3,7 @@
width
:
100%
;
border
:
none
;
background-color
:
transparent
;
height
:
28px
;
}
.border-bottom
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment