Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
groupPurchase-miniapp
Project
Project
Details
Activity
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
彭佳妮(贵阳日报)
groupPurchase-miniapp
Commits
548e84e9
Commit
548e84e9
authored
Aug 19, 2024
by
彭佳妮(贵阳日报)
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.platform.xinhuaapp.com/pengjiani/groupPurchase-miniapp
parents
fd152811
95aae782
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
3 deletions
+20
-3
pages.json
src/pages.json
+4
-2
RuralTravel.vue
src/pages/assistingAgriculture/RuralTravel/RuralTravel.vue
+2
-0
cart.vue
src/pages/assistingAgriculture/cart/cart.vue
+1
-0
index.vue
src/pages/assistingAgriculture/commentList/index.vue
+6
-0
coupon.vue
src/pages/index/coupon.vue
+2
-0
listFood.vue
src/pages/index/listFood.vue
+5
-1
No files found.
src/pages.json
View file @
548e84e9
...
@@ -64,7 +64,8 @@
...
@@ -64,7 +64,8 @@
{
{
"path"
:
"pages/index/listFood"
,
"path"
:
"pages/index/listFood"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
""
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
true
}
}
},
},
{
{
...
@@ -184,7 +185,8 @@
...
@@ -184,7 +185,8 @@
{
{
"path"
:
"pages/assistingAgriculture/commentList/index"
,
"path"
:
"pages/assistingAgriculture/commentList/index"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"评价列表"
"navigationBarTitleText"
:
"评价列表"
,
"enablePullDownRefresh"
:
true
}
}
},
},
{
{
...
...
src/pages/assistingAgriculture/RuralTravel/RuralTravel.vue
View file @
548e84e9
...
@@ -277,6 +277,8 @@ onMounted(async () => {
...
@@ -277,6 +277,8 @@ onMounted(async () => {
});
});
onPullDownRefresh
(()
=>
{
onPullDownRefresh
(()
=>
{
keyword
.
value
=
''
;
keyword
.
value
=
''
;
currentPage
.
value
=
1
;
hasMoreData
.
value
=
true
;
getProd
();
getProd
();
setTimeout
(()
=>
{
setTimeout
(()
=>
{
uni
.
stopPullDownRefresh
();
uni
.
stopPullDownRefresh
();
...
...
src/pages/assistingAgriculture/cart/cart.vue
View file @
548e84e9
...
@@ -191,6 +191,7 @@ const toStore = (item) => {
...
@@ -191,6 +191,7 @@ const toStore = (item) => {
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
flex-shrink
:
0
;
&
.is-checked
{
&
.is-checked
{
border-color
:
#f12a2a
;
border-color
:
#f12a2a
;
background
:
#f12a2a
;
background
:
#f12a2a
;
...
...
src/pages/assistingAgriculture/commentList/index.vue
View file @
548e84e9
...
@@ -159,6 +159,7 @@ const getCommentListFn = () => {
...
@@ -159,6 +159,7 @@ const getCommentListFn = () => {
});
});
getCommentList
(
commentParameters
).
then
((
res
)
=>
{
getCommentList
(
commentParameters
).
then
((
res
)
=>
{
xma
.
hideLoading
();
xma
.
hideLoading
();
xma
.
stopPullDownRefresh
();
total
=
res
.
data
.
total
;
total
=
res
.
data
.
total
;
res
.
data
.
records
.
forEach
((
v
)
=>
{
res
.
data
.
records
.
forEach
((
v
)
=>
{
v
.
avatar
=
imgUrl
+
v
.
avatar
;
v
.
avatar
=
imgUrl
+
v
.
avatar
;
...
@@ -183,6 +184,11 @@ const choice = (i, type) => {
...
@@ -183,6 +184,11 @@ const choice = (i, type) => {
commentParameters
.
type
=
type
;
commentParameters
.
type
=
type
;
getCommentListFn
();
getCommentListFn
();
};
};
onPullDownRefresh
(()
=>
{
reset
();
getEvalStatisFn
();
getCommentListFn
();
});
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
...
...
src/pages/index/coupon.vue
View file @
548e84e9
...
@@ -114,6 +114,7 @@ const getShop = async () => {
...
@@ -114,6 +114,7 @@ const getShop = async () => {
params
.
lng
=
lon
;
params
.
lng
=
lon
;
params
.
lat
=
lat
;
params
.
lat
=
lat
;
getShopAndProdPage
(
params
).
then
((
res
)
=>
{
getShopAndProdPage
(
params
).
then
((
res
)
=>
{
xma
.
stopPullDownRefresh
();
xma
.
hideLoading
();
xma
.
hideLoading
();
total
=
res
.
data
.
total
;
total
=
res
.
data
.
total
;
res
.
data
.
records
.
forEach
((
item
)
=>
{
res
.
data
.
records
.
forEach
((
item
)
=>
{
...
@@ -126,6 +127,7 @@ const getShop = async () => {
...
@@ -126,6 +127,7 @@ const getShop = async () => {
};
};
onPullDownRefresh
(()
=>
{
onPullDownRefresh
(()
=>
{
reset
();
getCoupons
();
getCoupons
();
getShop
();
getShop
();
});
});
...
...
src/pages/index/listFood.vue
View file @
548e84e9
...
@@ -203,8 +203,8 @@ const getMerchantList = async () => {
...
@@ -203,8 +203,8 @@ const getMerchantList = async () => {
listParams
.
lat
=
lat
;
listParams
.
lat
=
lat
;
merchantList
(
listParams
).
then
((
res
)
=>
{
merchantList
(
listParams
).
then
((
res
)
=>
{
xma
.
hideLoading
();
xma
.
hideLoading
();
xma
.
stopPullDownRefresh
();
total
=
res
.
data
.
totalElements
;
total
=
res
.
data
.
totalElements
;
xma
.
hideLoading
();
console
.
log
(
'商家列表'
,
res
);
console
.
log
(
'商家列表'
,
res
);
res
.
data
.
content
.
forEach
((
item
)
=>
{
res
.
data
.
content
.
forEach
((
item
)
=>
{
item
.
shopLogo
=
import
.
meta
.
env
.
VITE_APP_IMG_URL
+
item
.
shopLogo
;
item
.
shopLogo
=
import
.
meta
.
env
.
VITE_APP_IMG_URL
+
item
.
shopLogo
;
...
@@ -262,6 +262,10 @@ onPageScroll((e) => {
...
@@ -262,6 +262,10 @@ onPageScroll((e) => {
title
.
value
=
''
;
title
.
value
=
''
;
}
}
});
});
onPullDownRefresh
(()
=>
{
reset
();
getMerchantList
();
});
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
...
...
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