104 lines
3.8 KiB
Plaintext
104 lines
3.8 KiB
Plaintext
<view>
|
|
<view class="bg"></view>
|
|
<nav-bar class="nav-bar">
|
|
<image class="logo" src="/assets/icon/navbar/lanfeng@2x.png"/>
|
|
</nav-bar>
|
|
<view class="choose-community" bind:tap="goToCommunity">
|
|
<view class="text">
|
|
{{
|
|
currentCommunity.id?currentCommunity.name:'请选择小区'
|
|
}}
|
|
</view>
|
|
<image class="arrow" src="/assets/icon/help/arrow-down@2x.png"/>
|
|
</view>
|
|
<view class="address-panel">
|
|
<view class="ap-item send" bind:tap="goToAddress">
|
|
<image class="icon" src="/assets/icon/help/send@2x.png"/>
|
|
<view class="text">
|
|
<block wx:if="{{currentAddress&¤tAddress.id}}">
|
|
<view class="title">
|
|
{{currentAddress.community_name}}
|
|
{{currentAddress.address_detail}}
|
|
</view>
|
|
<view class="sub-title">
|
|
{{currentAddress.name}} {{currentAddress.phone}}
|
|
</view>
|
|
</block>
|
|
<block wx:else>
|
|
<view class="title">请录入配送地址</view>
|
|
</block>
|
|
</view>
|
|
<image class="arrow" src="/assets/icon/help/arrow-right@2x.png"/>
|
|
</view>
|
|
<view class="ap-item take" bind:tap="goToAddPackage">
|
|
<image class="icon" src="/assets/icon/help/take@2x.png"/>
|
|
<view class="text" wx:if="{{package.name}}">
|
|
<view class="title">{{package.name}}</view>
|
|
<view class="sub-title">共计 {{package.count}} 个包裹</view>
|
|
</view>
|
|
<view class="text" wx:else>
|
|
<view class="title">送达地址</view>
|
|
</view>
|
|
<image class="arrow" src="/assets/icon/help/arrow-right@2x.png"/>
|
|
</view>
|
|
<view class="line"></view>
|
|
<view class="bottom">
|
|
<view class="item">
|
|
<image class="icon" src="/assets/icon/help/icon1.png"/>
|
|
<view class="text">方便快捷</view>
|
|
</view>
|
|
<view class="item">
|
|
<image class="icon" src="/assets/icon/help/icon2.png"/>
|
|
<view class="text">方便快捷</view>
|
|
</view>
|
|
<view class="item">
|
|
<image class="icon" src="/assets/icon/help/icon3.png"/>
|
|
<view class="text">方便快捷</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<button type="primary" class="order-button" bind:tap="preOrder">立即下单</button>
|
|
<view class="login-panel" wx:if="{{!isLogin}}">
|
|
<image class="icon" src="/assets/icon/help/redpacket@2x.png"/>
|
|
<view class="text">登录后享跑腿服务</view>
|
|
<navigator url="/pages/login/login">
|
|
<button class="button" size="mini">一键登录</button>
|
|
</navigator>
|
|
</view>
|
|
<view class="promotion-panel">
|
|
<view class="text">
|
|
<view class="title">您有<label class="spec">2张</label>免费跑腿券待领取</view>
|
|
<view class="sub-title">先领券,再下单,立享免费跑腿</view>
|
|
</view>
|
|
<button class="button" type="primary">领</button>
|
|
</view>
|
|
</view>
|
|
|
|
<page-container show="{{isShowOrderConfirm}}" round close-on-slide-down>
|
|
<view class="content pc-content">
|
|
<view class="head">
|
|
<view class="kv-item">
|
|
<view class="key">送达地址</view>
|
|
<view class="value">
|
|
{{currentAddress.community_name+currentAddress.address_detail}}
|
|
</view>
|
|
</view>
|
|
<view class="kv-item">
|
|
<view class="key">取件数量</view>
|
|
<view class="value">{{preOrder.price_info.package_count}}个包裹</view>
|
|
</view>
|
|
</view>
|
|
<view class="spliter"></view>
|
|
<view class="kv-item">
|
|
<view class="key">跑腿券</view>
|
|
<view class="value yellow">0张</view>
|
|
</view>
|
|
<view class="kv-item">
|
|
<view class="key">跑腿费</view>
|
|
<view class="value red">¥3.5</view>
|
|
</view>
|
|
<view class="tips">*基础费3元 (含5件包裹) 超出部分0.5元/件</view>
|
|
|
|
<button class="button" type="primary" bind:tap="getOrder">立即购买</button>
|
|
</view>
|
|
</page-container> |