Program.wxml
2.0 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!--pages/Program/Program.wxml-->
<view class='line_box'></view>
<view wx:for='{{list}}' wx:key>
<view class='content_box'>
<view class='item_list'>
<view>产品名称</view>
<view class='list_input'>
<input placeholder='请输入产品名称' value='{{item.name}}' bindinput='setmame'
data-index='{{index}}'></input>
</view>
</view>
<view class='item_list'>
<view>保险公司</view>
<view class='list_input'>
<input placeholder='请输入保险公司' value='{{item.firm}}' bindinput='setfirm'
data-index='{{index}}'></input>
</view>
</view>
<view class='item_list'>
<view>保障内容</view>
<view class='list_input'>
<input placeholder='请输入保障内容' value='{{item.text}}' bindinput='settext' data-index='{{index}}'></input>
</view>
</view>
</view>
<view class='list_btn_box'>
<view class='list_btn' bindtap='del' id='{{item.id}}'>删除方案</view>
</view>
<view class='line_box'></view>
</view>
<view>
<view class='content_box'>
<view class='item_list'>
<view>产品名称</view>
<view class='list_input'>
<input placeholder='请输入产品名称' value='{{temobj.name}}' bindinput='settemname'></input>
</view>
</view>
<view class='item_list'>
<view>保险公司</view>
<view class='list_input'>
<input placeholder='请输入保险公司' value='{{temobj.firm}}' bindinput='settemfirm'></input>
</view>
</view>
<view class='item_list'>
<view>保障内容</view>
<view class='list_input'>
<textarea placeholder='请输入保障内容' value='{{temobj.text}}' bindinput='settemtext'></textarea>
</view>
</view>
</view>
<view class='list_btn_box'>
<view class='list_btn' bindtap='deltemobj'>删除方案</view>
<view class='list_btn add_btn' bindtap='addtemobj'>添加方案</view>
</view>
</view>
<view class='bottom_box'>
<view class='save_btn' bindtap='allsave'>保存</view>
</view>