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
f6f57af3
Commit
f6f57af3
authored
Aug 13, 2024
by
石建新(贵阳日报)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
特价专区
parent
e8768d9f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
44 deletions
+15
-44
specialOfferZoneList.vue
...assistingAgriculture/RuralTravel/specialOfferZoneList.vue
+15
-44
No files found.
src/pages/assistingAgriculture/RuralTravel/specialOfferZoneList.vue
View file @
f6f57af3
...
...
@@ -84,34 +84,15 @@
<image
mode=
"aspectFill"
:src=
"imgUrl + item.pic"
></image>
<view
class=
"info"
>
<text
class=
"title multi-line"
>
{{ item.prodName }}
</text>
<text
class=
"subtitle"
>
赠价值59元特产伴手礼一份
</text>
<!-- <text class="subtitle">{{ item.brief }}</text> -->
<text
class=
"subtitle"
></text>
<view
class=
"tag-list"
>
<!-- <text class="tag">可定明日</text>
<text class="tag">可定明日</text>
<text
class=
"tag"
>
可定明日
</text>
<text
class=
"tag"
>
可定明日
</text>
</view>
<view
class=
"fs-box"
>
<text
class=
"fs-num"
>
{{ item.score }}分
</text>
<text
style=
"margin-left: 20rpx"
class=
"sales-volume"
>
月销{{ item.monthSoldNum }}
</text>
</view>
<text
class=
"address"
>
{{ item.tripArea }}出发
</text>
</view>
<text
class=
"price"
>
¥{{ item.price }}
</text>
</view>
<view
class=
"item"
v-for=
"(item, index) in cardData"
:key=
"index"
>
<image
mode=
"aspectFill"
:src=
"imgUrl + item.pic"
></image>
<view
class=
"info"
>
<text
class=
"title multi-line"
>
{{ item.prodName }}
</text>
<text
class=
"subtitle"
>
赠价值59元特产伴手礼一份
</text>
<view
class=
"tag-list"
>
<text
class=
"tag"
>
可定明日
</text>
<text
class=
"tag"
>
可定明日
</text>
<text
class=
"tag"
>
可定明日
</text>
<text class="tag">可定明日</text> -->
</view>
<view
class=
"fs-box"
>
<text
class=
"fs-num"
>
{{ item.score }}分
</text>
<text
class=
"fs-num"
v-if=
"item.score"
>
{{ item.score }}分
</text>
<text
style=
"margin-left: 20rpx"
class=
"sales-volume"
>
月销{{ item.monthSoldNum }}
</text>
...
...
@@ -148,13 +129,6 @@ const params = ref({
current
:
1
,
size
:
15
,
isEnd
:
false
,
sortType
:
''
,
dateType
:
''
,
// 日期
allocateDate
:
''
,
attractionId
:
''
,
startCity
:
''
,
serviceCommitment
:
''
,
labelId
:
''
,
});
const
shopSwiperList
=
ref
([
'https://registry.npmmirror.com/wot-design-uni-assets/*/files/redpanda.jpg'
,
...
...
@@ -209,33 +183,29 @@ const dataParams = (item, datePart) => {
};
// 景点
const
placeParams
=
(
info
)
=>
{
console
.
log
(
'id'
,
info
);
params
.
value
.
attractionId
=
info
.
id
;
params
.
value
.
attractionIdList
=
[
info
.
id
];
refresh
().
then
(()
=>
{
queryOfferProdListFn
();
});
};
// 筛选
const
screenParams
=
(
item
,
type
)
=>
{
if
(
type
===
'screen'
)
{
params
.
value
.
startCity
=
item
.
tripCity
;
params
.
value
.
startCity
List
=
[
item
.
tripCity
]
;
}
else
if
(
type
===
'serve'
)
{
params
.
value
.
service
Commitment
=
item
.
labelName
;
params
.
value
.
service
List
=
[
item
.
labelName
]
;
}
else
if
(
type
===
'people'
)
{
params
.
value
.
labelId
=
item
.
labelName
;
params
.
value
.
forPeopleList
=
[
item
.
labelName
]
;
}
refresh
().
then
(()
=>
{
queryOfferProdListFn
();
});
};
const
resetParams
=
()
=>
{
params
.
value
.
sortType
=
null
;
params
.
value
.
attractionId
=
null
;
params
.
value
.
dateType
=
null
;
params
.
value
.
startCity
=
null
;
params
.
value
.
serviceCommitment
=
null
;
params
.
value
.
labelId
=
null
;
params
.
value
.
allocateDate
=
null
;
params
.
value
=
{
size
:
15
,
current
:
1
,
isEnd
:
false
,
};
refresh
().
then
(()
=>
{
queryOfferProdListFn
();
});
...
...
@@ -471,6 +441,7 @@ page {
font-weight
:
bold
;
/* 主题色 */
color
:
#fa5151
;
margin-left
:
auto
;
align-self
:
flex-end
;
}
}
...
...
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