detail_1.wxml 4.4 KB
<!--pages/kind/detail_1/detail_1.wxml-->
<!-- 商品 -->
<view class='container'>
  <view class='ware_box'>
   <view class='ware_top'>
    <view class='ware_1'>
     <image src='../../../img/gerenzhingxinbeijing@2x.png'></image>
     <view class='ware_1_time'>
       据结束2时22分
     </view>
    </view>
    <view class='ware_text'>
      <view class='ware_2'>
       <text class='ware_2Txt1'>纯进口有机菜花</text>
       <text class='ware_2Txt2'>产地:智力</text>
      </view>
      <view class='ware_3'>
       <progress percent="42" show-info color="#B5DE96" border-radius="8" font-size="24rpx" stroke-width="16rpx"/>
      </view>
      <view class='ware_4'>
       <text>已拼300份,目标500份</text>
      </view>
      <view class='ware_5'>
       <view>
         <text class='ware5_t1'>¥52/</text>
         <text class='ware5_t2'>1磅1份</text>
       </view>
       <view class='ware5_box'>
        <view class='ware5_t3'>40mm-50m</view>
        <view class='ware5_t4'>番茄果径</view>
       </view>
       <view class='ware_6'>
         <view>立即参团</view>
       </view>
      </view>
    </view>
   </view>
   <view class='ware_bot'>
     <view class='ware_bot_tit'>经典推荐</view>
     <view class='ware_bot_txt'>智利进口,绿色健康,硕大饱满</view>
   </view>
  </view>
</view>
<!-- 商品规格 -->
<view class='spec'>
  <view class='spec_txt'>商品规格</view>
  <view class='spec_txt2'>1磅1份</view>
</view>
<!-- 商品详情 -->
<view class='ware_detail'>
 <view class='ware_detail_tit'>
   <view class="ware_detail_box {{index == 1 ? 'ware_active' : ''}}" bindtap='goy' data-id="1">商品详情</view>
   <view class="ware_detail_box {{index == 2 ? 'ware_active' : ''}}" bindtap='goy2' data-id="2">用户评价</view>
 </view>
 <view class='ware_detailC'>
  <view class='ware_detailImg' wx:if="{{index == 1}}">
   <image src='../../../img/gerenzhingxinbeijing@3x.png'></image>
  </view>
  <!-- 用户评价 -->
  <view class='ware_assess' wx:if="{{index == 2}}">
   <view class='ware_assess_li'>
     <view class='assess_header'>
       <view class='assess_headerImg'>
        <image src='../../../img/jujia@2x.png'></image>
       </view>
       <view class='assess_headerTxt'>朱*明</view>
     </view>
     <view class='assess_say'>
      产品和描述一直,很喜欢他们家的东西,体验了下东西确实也不错
     </view>
     <view class='ware_pic'></view>
     <view class='assess_time'>2019/07/01</view>
   </view>
   <view class='ware_assess_li'>
     <view class='assess_header'>
       <view class='assess_headerImg'>
        <image src='../../../img/jujia@2x.png'></image>
       </view>
       <view class='assess_headerTxt'>朱*明</view>
     </view>
     <view class='assess_say'>
      质量很不错,很喜欢。
     </view>
     <view class='ware_pic'>
        <view class='ware_picBox'>
          <image src='../../../img/gerenzhingxinbeijing@2x.png'></image>
        </view>
        <view class='ware_picBox'>
          <image src='../../../img/gerenzhingxinbeijing@2x.png'></image>
        </view>
     </view>
     <view class='assess_time'>2019/07/01</view>
   </view>
   <view class='whole'>
     查看全部评价
   </view>
  </view>
 </view>
</view>
<!-- footer底部 -->
<view class='footer'>
 <view class='footer_add'>加入收藏</view>
 <view class='footer_off' bindtap='goConfirm'>立即参团</view>
</view>
<!-- 遮罩层 -->
<view class="mask" catchtouchmove="preventTouchMove" wx:if="{{showModal}}"></view>
<!-- 弹出层 -->
<view class="modalDlg" wx:if="{{showModal}}">
 <view class='modalDlg_p'>
  <view class='m_top'>
     <view class='m_topImg'>
      <image src='../../../img/douyao.png'></image>
     </view>
     <view class='m_topTxt'>
       <view class='m_topTxt1'>
         <view class='m_topName'>纯进口有机菜花</view>
         <image bindtap='m_close' src='../../../img/cha.png'></image>
       </view>
       <view class='m_topTxt2'>
        <view class='m_topPrice'>¥52.00</view>
        <view class='m_topHelf'>1磅1份</view>
       </view>
     </view>
   </view>
   <view class='m_number'>
     <view class='m_numTxt'>购买数量</view>
     <view class='minus_push'>
      <view class='minus' bindtap="bindMinus">-</view>
      <view class='num' bindchange="bindManual">{{num}}</view>
      <view class='push' bindtap="bindPlus">+</view>
     </view>
    </view>
    <button class='m_btn' bindtap='goFirm_order1'>确认</button>
 </view>
</view>