<view class="container">
|
<!-- 名片 -->
|
<idCard users="{{ info.users }}" wx:if="{{ origin != 'b' && info.users && info.users.id }}" />
|
<!-- banner轮播 -->
|
<view class="swiper_wrap">
|
<swiper bindchange="bindchange" class="banner_swiper" circular indicator-dots="{{false}}" autoplay style="height:{{bannerHeight}}rpx" duration>
|
<block wx:for="{{ info.bannerImgList }}">
|
<swiper-item>
|
<image data-url="{{ item }}" bindtap="priviewBanner" bindload="bannerbindload" mode="widthFix" src="{{ item }}"></image>
|
</swiper-item>
|
</block>
|
</swiper>
|
<view class="indicator">{{current}}/{{info.bannerImgList.length}}</view>
|
</view>
|
<view class="main_content">
|
<view class="title">{{ info.title }}</view>
|
<view class="desc" wx:if="{{ info.subtitle }}">{{ info.subtitle }}</view>
|
<view class="text">{{ info.intro }}</view>
|
<authCard type="{{ member.authStatus }}" />
|
</view>
|
<!-- video -->
|
<view wx:if="{{ info.video }}" class="video">
|
<view class="title">产品视频</view>
|
<view class="img_wrap">
|
<image class="img" src="{{ info.coverImage }}" mode="widthFix"></image>
|
<view class="play">
|
<view>播放</view>
|
<image bindtap="playVideo" src="../../static/icon/ic_play.png" class="icon"></image>
|
</view>
|
</view>
|
</view>
|
<view class="detail">
|
<view class="title">产品详情</view>
|
<view class="line" wx:for="{{ info.productParamList }}">
|
<view class="label">{{ item.paramName }}:</view>
|
<view class="val">{{ item.paramValue }}</view>
|
</view>
|
</view>
|
<!-- 富文本 -->
|
<view>
|
<mp-html content="{{info.content}}"></mp-html>
|
</view>
|
<view class="spaceList">
|
<view class="item" wx:for="{{ info.spaceList }}">
|
<!-- <view class="name">{{ item.spaceName }}</view> -->
|
<image data-url="{{ item.spaceImg }}" bindtap="priviewSpace" src="{{ item.spaceImg }}" mode="widthFix" class="img"></image>
|
<!-- <mp-html content="{{item.spaceContent}}"></mp-html> -->
|
</view>
|
</view>
|
<!-- footer -->
|
<view wx:if="{{ origin && origin == 'b' }}">
|
<button open-type="share" style="bottom: {{bottomLift + 6}}px;" class="share_btn">分享</button>
|
</view>
|
<view wx:else class="footer" style="padding-bottom: {{bottomLift}}px;">
|
<view class="btns">
|
<button class="item btn">
|
<image data-code="collect_cancel" bindtap="handleAction" wx:if="{{ info.isCollection }}" class="icon" src="../../static/icon/detail_nav_collected.png" mode="widthFix"></image>
|
<image wx:else data-code="collect" bindtap="handleAction" class="icon" src="../../static/icon/detail_nav_collect.png" mode="widthFix"></image>
|
<view class="name">收藏</view>
|
</button>
|
<button open-type="share" class="item btn" bindtap="handleShare">
|
<image class="icon" src="../../static/icon/detail_nav_share.png" mode="widthFix"></image>
|
<view class="name">分享</view>
|
</button>
|
<view class="sub_btn" bindtap="handleDesign">
|
<image class="sheji" src="../../static/icon/ic_sheji.png" mode="widthFix"></image>
|
<view>免费预约专属设计</view>
|
</view>
|
</view>
|
</view>
|
<!-- -->
|
<van-popup position="bottom" show="{{ showShare }}" bind:close="onClose">
|
<view class="share_modal">
|
<view class="btns">
|
<button open-type="share" class="item" bindtap="handleShare">
|
<image src="../../static/icon/wechat.png"></image>
|
<view>发送好友</view>
|
</button>
|
<button class="item" bindtap="handleDown">
|
<image src="../../static/icon/download.png"></image>
|
<view>下载海报</view>
|
</button>
|
</view>
|
<view bindtap="onClose" class="cancel">取消</view>
|
</view>
|
</van-popup>
|
</view>
|