12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- <!-- 轮播 -->
- <view class="page-section">
- <swiper
- indicator-dots="{{true}}"
- indicator-color="rgba(130, 130, 130, 1)"
- indicator-active-color="#FFF"
- autoplay="{{false}}">
- <block
- wx:for="{{objProductDetail.product_rotation_img_list}}"
- wx:key="*this">
- <swiper-item>
- <view class="swiper-item">
- <image src="{{item}}"></image>
- </view>
- </swiper-item>
- </block>
- </swiper>
- </view>
- <view class="main-information">
- <view class="tag-list">
- <text>{{objProductDetail.product_category_name}}</text>
- </view>
- <text
- class="name"
- user-select>{{objProductDetail.product_title}}</text>
- <view class="unit-price">
- <text class="price">¥{{tools.fen2Yuan(objProductDetail.product_price)}}</text>
- <text class="unit">/ {{objProductDetail.product_unit}}</text>
- </view>
- </view>
- <customer-tab
- nav="{{nav}}"
- active="{{active}}"
- bind:change="handleNav"/>
- <!--描述-->
- <view
- class="goods-info"
- hidden="{{active === '2'}}">
- <text class="introduce" user-select>{{objProductDetail.product_desc}}</text>
- <block wx:if="{{false}}">
- <view class="subtitle">预计上架时间</view>
- <view
- class="date">
- {{objProductDetail.product_sale_at === 0 ? '预售' : tools.formatTs(objProductDetail.product_sale_at, 'YYYY-MM-DD hh:mm')}}
- </view>
- </block>
- <!-- TODO 暂时不做 -->
- <block wx:if="{{false}}">
- <view class="subtitle">相关产品</view>
- <scroll-view
- class="goods-scroll"
- scroll-x>
- <view
- class="item"
- wx:for="{{[1, 2, 3, 4]}}"
- wx:key="item">
- <view>
- <view class="photo">
- <image src=""></image>
- </view>
- <view class="info">
- <text
- class="name">名字名字名字名字名字名字名字名字</text>
- <view class="unit-price">
- <text class="price">¥23.00</text>
- <text class="unit">/ kg</text>
- </view>
- </view>
- </view>
- </view>
- </scroll-view>
- </block>
- </view>
- <!-- todo 供应商-->
- <view
- hidden="{{active === '1'}}">
- <business-detail-large
- shopDetail="{{objShopDetail}}"/>
- </view>
- <view
- class="fixed-bottom"
- hidden="{{active === '2'}}">
- <view>
- <button
- class="btn-collection"
- type="primary">添加收藏夹
- </button>
- </view>
- </view>
- <wxs src="../../components/wxs/index.wxs" module="tools"></wxs>
|