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
a34e129d
Commit
a34e129d
authored
Aug 15, 2024
by
张娇(东信)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
乡村旅居样式优化
parent
8da59316
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
RuralTravel.vue
src/pages/assistingAgriculture/RuralTravel/RuralTravel.vue
+6
-2
carImg.png
src/static/assistingAgriculture/detail/carImg.png
+0
-0
home.png
src/static/assistingAgriculture/detail/home.png
+0
-0
No files found.
src/pages/assistingAgriculture/RuralTravel/RuralTravel.vue
View file @
a34e129d
...
@@ -178,11 +178,11 @@
...
@@ -178,11 +178,11 @@
</view>
</view>
<view
class=
"all-info"
>
<view
class=
"all-info"
>
<view
class=
"detail-score"
>
<view
class=
"detail-score"
>
<text
class=
"score"
>
{{
item
.
score
}}
分
</text>
<text
class=
"score"
v-if=
"item.score !== null"
>
{{
item
.
score
}}
分
</text>
<text
class=
"num"
>
月销
{{
item
.
monthSoldNum
}}
</text>
<text
class=
"num"
>
月销
{{
item
.
monthSoldNum
}}
</text>
</view>
</view>
<view
class=
"venue"
>
<view
class=
"venue"
>
<text
class=
"place"
>
{{
item
.
tripArea
}}
出发
</text>
<text
class=
"place"
v-if=
"item.tripArea !== null"
>
{{
item
.
tripArea
}}
出发
</text>
<text
class=
"price"
>
¥
{{
item
.
price
}}
</text>
<text
class=
"price"
>
¥
{{
item
.
price
}}
</text>
</view>
</view>
</view>
</view>
...
@@ -373,6 +373,9 @@ const toSearch = () => {
...
@@ -373,6 +373,9 @@ const toSearch = () => {
const
currentPage
=
ref
(
1
);
const
currentPage
=
ref
(
1
);
// 查询列表
// 查询列表
const
getProd
=
(
searchKeyword
=
''
)
=>
{
const
getProd
=
(
searchKeyword
=
''
)
=>
{
xma
.
showLoading
({
title
:
'加载中'
,
});
const
params
=
{
const
params
=
{
current
:
currentPage
.
value
,
current
:
currentPage
.
value
,
size
:
3
,
size
:
3
,
...
@@ -394,6 +397,7 @@ const getProd = (searchKeyword = '') => {
...
@@ -394,6 +397,7 @@ const getProd = (searchKeyword = '') => {
...(
searchKeyword
&&
{
keyword
:
searchKeyword
}),
...(
searchKeyword
&&
{
keyword
:
searchKeyword
}),
};
};
getProdList
(
params
).
then
((
res
)
=>
{
getProdList
(
params
).
then
((
res
)
=>
{
xma
.
hideLoading
();
res
.
data
.
records
.
forEach
((
item
)
=>
{
res
.
data
.
records
.
forEach
((
item
)
=>
{
item
.
img
=
import
.
meta
.
env
.
VITE_APP_IMG_URL
+
item
.
pic
;
item
.
img
=
import
.
meta
.
env
.
VITE_APP_IMG_URL
+
item
.
pic
;
item
.
serveList
=
item
.
serviceList
.
slice
(
0
,
3
);
item
.
serveList
=
item
.
serviceList
.
slice
(
0
,
3
);
...
...
src/static/assistingAgriculture/detail/carImg.png
0 → 100644
View file @
a34e129d
1.38 KB
src/static/assistingAgriculture/detail/home.png
0 → 100644
View file @
a34e129d
839 Bytes
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