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 68bfa9d4
authored
Apr 10, 2024
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改历史订单
1 parent
a904a0aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
12 deletions
pages/detail/components/Media_6.vue
pages/detail/components/Media_6.vue
View file @
68bfa9d
...
...
@@ -37,7 +37,7 @@
>
</view>
</
template
>
<
template
>
<
template
v-else
>
<view
class=
"no-data"
>
<glsx-image
class=
"no-data-img"
...
...
@@ -53,7 +53,7 @@
<!-- </uni-grid-item>
</uni-grid> -->
</view>
<view
class=
"end-text"
v-if=
"historyList.length > 0 && sEnd"
>
我是一个有底线的人
</view>
<view
class=
"end-text"
v-if=
"historyList.length > 0 &&
i
sEnd"
>
我是一个有底线的人
</view>
</view>
</view>
</template>
...
...
@@ -112,10 +112,9 @@ export default {
this
.
shopMerchantId
=
shopMerchantId
this
.
getQuotationList
();
},
async
getQuotationList
()
{
async
getQuotationList
(
isSwitch
=
false
)
{
const
{
goodsName
,
shopMerchantId
,
currentPage
}
=
this
this
.
currentPage
++
this
.
isEnd
=
false
const
data
=
await
uni
.
$api
.
commonApi
.
getQuotationList
({
currentPage
,
pageSize
:
18
,
...
...
@@ -123,15 +122,23 @@ export default {
orderStatus
:
3
,
goodsName
})
if
(
data
.
list
.
length
!==
0
)
{
this
.
historyList
=
this
.
historyList
.
concat
(
data
.
list
)
if
(
isSwitch
)
{
this
.
historyList
=
data
.
list
this
.
isEnd
=
false
}
else
{
this
.
isEnd
=
true
if
(
data
.
list
.
length
>
0
)
{
this
.
historyList
=
this
.
historyList
.
concat
(
data
.
list
)
this
.
isEnd
=
false
}
else
{
this
.
isEnd
=
true
}
}
},
tabclick
(
index
)
{
this
.
goodsName
=
this
.
list
[
index
].
value
this
.
getQuotationList
()
this
.
goodsName
=
this
.
list
[
index
].
value
this
.
currentPage
=
1
this
.
getQuotationList
(
true
)
},
// 脱敏
nameHide
(
name
)
{
...
...
@@ -186,7 +193,7 @@ export default {
grid-template-columns
:
repeat
(
3
,
664
rpx
);
justify-content
:
center
;
grid-gap
:
32
rpx
;
min-height
:
calc
(
100vh
-
3
80
rpx
);
min-height
:
calc
(
100vh
-
3
68
rpx
);
.card-item
{
margin
:
16
rpx
auto
;
padding
:
24
rpx
40
rpx
;
...
...
@@ -234,10 +241,9 @@ export default {
margin
:
50
rpx
0
;
}
.no-data
{
position
:
absolute
;
left
:
50%
;
top
:
5
0%
;
top
:
3
0%
;
transform
:
translate
(
-50%
,
-50%
);
&-img
{
width
:
640
rpx
;
...
...
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