Forráskód Böngészése

调整分享文章字体设置成白色情况

heyang 3 éve%!(EXTRA string=óta)
szülő
commit
d153562009
1 módosított fájl, 14 hozzáadás és 2 törlés
  1. 14 2
      microserviceUserH5/vcloud/share.html

+ 14 - 2
microserviceUserH5/vcloud/share.html

@@ -246,13 +246,19 @@
 									app = navigator.appVersion;
 								var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1; //g
 								var isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
-								if (isAndroid && !window.native) {
+								// if (isAndroid && !window.native) {
 									setTimeout(() => {
 										let node = document.getElementById('topic-info');
+										let span = document.getElementsByTagName('span');
 										node.firstChild.style.backgroundColor = '#FFFFFF';
 										node.style.display = 'block';
+										for(var o in span){
+											if(span[o].style){
+												span[o].style.color = '#333333';
+											}
+										}
 									},100)
-								}
+								// }
 								if (isAndroid && !window.native) {
 									setTimeout(() => {
 										let node = document.getElementById('topic-info');
@@ -266,8 +272,14 @@
 									} catch(error) {
 										setTimeout(() => {
 											let node = document.getElementById('topic-info');
+											let span = document.getElementsByTagName('span');
 											node.firstChild.style.backgroundColor = '#FFFFFF';
 											node.style.display = 'block';
+											for(var o in span){
+												if(span[o].style){
+													span[o].style.color = '#333333';
+												}
+											}
 										},100)
 									}
 								}