Browse Source

修正bug

li 7 years ago
parent
commit
512b00841b
2 changed files with 4 additions and 1 deletions
  1. 1 1
      app/html/leaveWordDialog.html
  2. 3 0
      app/js/inform.js

+ 1 - 1
app/html/leaveWordDialog.html

@ -42,7 +42,7 @@
42 42
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left topback"></a>
43 43
			<h1 class="mui-title toptit">留言对话</h1>
44 44
		</header>
45
		<nav class="mui-bar mui-bar-tab footbox" style="border-top:none ;">
45
		<nav class="mui-bar mui-bar-tab footbox" style="border-top:none ;position:absolute;">
46 46
			<div class="mui-row artfoot displayNone" id="textInput">
47 47
				<div class="mui-col-xs-12">
48 48
					<textarea name="" placeholder="说点什么吧…" id="textInputThis" maxlength="200"></textarea>

+ 3 - 0
app/js/inform.js

@ -128,6 +128,9 @@ function uinfo(li, uid) {
128 128
		success: function(data) {
129 129
			if(data.success) {
130 130
				var $data = data.data;
131
				if($data==null) {
132
					return;
133
				}
131 134
				if($data.hasHeadImage == 1) {
132 135
					li.getElementsByClassName("useHead")[0].style.backgroundImage = "url(" + baseUrl + "/images/head/" + $data.id + "_l.jpg" + ")";
133 136
				}