jack 7 years ago
parent
commit
81411d1ea3
3 changed files with 5 additions and 2 deletions
  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
											oString += '</div></div><span class="mui-icon attenSpan"  style="display:' + odis + ';" data-id="'+showPro.id+'">关注</span>'
198
											oString += '</div></div><span class="mui-icon attenSpan"  style="display:' + odis + ';" data-id="'+showPro.id+'">关注</span>'
199
											liItem.innerHTML = oString;
199
											liItem.innerHTML = oString;
200
											document.getElementById("aboutAuthors").appendChild(liItem);
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
											oString += '</div></div><span class="mui-icon attenSpan"  style="display:' + odis + ';" data-id="'+showPro.id+'">关注</span>'
197
											oString += '</div></div><span class="mui-icon attenSpan"  style="display:' + odis + ';" data-id="'+showPro.id+'">关注</span>'
198
											liItem.innerHTML = oString;
198
											liItem.innerHTML = oString;
199
											document.getElementById("aboutAuthors").appendChild(liItem);
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
		mui.confirm("是否退出", "提示", btn, function(e) {
52
		mui.confirm("是否退出", "提示", btn, function(e) {
53
			if(e.index == 0) {
53
			if(e.index == 0) {
54
				plus.storage.removeItem("userid");
54
				plus.storage.removeItem("userid");
55
				plus.storage.removeItem("name");
55
				console.log('点击退出时id=='+plus.storage.getItem('userid'));
56
				console.log('点击退出时id=='+plus.storage.getItem('userid'));
56
				//plus.cache.clear();
57
				//plus.cache.clear();
57
				//plus.storage.clear();
58
				//plus.storage.clear();