jack 7 年之前
父節點
當前提交
81411d1ea3
共有 3 個文件被更改,包括 5 次插入2 次删除
  1. 2 1
      app/js/paperShow.js
  2. 2 1
      app/js/patentShow.js
  3. 1 0
      app/js/setup.js

+ 2 - 1
app/js/paperShow.js

@ -198,7 +198,8 @@ mui.plusReady(function() {
198 198
											oString += '</div></div><span class="mui-icon attenSpan"  style="display:' + odis + ';" data-id="'+showPro.id+'">关注</span>'
199 199
											liItem.innerHTML = oString;
200 200
											document.getElementById("aboutAuthors").appendChild(liItem);
201
											ifcollectionAbout1.call(liItem.getElementsByClassName("attenSpan")[0],showPro.id,1);
201
											if(userid){
202
											ifcollectionAbout1.call(liItem.getElementsByClassName("attenSpan")[0],showPro.id,1);}
202 203
										}
203 204
									}
204 205
								})

+ 2 - 1
app/js/patentShow.js

@ -197,7 +197,8 @@ mui.plusReady(function() {
197 197
											oString += '</div></div><span class="mui-icon attenSpan"  style="display:' + odis + ';" data-id="'+showPro.id+'">关注</span>'
198 198
											liItem.innerHTML = oString;
199 199
											document.getElementById("aboutAuthors").appendChild(liItem);
200
											ifcollectionAbout1.call(liItem.getElementsByClassName("attenSpan")[0],showPro.id,1);
200
											if(userid){
201
											ifcollectionAbout1.call(liItem.getElementsByClassName("attenSpan")[0],showPro.id,1);}
201 202
										}
202 203
									}
203 204
								})

+ 1 - 0
app/js/setup.js

@ -52,6 +52,7 @@ mui.ready(function() {
52 52
		mui.confirm("是否退出", "提示", btn, function(e) {
53 53
			if(e.index == 0) {
54 54
				plus.storage.removeItem("userid");
55
				plus.storage.removeItem("name");
55 56
				console.log('点击退出时id=='+plus.storage.getItem('userid'));
56 57
				//plus.cache.clear();
57 58
				//plus.storage.clear();