12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <view class="container">
- <view class="header no-address" bindtap="showPopup" >
- <text class="address">{{checkAddress.detail ?checkAddress.detail :'请选择收货地址'}}</text>
- <!-- 有地址时候 no-address class去掉就行 加一行text-->
- <text class="detail color-grey">{{checkAddress.phone ?checkAddress.phone :''}}</text>
- <text class="detail color-grey">></text>
- </view>
-
- <view class="content">
- <text class="shop-name with-line">This is a simple demo page.</text>
- <view class="item with-line">
- <view class="item-detail">
- <image class="pic" src="./images/3.png" alt="" srcset="" />
- <view class="bug-detail">
- <text class="name">理工麻辣烫</text>
- <text class="num color-grey ">*2</text>
- </view>
- </view>
- <view class="item-price">
- <text class="price-new color-red">$20+40积分</text>
- <text class="price-old color-grey">$50</text>
- </view>
- </view>
- <view class="package with-line">
- <text class="name color-grey">包装费</text>
- <text class="num color-red">$2</text>
- </view>
- <view class="pay with-line">
- <text class="name color-grey">付款费</text>
- <text class="num color-red">$2</text>
- </view>
- <text class="total">已优惠 <text class="color-red">¥10</text>累计<text class="color-red">¥10</text></text>
- </view>
- <view class="data">
- <view class="data-detail">
- <text class="name">备注</text>
- <textarea bindinput="onTextareaInput"></textarea>
- <text class="counter">{{ textareaValue.length }}/150</text>
- </view>
- </view>
- <view class="bottom-total">
- <text class="name">累计 <text class="color-red">$20</text> </text>
- <button bindtap="jumpToPage">提交订单</button>
- </view>
- </view>
- <view>
- <van-popup show="{{ show }}" bind:close="onClose" custom-style="height: 70%;width:100%">
- <van-cell-group>
- <van-cell title="单元格" value="内容" label="描述信息" border="{{ true }}" icon="location-o" />
- <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" />
- </van-cell-group>
- </van-popup>
- </view>
|