Commit d9f34cdf authored by 俞嘉婷's avatar 俞嘉婷

feat: 长图页完善

parent fb0e65ea
......@@ -25,7 +25,7 @@ ComponentWithStore({
// 跳转活动详情页
jumpDetailPage: _asyncThrottle(async function (e) {
const item = e.currentTarget.dataset.item
wx.navigateTo({ url: `/pages/activityDetail/activityDetail?url=${item.img}` })
wx.navigateTo({ url: `/pages/activityDetail/activityDetail?imgUrl=${item.detailImg}` })
}),
onShareAppMessage() {
......
/* pages/activity/activity.wxss */
.prod_detail {
width: 750rpx;
min-height: 100vh;
width: 100%;
height: 100%;
position: absolute;
overflow-y: auto;
font-size: 0;
.prod_img {
width: 100%;
......
<!-- pages/activityDetail/activityDetail.wxml -->
<view class="prod_detail">
<image class="prod_img" src="{{imgUrl}}" mode="aspectFit" lazy-load />
<image class="prod_img" src="{{imgUrl}}" mode="widthFix"/>
</view>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment