- 电子药箱: 药品库存管理 + 手动录入 + 今日用药打卡 - 药品百科: 搜索 + 分类筛选 + 20种药品静态数据 - 惠教中心: 4条药品使用指南课程 - 我的: 家庭成员信息管理 - 自定义TabBar + navigation-bar组件 - SVG药品分类插图
31 lines
1.3 KiB
Plaintext
31 lines
1.3 KiB
Plaintext
<!--components/location-item/location-item.wxml-->
|
|
<view class="item">
|
|
<view class="info" bind:tap="handleSelect">
|
|
<view class="location">
|
|
{{locationStr}}
|
|
<view class="delete" catch:tap="handleDelete">
|
|
<image src="../../../assets/img/delete.svg"></image>
|
|
</view>
|
|
</view>
|
|
<view class="address">
|
|
<view class="address-info">{{item.address}}</view>
|
|
<view class="edit" catch:tap="handleEdit">
|
|
<image style="width: 100%;height: 100%;" src="../../../assets/img/edit.svg" class="icon" />
|
|
</view>
|
|
</view>
|
|
<view class="footer">
|
|
<view class="user">
|
|
<view class="name">{{item.name}}</view>
|
|
<view class="phone">{{item.mobile}}</view>
|
|
</view>
|
|
<view class="default-address">
|
|
<view class="default-item" wx:if="{{item.defaultStatus}}">默认收货地址</view>
|
|
<view class="default-item" style="color: #AEADB2;" wx:if="{{!item.defaultStatus}}">选为默认收货地址</view>
|
|
<van-switch class="switch" checked="{{item.defaultStatus == true}}" size="30rpx" active-color="#FA6905"
|
|
bind:change="handleSwitch" catch:tap="stopTap" />
|
|
</view>
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view> |