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
22b95bd7
Commit
22b95bd7
authored
Aug 27, 2024
by
陈宗胤(贵阳日报)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
改
parent
35a1f91f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
RouteDetails.vue
src/pages/assistingAgriculture/RouteDetails/RouteDetails.vue
+5
-7
No files found.
src/pages/assistingAgriculture/RouteDetails/RouteDetails.vue
View file @
22b95bd7
...
...
@@ -71,7 +71,7 @@
</div>
-->
<div
class=
"user"
v-if=
"firstEvaluation"
>
<div
class=
"user-name flex-align-center"
>
<img
:src=
"
domain.imgPrefix
+ firstEvaluation.avatar"
/>
<img
:src=
"
baseImgUrl
+ firstEvaluation.avatar"
/>
<p>
{{
firstEvaluation
.
nickName
}}
</p>
</div>
<div
class=
"content"
>
{{
firstEvaluation
.
evaluation
}}
</div>
...
...
@@ -89,7 +89,7 @@
<wd-img
v-for=
"(v, i) in photoList"
:key=
"i"
:src=
"
domain.imgPrefix
+ v.images"
:src=
"
baseImgUrl
+ v.images"
enable-preview
/>
</div>
...
...
@@ -330,7 +330,6 @@
<
script
setup
>
import
timeLine
from
'./timeLine.vue'
;
import
domain
from
'@/utils/domain'
;
import
Payment
from
'@/pages/order/components/Payment/index.vue'
;
import
{
ref
,
computed
,
watch
}
from
'vue'
;
import
fab
from
'../../../components/fab/fab.vue'
;
...
...
@@ -348,6 +347,7 @@ import { navigationSelect } from '@/utils/common';
import
{
sgyOrderOrderInfo
}
from
'@/api/assistingAgriculture/shop'
;
import
{
groupBuyConfirm
,
groupBuyUpdate
,
groupBuyCreate
}
from
'@/api/confirmOrder'
;
import
{
getCollect
}
from
'@/api/packageDetail'
;
const
baseImgUrl
=
import
.
meta
.
env
.
VITE_APP_IMG_URL
;
/* 监听滑动改变顶部颜色 */
const
backgroundBox
=
ref
(
''
);
const
onScroll
=
(
e
)
=>
{
...
...
@@ -358,9 +358,7 @@ const onScroll = (e) => {
backgroundBox
.
value
=
''
;
}
};
const
swiperList
=
ref
([
'https://registry.npmmirror.com/wot-design-uni-assets/*/files/redpanda.jpg'
,
]);
const
swiperList
=
ref
([]);
// 获取商品详情
const
prodData
=
ref
({});
// 评论统计
...
...
@@ -613,7 +611,7 @@ onLoad(({ shopId, prodId }) => {
prodId
,
}).
then
((
res
)
=>
{
prodData
.
value
=
res
.
data
.
data
.
prod
;
swiperList
.
value
=
prodData
.
value
.
imgs
.
split
(
','
).
map
((
v
)
=>
domain
.
imgPrefix
+
v
);
swiperList
.
value
=
prodData
.
value
.
imgs
.
split
(
','
).
map
((
v
)
=>
baseImgUrl
+
v
);
});
// 获取评论
getEvalStatis
({
...
...
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