|
@@ -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)
|
|
|
}
|
|
|
}
|