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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
| <template>
| <view>
| <!-- 通知 -->
| <uni-notice-bar show-icon text="仅限对比该登录手机号相同的体检报告哦!" />
|
| <!-- 选择报告 -->
| <div class="choice">
| <view class="uni-px-5 uni-pb-5">
| <uni-data-checkbox multiple v-model="checkbox1" :localdata="hobby" selectedColor="#fd8b4d"
| selectedTextColor="#fd8b4d"></uni-data-checkbox>
| </view>
| </div>
|
| <!-- 对比 -->
| <div class="contrast">
| <uni-goods-nav :fill="true" :options="options" :button-group="customButtonGroup1"
| style="margin-top: 20px;" />
| </uni-section>
| </div>
|
|
|
| </view>
| </template>
|
| <script>
| export default {
| data() {
| return {
| options: [],
|
| radio1: 0,
| radio2: 0,
| radio3: 0,
| radio4: 0,
| radio5: 0,
| radio6: 0,
| checkbox1: [0],
| checkbox2: [0],
| checkbox3: [0],
| checkbox4: [0],
| checkbox5: [0],
| checkbox6: [0],
|
| hobby: [{
| text: '2022-04-08 xxx 男',
| value: 0
| }, ],
|
| customButtonGroup1: [{
| text: '对比',
| backgroundColor: '#c8c8c8',
| color: '#fff'
| }, ]
|
| }
| },
| methods: {
|
| }
| }
| </script>
|
| <style>
| .choice {
| width: 100%;
| height: 100rpx;
| padding-left:15rpx;
| display: flex;
| align-items: center;
| background-color: #f8f8fa;
| }
| .contrast{
| position: fixed;
| left: 0;
| right: 0;
| bottom: 0;
| }
| </style>
|
|