wuzhenkun
2021-02-18 b0163a90cc1b62af2ed4d3c1d3fd5661ce0eb054
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<!doctype html>
<html>
    <head>
        <meta charset="utf-8" />
        <title>确认结束服务</title>
        <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
 
        <!-- js引用 -->
        <script src="../../js/config.js"></script>
        <script src="../../js/h5toapp.js"></script>
        <script src="../../js/h5to.js"></script>
 
        <!-- 组件js引用 -->
        <script src="../../js/mui.min.js"></script>
        <!-- 组件标准css引用 -->
        <link rel="stylesheet" href="../../css/mui.min.css">
 
        <!-- css引用 -->
        <link href="../../css/currency.css" rel="stylesheet">
        <link href="../../css/spinkit.css" rel="stylesheet">
        <link href="../../css/icon/iconfont.css" rel="stylesheet">
        <!-- 界面本身css引用 -->
        <link href="./qrjs.css" rel="stylesheet">
 
        <style type="text/css">
 
        </style>
    </head>
 
    <body>
        <div style="background-color:  #F9FAFC; height: 100vh; width: 100%; margin: 0; overflow: auto;">
            <div id="loading" class="example">
                <div class="sk-plane loading_location"></div>
            </div>
 
            <div class="mui-content">
                <div style="margin: 16px 16px 0px 16px; box-sizing: border-box;">
                    <div style="height: 95px;">
                        <div class="z_body_l">
                            <div class="z_img_head1">
                                END
                            </div>
                        </div>
                        <div class="z_body_r">
                            <div class="z_info1">
                                <div class="z_info">
                                    <span >您的咨询服务暂未到期,提前结束后您将不再享有陈维医生的咨询服务。</span>
                                </div>
                            </div>
                        </div>
 
 
                    </div>
                </div>
                <div style="margin: 16px 16px 0px 16px; box-sizing: border-box;">
                    <div style="height: 95px;">
                        <div class="z_body_l">
                            <div class="z_img_head1" style="background: #21D197;">
                                <div class="z_img_head2">
                                        1 ¥
                                </div>
                            </div>
                        </div>
                        <div class="z_body_r">
                            <div class="z_info1">
                                <div class="z_info">
                                    <span>我们会根据剩余咨询天数赠送您专属优惠券,有效期内进行咨询时可以更优惠</span>
                                </div>
                            </div>
                        </div>
                
                
                    </div>
                </div>
                <div class="z_cz">
                    <div class="z_qx" onclick="click_row(menurows[0])">
                        <span>确认结束</span>
                
                    </div>
                    <div class="z_zf" onclick="click_row(menurows[1])">
                            <span>我在想想</span>
                    </div>
                </div>
            </div>
        </div>
 
 
        <script type="text/javascript">
            mui.init({
                swipeBack: true //启用右滑关闭功能
            });
            //1. data
            var menurows = [{
                    id: "1",
                    name: "聊医聊",
                    path: "",
                    _id: 2010
                },
                {
                    id: "2",
                    name: "服务详情",
                    path: "./fwxq",
                    _id: 1025
                }
            ];
 
 
            setRouteParams({userId: "1352141846545367042",params: {"doctorId": "1285860235186212865"}});
            //2. function
            function initPage() {
                
            }
 
            function click_row(row) {
                var pam = {
                    _id: row._id,
                    params: {
                        userId: login_data.id
                    }
                };
                app_click("route", pam, callback);
            }
 
            function click_add_label() {
                var label = document.getElementById('label_list');
                var element = document.createElement('div');
                element.className = "ddxq_tip1";
 
                var span_element = document.createElement('span');
                span_element.className = "ddxq_tip_detail";
                span_element.innerText = "有吸毒";
                element.appendChild(span_element);
                // document.body.appendChild(element);
                label.appendChild(element);
            }
            
            function loadData() {
                ajaxGet('doctor/api/query/' + login_data.params.doctorId, function(result) {
                    doctor = result.data
                    doLoadData();
                    hideloading("loading");
                });
            }
            function doLoadData() {
                
                }
            //3. run
            mui.ready(function() {
                onInitReady(function() {
                    // setRightBtn("rightBtn", {_id: 3000}, callback);
                    initPage();
                    loadData();
                });
            })
        </script>
    </body>
</html>