OrderCheck.wxml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <view class="container">
  2. <view class="header no-address" bindtap="showPopup" >
  3. <text class="address">{{checkAddress.detail ?checkAddress.detail :'请选择收货地址'}}</text>
  4. <!-- 有地址时候 no-address class去掉就行 加一行text-->
  5. <text class="detail color-grey">{{checkAddress.phone ?checkAddress.phone :''}}</text>
  6. <text class="detail color-grey">></text>
  7. </view>
  8. <view class="content">
  9. <text class="shop-name with-line">This is a simple demo page.</text>
  10. <view class="item with-line">
  11. <view class="item-detail">
  12. <image class="pic" src="./images/3.png" alt="" srcset="" />
  13. <view class="bug-detail">
  14. <text class="name">理工麻辣烫</text>
  15. <text class="num color-grey ">*2</text>
  16. </view>
  17. </view>
  18. <view class="item-price">
  19. <text class="price-new color-red">$20+40积分</text>
  20. <text class="price-old color-grey">$50</text>
  21. </view>
  22. </view>
  23. <view class="package with-line">
  24. <text class="name color-grey">包装费</text>
  25. <text class="num color-red">$2</text>
  26. </view>
  27. <view class="pay with-line">
  28. <text class="name color-grey">付款费</text>
  29. <text class="num color-red">$2</text>
  30. </view>
  31. <text class="total">已优惠 <text class="color-red">¥10</text>累计<text class="color-red">¥10</text></text>
  32. </view>
  33. <view class="data">
  34. <view class="data-detail">
  35. <text class="name">备注</text>
  36. <textarea bindinput="onTextareaInput"></textarea>
  37. <text class="counter">{{ textareaValue.length }}/150</text>
  38. </view>
  39. </view>
  40. <view class="bottom-total">
  41. <text class="name">累计 <text class="color-red">$20</text> </text>
  42. <button bindtap="jumpToPage">提交订单</button>
  43. </view>
  44. </view>
  45. <view>
  46. <van-popup show="{{ show }}" bind:close="onClose" custom-style="height: 70%;width:100%">
  47. <van-cell-group>
  48. <van-cell title="单元格" value="内容" label="描述信息" border="{{ true }}" icon="location-o" />
  49. <van-cell wx:for="{{address}}" wx:key="this" title="{{item.detail}}" value="{{item.phone}}" data-item="{{item}}" label="描述信息" border="{{true}}" bind:click='handleClickCell' icon="location-o" />
  50. </van-cell-group>
  51. </van-popup>
  52. </view>