1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!--pages/myCertificate/myCertificate.wxml-->
<view class='myCertificate'>
<view style='font-size:12px;color:#666;float:right;padding-right:15px;'>
</view>
<view class="certificateItem" wx:for="{{certificateList}}">
<image src='{{item.front_image}}'></image>
<view class="getRow">
<text>{{item.title}}</text>
<van-button type="info" size='mini' bindtap="applyCertificate" data-index='{{item.id}}'>申领</van-button>
</view>
</view>
</view>
<!--添加底部弹出对话框开始-->
<view class='bot_myCertificate' wx:if="{{inpShow==true}}">
<view class='con_bot_myCertificate'>
<view class='top_myCertificate' style='justify-content: center;border-bottom:none'>请填写详细信息</view>
<view>
<text>收件人</text>
<input placeholder='请输入姓名' value='{{name}}' bindinput='changeName'></input>
</view>
<view>
<text>手机号</text>
<input placeholder='请输入手机号' value='{{mobile}}' bindinput='changeMobile'></input>
</view>
<view>
<text>详细地址</text>
<input placeholder='请输入收件地址' value='{{address}}' bindinput='changeAddress'></input>
</view>
<view class='btnBot'>
<view bindtap='backApplyCertificate' style='background:#979797;'>取消</view>
<view style='background:#ed4848;' bindtap='sureApplyCertificate'>确定</view>
</view>
</view>
</view>
<!--添加底部弹出对话框结束-->
<van-notify id="van-notify" />