Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
buildingAgricultureSharing-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
彭佳妮(贵阳日报)
buildingAgricultureSharing-miniapp
Commits
d43ab888
Commit
d43ab888
authored
Aug 05, 2024
by
张娇(东信)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商家首页跳转
parent
1ccb3c46
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
4 deletions
+25
-4
detail.vue
src/pages/detail/detail.vue
+25
-4
No files found.
src/pages/detail/detail.vue
View file @
d43ab888
...
...
@@ -50,11 +50,26 @@
<view
class=
"detail-bottom"
>
<view
class=
"sort"
>
<view
class=
"bottom"
style=
"display: flex; flex-direction: row"
>
<view
class=
"borderClass"
v-for=
"(item, index) in sortList"
:key=
"index"
>
<img
:src=
"item.img"
style=
"width: 40rpx; height: 40rpx"
/>
<view
class=
"sort-text"
>
{{
item
.
text
}}
</view>
<view
class=
"borderClass"
@
tap=
"toStore"
>
<img
src=
"/static/detail/img7.png"
style=
"width: 40rpx; height: 40rpx"
/>
<view
class=
"sort-text"
>
店铺
</view>
</view>
<view
class=
"borderClass"
>
<img
src=
"/static/detail/img8.png"
style=
"width: 40rpx; height: 40rpx"
/>
<view
class=
"sort-text"
>
客服
</view>
</view>
<view
class=
"borderClass"
>
<img
src=
"/static/detail/img8.png"
style=
"width: 40rpx; height: 40rpx"
/>
<view
class=
"sort-text"
>
客服
</view>
</view>
</view>
<!--
<view
class=
"sort"
>
-->
<!--
<view
class=
"bottom"
style=
"display: flex; flex-direction: row"
>
-->
<!--
<view
class=
"borderClass"
v-for=
"(item, index) in storeList"
:key=
"index"
>
-->
<!--
<img
:src=
"item.img"
style=
"width: 40rpx; height: 40rpx"
/>
-->
<!--
<view
class=
"sort-text"
>
{{
item
.
text
}}
</view>
-->
<!--
</view>
-->
<!--
</view>
-->
<view
class=
"btn"
>
<wd-button
type=
"warning"
size=
"small"
style=
"margin-right: 10rpx"
>
加入购物车
</wd-button>
<wd-button
type=
"error"
size=
"small"
>
立即购买
</wd-button>
...
...
@@ -74,11 +89,17 @@ const swiperList = ref([
'../../static/detail/img2.png'
,
]);
// 底部
const
s
ort
List
=
ref
([
const
s
tore
List
=
ref
([
{
img
:
'/static/detail/img7.png'
,
text
:
'店铺'
},
{
img
:
'/static/detail/img8.png'
,
text
:
'客服'
},
{
img
:
'/static/detail/img6.png'
,
text
:
'购物车'
},
]);
function
toStore
()
{
// TODO: 跳转到筑农严选
xma
.
navigateTo
({
url
:
'/pages/shop/index'
,
});
}
</
script
>
<
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