index.html
6.4 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
<title>用户个人中心</title>
<script src="__TMPL__/public/assets/js/fontsize.js"></script>
<link rel="stylesheet" href="__TMPL__/public/assets/css/init.css">
<link rel="stylesheet" href="http://at.alicdn.com/t/font_793738_5lr5x3nl9vf.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/personalCenter.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/comment.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/weui.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/myweui.css">
</head>
<body style="background:#F5FAF7">
<div class="content_box">
<div class="banner_box">
<div class="head_box">
<img src="{:cmf_get_image_url($user.avatar)}" alt="">
<div class="user_name">{$user_login|default=$user.user_nickname}</div>
</div>
<div class="sign_in">
<text class="iconfont icon-qiandao"></text>
<text>签到</text>
</div>
</div>
<div class="banner_info_box">
<a class="banner_item" href="{:url('user/index/myScore')}">
<div>{$user.score}</div>
<div class="banner_info">当前积分</div>
</a>
<div class="banner_line"></div>
<a style="display: none" class="banner_item" href="{:url('user/message/list')}">
<div>{$message_count}</div>
<div class="banner_info">站内信</div>
</a>
<div class="banner_line"></div>
<a class="banner_item" href="{:url('portal/shop/index')}">
<div>兑换积分</div>
</a>
</div>
</div>
<div class="content_box" <if condition="$user['is_expert']==1"> style="display:none"</if>>
<div class="type_box">
<a class="type_item" href="{:url('inquiry')}" >
<div class="icon_img"><img src="__TMPL__/public/assets/images/dicon02@2x.png" alt=""></div>
<div>我要问诊</div>
</a>
<a class="type_item" href="{:url('transfer')}">
<div class="icon_img"><img src="__TMPL__/public/assets/images/dicon03@2x.png" alt=""></div>
<div>我要转诊</div>
</a>
<a class="type_item" href="{:url('engage')}">
<div class="icon_img"><img src="__TMPL__/public/assets/images/dicon04@2x.png" alt=""></div>
<div>我要进修</div>
</a>
<a class="type_item" href="{:url('expert/inquiryAnswer')}">
<div class="icon_img"><img src="__TMPL__/public/assets/images/dicon06@2x.png" alt=""></div>
<div>问诊待答</div>
</a>
<a class="type_item" href="{:url('expert/transferAnswer')}">
<div class="icon_img"><img src="__TMPL__/public/assets/images/dicon07@2x.png" alt=""></div>
<div>转诊待答</div>
</a>
<a class="type_item" href="{:url('expert/engageAnswer')}">
<div class="icon_img"><img src="__TMPL__/public/assets/images/dicon07@2x.png" alt=""></div>
<div>进修待答</div>
</a>
</div>
</div>
<div class="content_box" <if condition="$user['is_expert']==0"> style="display:none"</if>>
<div class="type_box" style="justify-content: flex-start;" >
<a class="type_item" href="{:url('expert/inquiryAnswer')}">
<div class="icon_img"><img src="__TMPL__/public/assets/images/dicon06@2x.png" alt=""></div>
<div>问诊待答</div>
</a>
<a class="type_item" href="{:url('expert/transferAnswer')}">
<div class="icon_img"><img src="__TMPL__/public/assets/images/dicon07@2x.png" alt=""></div>
<div>转诊待答</div>
</a>
</div>
</div>
<div class="content_box">
<div class="input_box">
<a class="list_input" href="{:url('myData')}">
<div class="list_img_box">
<text class="list_img"><img src="__TMPL__/public/assets/images/dicon08@2x.png"></text>
<text>我的资料</text>
</div>
<text class="iconfont icon-jiantou1"></text>
</a>
<a class="list_input" href="{:url('myOrder')}">
<div class="list_img_box">
<text class="list_img"><img src="__TMPL__/public/assets/images/dicon09@2x.png"></text>
<text>我的订单</text>
</div>
<text class="iconfont icon-jiantou1"></text>
</a>
<a class="list_input address" >
<div class="list_img_box ">
<text class="list_img"><img src="__TMPL__/public/assets/images/dicon10@2x.png"></text>
<text>我的地址</text>
</div>
<text class="iconfont icon-jiantou1"></text>
</a>
<a class="list_input budget" href="{:url('kefu')}">
<div class="list_img_box">
<text class="list_img"><img src="__TMPL__/public/assets/images/dicon12@2x.png"></text>
<text>联系客服</text>
</div>
<text class="iconfont icon-jiantou1"></text>
</a>
<a class="list_input" href="{:url('portal/friends/index')}">
<div class="list_img_box">
<text class="list_img"><img src="__TMPL__/public/assets/images/dicon13@2x.png"></text>
<text>我的圈子</text>
</div>
<text class="iconfont icon-jiantou1"></text>
</a>
</div>
</div>
<div class="footer">
<ul>
<li class=""><a href="/"><em class="footer_icon1"></em>首页</a></li>
<li class=""><a href="{:url('portal/article/articleIndex')}"><em class="footer_icon2"></em>学术平台</a></li>
<li class=""><a href="{:url('portal/expert/index')}"><em class="footer_icon3"></em>平台专家</a></li>
<li class="footer_curr"><a href="#"><em class="footer_icon4"></em>我的</a></li>
</ul>
</div>
<script src="__TMPL__/public/assets/js/jquery-2.1.0.js"></script>
<script src="__TMPL__/public/assets/js/comment.js"></script>
<script src="http://res.wx.qq.com/open/js/jweixin-1.4.0.js"></script>
<script type="application/javascript">
$('.sign_in').click(function () {
window.location.href='{:url('signIn')}'
})
wx.config({$sdk});
$('.address').click(function () {
wx.openAddress({
success: function (res) {
console.log(res);
}
});
})
</script>
</body>
</html>