wuzhenkun
2021-02-18 95033a06a92d00cbf9c103c8512e1b1c7a7646e5
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
<!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="./hysq.css" rel="stylesheet">
        
        <style type="text/css">
            
        </style>
    </head>
 
    <body class="app_page">
        <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 class="outside_common_txt" style="margin-top: 24px;">
                    发送添加好友申请:
                </div>
                <div style="margin: 16px; box-sizing: border-box;">
                    <div class="mui-card">
                        <div class="z_my_head" style="border-bottom: 1px solid #FAFAFA;">
                            <textarea class="textarea_txt" style="height: 100%;border: 0px;" placeholder="我是上海十院的陈维!"></textarea>
                        </div>
                    </div>
                </div>
                <button class="confirm_button" style="margin: 8px 25px 16px;height: 50px;" onclick="click_row(menurows[0])">添加好友</button>
            </div>
        </div>
        
        <script type="text/javascript">
            mui.init({
                swipeBack: true //启用右滑关闭功能
            });
            
            var menurows = [
                {id: "1", name: "动态", path: "./sflb",_id: 1024},
                {id: "2", name: "详细信息", path: "./ysxx"},
                {id: "3", name: "门诊排班", path: "./mzpb"},
                {id: "4", name: "共享的随访量表", path: "./sflb"},
            ];
 
            //function
            setRouteParams({userId: "1352189979509854209",params: {}});
            
            function initPage() {
                
            }
            
            function loadData() {
                hideloading("loading");
                doLoadData();
            }
            
            function doLoadData() {
                
            }
            
            function click_row(row) {
                var pam = {
                    _id:row._id,
                    params:{
                        userId: login_data.userId,
                    }
                };
                app_click("route", pam, callback);
            }
            
            //3. run
            mui.ready(function() {
                onInitReady(function() {
                    initPage();
                    loadData();
                });
            });
        </script>
    </body>
</html>