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 f83300e2
authored
Jul 01, 2026
by
岑成威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 调整文案
1 parent
77c81bfb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
51 deletions
components/FloatLogPanel/FloatLogPanel.vue
pages/boutique/tool/components/OrderDetail.vue
components/FloatLogPanel/FloatLogPanel.vue
View file @
f83300e
...
@@ -22,35 +22,15 @@
...
@@ -22,35 +22,15 @@
</view>
</view>
<view
class=
"filter-row"
>
<view
class=
"filter-row"
>
<input
<input
class=
"filter-input"
v-model=
"keyword"
placeholder=
"关键字过滤,如 StoragePathMerge / PathUtils"
confirm-type=
"search"
/>
class=
"filter-input"
v-model=
"keyword"
placeholder=
"关键字过滤,如 StoragePathMerge / PathUtils"
confirm-type=
"search"
/>
</view>
</view>
<view
class=
"level-row"
>
<view
class=
"level-row"
>
<text
<text
v-for=
"lv in levelOptions"
:key=
"lv.value"
:class=
"['level-chip',
{ active: levelFilter === lv.value }]" @tap="levelFilter = lv.value">
{{
lv
.
label
}}
</text>
v-for=
"lv in levelOptions"
:key=
"lv.value"
:class=
"['level-chip',
{ active: levelFilter === lv.value }]"
@tap="levelFilter = lv.value"
>
{{
lv
.
label
}}
</text>
</view>
</view>
<scroll-view
<scroll-view
class=
"log-scroll"
scroll-y
:scroll-into-view=
"scrollIntoView"
:scroll-with-animation=
"false"
>
class=
"log-scroll"
<view
v-for=
"item in displayLines"
:key=
"item.id"
:id=
"'log-' + item.id"
:class=
"['log-line', 'level-' + item.level]"
>
scroll-y
:scroll-into-view=
"scrollIntoView"
:scroll-with-animation=
"false"
>
<view
v-for=
"item in displayLines"
:key=
"item.id"
:id=
"'log-' + item.id"
:class=
"['log-line', 'level-' + item.level]"
>
<text
class=
"log-time"
>
{{
item
.
time
}}
</text>
<text
class=
"log-time"
>
{{
item
.
time
}}
</text>
<text
class=
"log-tag"
>
[
{{
item
.
level
}}
]
</text>
<text
class=
"log-tag"
>
[
{{
item
.
level
}}
]
</text>
<text
class=
"log-text"
>
{{
item
.
text
}}
</text>
<text
class=
"log-text"
>
{{
item
.
text
}}
</text>
...
@@ -59,12 +39,7 @@
...
@@ -59,12 +39,7 @@
</scroll-view>
</scroll-view>
<view
class=
"tag-row"
>
<view
class=
"tag-row"
>
<text
<text
v-for=
"tag in quickTags"
:key=
"tag.label"
:class=
"['tag-chip',
{ active: keyword === tag.value }]" @tap="setKeyword(tag.value)">
{{
tag
.
label
}}
</text>
v-for=
"tag in quickTags"
:key=
"tag.label"
:class=
"['tag-chip',
{ active: keyword === tag.value }]"
@tap="setKeyword(tag.value)"
>
{{
tag
.
label
}}
</text>
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -252,9 +227,7 @@ export default {
...
@@ -252,9 +227,7 @@ export default {
},
},
onCopy
()
{
onCopy
()
{
const
kw
=
(
this
.
keyword
||
''
).
trim
()
const
kw
=
(
this
.
keyword
||
''
).
trim
()
let
list
=
this
.
_isMergeKeyword
(
kw
)
let
list
=
this
.
_isMergeKeyword
(
kw
)
?
[...
loadPersistedMergeLogs
(),
...
FloatLogBus
.
getMergeLines
()]
:
FloatLogBus
.
getLines
()
?
[...
loadPersistedMergeLogs
(),
...
FloatLogBus
.
getMergeLines
()]
:
FloatLogBus
.
getLines
()
if
(
this
.
levelFilter
!==
'all'
)
{
if
(
this
.
levelFilter
!==
'all'
)
{
list
=
list
.
filter
(
l
=>
l
.
level
===
this
.
levelFilter
)
list
=
list
.
filter
(
l
=>
l
.
level
===
this
.
levelFilter
)
}
}
...
@@ -262,9 +235,7 @@ export default {
...
@@ -262,9 +235,7 @@ export default {
if
(
kw
&&
!
this
.
_isMergeKeyword
(
kw
))
{
if
(
kw
&&
!
this
.
_isMergeKeyword
(
kw
))
{
list
=
list
.
filter
(
l
=>
l
.
text
.
toLowerCase
().
includes
(
kwLower
))
list
=
list
.
filter
(
l
=>
l
.
text
.
toLowerCase
().
includes
(
kwLower
))
}
}
const
text
=
list
const
text
=
list
.
map
(
l
=>
`
${
l
.
time
}
[
${
l
.
level
}
]
${
l
.
text
}
`
).
join
(
'\n'
)
.
map
(
l
=>
`
${
l
.
time
}
[
${
l
.
level
}
]
${
l
.
text
}
`
)
.
join
(
'\n'
)
if
(
!
text
)
{
if
(
!
text
)
{
uni
.
showToast
({
title
:
'无内容'
,
icon
:
'none'
})
uni
.
showToast
({
title
:
'无内容'
,
icon
:
'none'
})
return
return
...
@@ -310,7 +281,7 @@ export default {
...
@@ -310,7 +281,7 @@ export default {
.float-log-fab
{
.float-log-fab
{
position
:
fixed
;
position
:
fixed
;
right
:
24
rpx
;
right
:
24
rpx
;
bottom
:
1
20
rpx
;
bottom
:
20
rpx
;
width
:
120
rpx
;
width
:
120
rpx
;
height
:
120
rpx
;
height
:
120
rpx
;
z-index
:
99999
;
z-index
:
99999
;
...
...
pages/boutique/tool/components/OrderDetail.vue
View file @
f83300e
...
@@ -66,10 +66,7 @@
...
@@ -66,10 +66,7 @@
<view
class=
"meal-box"
v-for=
"(item, index) in orderInfo.packageGoodsList"
>
<view
class=
"meal-box"
v-for=
"(item, index) in orderInfo.packageGoodsList"
>
<view
class=
"meal-hd flex justify-between align-center"
>
<view
class=
"meal-hd flex justify-between align-center"
>
<view
class=
"meal-hd-name flex align-center"
>
<view
class=
"meal-hd-name flex align-center"
>
<view
<view
v-if=
"shouldShowMarketingIcon(item)"
class=
"sprite-icon icon-activeIcon marketing-icon"
></view>
v-if=
"shouldShowMarketingIcon(item)"
class=
"sprite-icon icon-activeIcon marketing-icon"
></view>
<view>
{{ item.packageAlias || item.packageName }}
</view>
<view>
{{ item.packageAlias || item.packageName }}
</view>
</view>
</view>
<view
class=
"price"
>
¥{{ item.finalPrice }}
</view>
<view
class=
"price"
>
¥{{ item.finalPrice }}
</view>
...
@@ -94,10 +91,7 @@
...
@@ -94,10 +91,7 @@
<view
class=
"good"
v-for=
"(item, index) in orderInfo.subOrderList"
:key=
"index"
>
<view
class=
"good"
v-for=
"(item, index) in orderInfo.subOrderList"
:key=
"index"
>
<view
class=
"flex justify-between align-center mb-20"
>
<view
class=
"flex justify-between align-center mb-20"
>
<view
class=
"good-name flex align-center"
>
<view
class=
"good-name flex align-center"
>
<view
<view
v-if=
"shouldShowMarketingIcon(item)"
class=
"sprite-icon icon-activeIcon marketing-icon"
></view>
v-if=
"shouldShowMarketingIcon(item)"
class=
"sprite-icon icon-activeIcon marketing-icon"
></view>
<text
class=
"good-name-text text-hide"
>
商品名称:{{ replaceItemText(item.upgradeGoodsName) || '' }}
</text>
<text
class=
"good-name-text text-hide"
>
商品名称:{{ replaceItemText(item.upgradeGoodsName) || '' }}
</text>
</view>
</view>
<text
class=
"good-price"
>
¥{{ item.finalPrice }}
</text>
<text
class=
"good-price"
>
¥{{ item.finalPrice }}
</text>
...
@@ -357,12 +351,7 @@ export default {
...
@@ -357,12 +351,7 @@ export default {
const
rejected
=
{
status
:
'驳回'
,
statusColor
:
'#f56c6c'
}
const
rejected
=
{
status
:
'驳回'
,
statusColor
:
'#f56c6c'
}
return
[
return
[
{
{
name
:
'区域经理'
,
name
:
'运营'
,
value
:
'1'
,
...(
status
===
1
?
pending
:
[
2
,
3
,
4
].
includes
(
status
)
?
approved
:
empty
)
},
{
name
:
'线上运营'
,
value
:
'2'
,
value
:
'2'
,
...(
status
===
1
?
empty
:
status
===
2
?
pending
:
status
===
3
?
approved
:
status
===
4
?
rejected
:
empty
)
...(
status
===
1
?
empty
:
status
===
2
?
pending
:
status
===
3
?
approved
:
status
===
4
?
rejected
:
empty
)
}
}
...
...
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