|
|
|
<!--pages/goodsDetail/index.wxml-->
|
|
|
|
<view class="detail-page">
|
|
|
|
<view class="swiper-box">
|
|
|
|
<swiper>
|
|
|
|
<block wx:for="{{detail.storeInfo.sliderImageArr}}" wx:key="index">
|
|
|
|
<swiper-item>
|
|
|
|
<image src="{{item}}" mode="aspectFill"></image>
|
|
|
|
</swiper-item>
|
|
|
|
</block>
|
|
|
|
</swiper>
|
|
|
|
</view>
|
|
|
|
<view class="goods-info-box acea-row row-between">
|
|
|
|
<view class="info-l-box">
|
|
|
|
<view class="name line1">{{detail.storeInfo.storeName}}</view>
|
|
|
|
<view class="price"><text class="fz20">¥</text>{{detail.storeInfo.price}}</view>
|
|
|
|
<view class="old-price">原价:¥<text class="row-line">{{detail.storeInfo.otPrice}}</text></view>
|
|
|
|
</view>
|
|
|
|
<view class="info-r-box">
|
|
|
|
<view>销量:{{detail.storeInfo.sales}}</view>
|
|
|
|
<button open-type="share" class="share-btn acea-row row-center-wrapper">
|
|
|
|
<image src="../../images/share.png"></image>
|
|
|
|
<text>分享</text>
|
|
|
|
</button>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="title-box acea-row row-center row-middle">
|
|
|
|
<view class="row-line"></view>
|
|
|
|
<view class="title">产商品情</view>
|
|
|
|
<view class="row-line"></view>
|
|
|
|
</view>
|
|
|
|
<view class="produce-detail">
|
|
|
|
<rich-text nodes="{{detail.storeInfo.description}}"></rich-text>
|
|
|
|
</view>
|
|
|
|
<view class="footer-box acea-row row-between-wrapper">
|
|
|
|
<view class="icons-box acea-row">
|
|
|
|
<view class="home" bindtap="toHome">
|
|
|
|
<image src="../../images/home.png"></image>
|
|
|
|
<text>首页</text>
|
|
|
|
</view>
|
|
|
|
<view class="home" bindtap="toList">
|
|
|
|
<image src="../../images/list.png"></image>
|
|
|
|
<text>商品列表</text>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="submit-btn" bindtap="showMaskDialog">立即预约</view>
|
|
|
|
</view>
|
|
|
|
<view class="mask-box" wx:if="{{showMask}}" bindtap="hideMaskDialog">
|
|
|
|
<view class="form">
|
|
|
|
<image src="../../images/company-bg.png" class="info-bg"></image>
|
|
|
|
<view class="inp-box" catchtap="stopProp">
|
|
|
|
<view class="inp-item acea-row row-middle">
|
|
|
|
<text class="label">您的姓名:</text>
|
|
|
|
<input type="text" placeholder="请输入您的姓名" bindinput="inpName" value="{{form.name}}" />
|
|
|
|
</view>
|
|
|
|
<view class="inp-item acea-row row-middle" catchtap="stopProp">
|
|
|
|
<text class="label">您的电话:</text>
|
|
|
|
<input type="text" maxlength="11" placeholder="请输入您的电话" bindinput="inpPhone" value="{{form.phone}}" />
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="submit-btn submit-btn2" catchtap="submitInfo">立即预约</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|