hxw666
hxw666
  • 发布:2019-08-11 22:03
  • 更新:2019-08-11 22:03
  • 阅读:1371

运行安卓端报错:$gwx is not a function at app-view.j

分类:uni-app

代码太长了,复制一部分

var __pageFrameStartTime__ = Date.now();  
var __webviewId__;  
var __wxAppCode__ = {};  
var __WXML_GLOBAL__ = {  
  entrys: {},  
  defines: {},  
  modules: {},  
  ops: [],  
  wxs_nf_init: undefined,  
  total_ops: 0  
};  
var $gwx;  

var BASE_DEVICE_WIDTH = 750;  
var isIOS=navigator.userAgent.match("iPhone");  
var deviceWidth = window.screen.width || 375;  
var deviceDPR = window.devicePixelRatio || 2;  
var checkDeviceWidth = window.__checkDeviceWidth__ || function() {  
var newDeviceWidth = window.screen.width || 375  
var newDeviceDPR = window.devicePixelRatio || 2  
var newDeviceHeight = window.screen.height || 375  
if (window.screen.orientation && /^landscape/.test(window.screen.orientation.type || '')) newDeviceWidth = newDeviceHeight  
if (newDeviceWidth !== deviceWidth || newDeviceDPR !== deviceDPR) {  
deviceWidth = newDeviceWidth  
deviceDPR = newDeviceDPR  
}  
}  
checkDeviceWidth()  
var eps = 1e-4;  
var transformRPX = window.__transformRpx__ || function(number, newDeviceWidth) {  
if ( number === 0 ) return 0;  
number = number / BASE_DEVICE_WIDTH * ( newDeviceWidth || deviceWidth );  
number = Math.floor(number + eps);  
if (number === 0) {  
if (deviceDPR === 1 || !isIOS) {  
return 1;  
} else {  
return 0.5;  
}  
}  
return number;  
}  
var setCssToHead = function(file, _xcInvalid, info) {  
var Ca = {};  
var css_id;  
var info = info || {};  
var _C= [[[2,1],[2,2],],["@charset \x22UTF-8\x22;\n.",[1],"read-num { background: url(https://mini-program-1251138298.cos.ap-guangzhou.myqcloud.com/app/img/read-num.png) no-repeat; background-position: left; background-size: contain; background-size: ",[0,36],"; margin-right: ",[0,10],"; padding-left: ",[0,40],"; }\nbody { -webkit-box-sizing: border-box !important; box-sizing: border-box !important; }\n@font-face { font-family: texticons; font-weight: normal; font-style: normal; src: url(\x22https://at.alicdn.com/t/font_984210_5cs13ndgqsn.ttf\x22) format(\x22truetype\x22); }\n::-webkit-scrollbar { color: transparent; width: 0; }\nwx-button::after, wx-button::before { display: none; }\n.",[1],"flex { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; }\n.",[1],"flex-v { -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; }\n.",[1],"flex-1 { -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; }\n.",[1],"align-center { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; }\n.",[1],"margin-top-xs { margin-top: ",[0,10],"; }\n.",[1],"margin-top-sm { margin-top: ",[0,20],"; }\n.",[1],"margin-top { margin-top: ",[0,30],"; }\n.",[1],"margin-top-lg { margin-top: ",[0,40],"; }\n.",[1],"margin-top-xl { margin-top: ",[0,50],"; }\n.",[1],"margin-right-xs { margin-right: ",[0,10],"; }\n.",[1],"margin-right-sm { margin-right: ",[0,20],"; }\n.",[1],"margin-right { margin-right: ",[0,30],"; }\n.",[1],"margin-right-lg { margin-right: ",[0,40],"; }\n.",[1],"margin-right-xl { margin-right: ",[0,50],"; }\n.",[1],"margin-bottom-xs { margin-bottom: ",[0,10],"; }\n.",[1],"margin-bottom-sm { margin-bottom: ",[0,20],"; }\n.",[1],"margin-bottom { margin-bottom: ",[0,30],"; }\n.",[1],"margin-bottom-lg { margin-bottom: ",[0,40],"; }\n.",[1],"margin-bottom-xl { margin-bottom: ",[0,50],"; }\n.",[1],"margin-left-xs { margin-left: ",[0,10],"; }\n.",[1],"margin-left-sm { margin-left: ",[0,20],"; }\n.",[1],"margin-left { margin-left: ",[0,30],"; }\n.",[1],"margin-left-lg { margin-left: ",[0,40],"; }\n.",[1],"margin-left-xl { margin-left: ",[0,50],"; }\n.",[1],"margin-bottom-sl { margin-bottom: ",[0,30],"; }\n.",[1],"btn-warn { background-color: #fe743e; color: #fff; }\n.",[1],"btn-blue { background-color: #69b0f2; color: #fff; }\n.",[1],"btn-green { color: #fff; background-color: #83D161; }\n.",[1],"sxb-lg-btn { width: ",[0,673],"; height: ",[0,85],"; line-height: ",[0,85],"; border-radius: ",[0,12],"; }\n@charset \x22UTF-8\x22;\n.",[1],"submit-btn { padding: 0; background: transparent; }\n.",[1],"submit-btn::after { content: \x27\x27; display: none; }\n",],["wx-view { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; -webkit-box-sizing: border-box; box-sizing: border-box; }\n.",[1],"list-cell { width: 100%; padding: 0 ",[0,30],"; }\n.",[1],"uni-list-cell-hover { background-color: #eeeeee; }\n.",[1],"media-list { -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; border-bottom-width: ",[0,1],"; border-bottom-style: solid; border-bottom-color: #ecebeb; padding: ",[0,20]," 0; }\n.",[1],"media-image-right { -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; }\n.",[1],"media-image-left { -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; }\n.",[1],"media-text { -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; overflow: hidden; }\n.",[1],"media-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; -o-text-overflow: ellipsis; text-overflow: ellipsis; overflow: hidden; font-size: ",[0,32],"; font-weight: 400; color: #505050; word-break: break-all; }\n.",[1],"media-title2 { margin-top: ",[0,4],"; line-height: 1.5em; height: 3em; }\n.",[1],"image-section { margin-top: ",[0,20],"; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; }\n.",[1],"image-section-right { margin-top: ",[0,0],"; margin-left: ",[0,10],"; width: ",[0,215],"; height: ",[0,155],"; }\n.",[1],"image-section-left { margin-top: ",[0,0],"; margin-right: ",[0,30],"; -webkit-box-flex: 0; -webkit-flex: 0 0 ",[0,215],"; -ms-flex: 0 0 ",[0,215],"; flex: 0 0 ",[0,215],"; height: ",[0,155],"; }\n.",[1],"image-list1 { width: ",[0,690],"; height: ",[0,481],"; }\n.",[1],"image-list2 { width: ",[0,257],"; height: ",[0,155],"; }\n.",[1],"image-list3 { width: ",[0,257],"; height: ",[0,155],"; }\n.",[1],"media-info { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; -webkit-box-align: end; -webkit-align-items: flex-end; -ms-flex-align: end; align-items: flex-end; margin-bottom: ",[0,6],"; }\n.",[1],"info-text { -webkit-box-align: end; -webkit-align-items: flex-end; -ms-flex-align: end; align-items: flex-end; margin-right: ",[0,10],"; color: #999999; font-size: ",[0,24],"; white-space: nowrap; }\n.",[1],"read-num { width: ",[0,60],"; margin-right: ",[0,10],"; overflow: hidden; -webkit-box-align: end; -webkit-align-items: flex-end; -ms-flex-align: end; align-items: flex-end; font-size: ",[0,24],"; color: #999; }\n.",[1],"info-date { width: ",[0,138],"; overflow: hidden; }\n.",[1],"info-title { -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; margin-right: 0; overflow: hidden; -o-text-overflow: ellipsis; text-overflow: ellipsis; white-space: nowrap; text-align: left; }\n.",[1],"media-foot { margin-top: ",[0,20],"; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; }\n.",[1],"max-close-view { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: end; -webkit-justify-content: flex-end; -ms-flex-pack: end; justify-content: flex-end; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; height: ",[0,40],"; width: ",[0,80],"; }\n.",[1],"close-view { border-style: solid; border-width: 1px; border-color: #999999; border-radius: ",[0,10],"; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; height: ",[0,30],"; width: ",[0,40],"; line-height: ",[0,30],"; }\n.",[1],"close { text-align: center; color: #999999; font-size: ",[0,28],"; }\n@charset \x22UTF-8\x22;\n.",[1],"drop-list-wrapper.",[1],"data-v-f6893f98 { position: relative; height: calc(100vh); background: rgba(0, 0, 0, 0.3); z-index: 8; }\n.",[1],"drop-list-wrapper .",[1],"drop-list-mask.",[1],"data-v-f6893f98 { position: absolute; width: 100%; height: 100%; z-index: 8; }\n.",[1],"drop-list.",[1],"data-v-f6893f98 { position: absolute; z-index: 9; top: 0; width: 100%; height: ",[0,500],"; padding-top: 0; overflow-y: auto; }\n.",[1],"drop-list .",[1],"list-item.",[1],"data-v-f6893f98 { padding: ",[0,30],"; font-size: ",[0,28],"; color: #69B0F2; border-bottom: 1px solid #eee; background-color: #fff; -webkit-box-pack: end; -webkit-justify-content: flex-end; -ms-flex-pack: end; justify-content: flex-end; }\n@charset \x22UTF-8\x22;\n.",[1],"pay-mask { position: fixed; left: 0; right: 0; top: 0; bottom: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; }\n.",[1],"pay-mask .",[1],"pay-result { width: ",[0,610],"; height: ",[0,730],"; border-radius: ",[0,10],"; background: #fff; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; }\n.",[1],"pay-mask .",[1],"pay-result .",[1],"pay-icon { width: ",[0,255],"; height: ",[0,55],"; }\n.",[1],"pay-mask .",[1],"pay-result .",[1],"pay-bg { width: ",[0,250],"; height: ",[0,267],"; }\n.",[1],"pay-mask .",[1],"pay-result .",[1],"pay-txt { font-size: ",[0,30],"; color: #666; }\n.",[1],"pay-mask .",[1],"pay-result .",[1],"pay-txt .",[1],"left-seconds { font-size: ",[0,38],"; color: #67a2fb; }\n@charset \x22UTF-8\x22;\n.",[1],"tags.",[1],"data-v-5ccfe134 { -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; }\n.",[1],"tags .",[1],"tag-item.",[1],"data-v-5ccfe134 { padding: ",[0,6]," ",[0,22],"; margin: ",[0,16]," ",[0,8],"; border-radius: ",[0,20],"; background-color: #58b9fe; color: #fff; font-size: ",[0,20],"; }\n@charset \x22UTF-8\x22;\n.",[1],"next-wrapper { margin-top: ",[0,100],"; }\n.",[1],"next { width: 60%; background: #83d161; border-radius: ",[0,100],"; margin: 0 auto; padding: ",[0,16],"; color: #fff; text-align: center; font-size: ",[0,30],"; margin-bottom: ",[0,20],"; }\n@charset \x22UTF-8\x22;\n.",[1],"picker { position: relative; width: ",[0,300],"; height: ",[0,80],"; line-height: ",[0,80],"; background: #f1f0f0; border-radius: ",[0,10],"; margin-left: ",[0,20],"; padding-left: ",[0,40],"; color: #b2b2b2; font-size: ",[0,30],"; }\n.",[1],"picker wx-view { width: ",[0,200],"; white-space: nowrap; overflow: hidden; -o-text-overflow: ellipsis; text-overflow: ellipsis; }\n.",[1],"picker::before { position: absolute; content: \x27\x27; width: 0; height: 0; top: 50%; right: ",[0,20],"; border-top: ",[0,20]," solid #c2c2c2; border-left: ",[0,20]," solid transparent; border-right: ",[0,20]," solid transparent; border-bottom: ",[0,20]," solid transparent; }\n@charset \x22UTF-8\x22;\n.",[1],"result { margin: 0 auto; text-align: center; margin-top: ",[0,40],"; margin-bottom: ",[0,100],"; }\n.",[1],"result-bar { position: relative; z-index: -1; width: 88%; margin: 0 auto; }\n.",[1],"result-info { width: 74%; margin: ",[0,-30]," auto; background: #fff; font-size: ",[0,30],"; text-align: left; padding: ",[0,50]," ",[0,30]," ",[0,30]," ",[0,30],"; border-radius: 0 0 ",[0,12]," ",[0,12],"; -webkit-box-shadow: ",[0,1.7]," ",[0,5.8]," ",[0,26.5]," ",[0,0.5]," rgba(105, 176, 242, 0.33); box-shadow: ",[0,1.7]," ",[0,5.8]," ",[0,26.5]," ",[0,0.5]," rgba(105, 176, 242, 0.33); }\n.",[1],"result-result-title { display: block; font-size: ",[0,30],"; font-weight: 600; color: #69b0f2; margin: 0 auto; text-align: center; }\n.",[1],"record { font-size: ",[0,28],"; }\n@charset \x22UTF-8\x22;\n.",[1],"input-section { background-color: #f6f6f6; position: fixed; bottom: 0; width: 100%; }\n.",[1],"input-bar { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; -webkit-justify-content: space-around; -ms-flex-pack: distribute; justify-content: space-around; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; width: ",[0,750],"; height: ",[0,105],"; border-top: solid ",[0,1]," #e8e8e8; border-bottom: solid ",[0,1]," #e8e8e8; }\n.",[1],"input-bar .",[1],"input-item { -webkit-box-sizing: border-box; box-sizing: border-box; -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; height: ",[0,70],"; padding: 0 ",[0,20],"; font-size: ",[0,28],"; line-height: ",[0,68],"; background-color: #ffffff; border-radius: ",[0,12],"; border: solid ",[0,1]," #dbdbdb; color: #555555; margin: 0 ",[0,10],"; }\n.",[1],"input-bar .",[1],"voice-item { width: ",[0,518],"; line-height: ",[0,70],"; text-align: center; background-color: #fff; border-radius: ",[0,12],"; }\n.",[1],"input-bar .",[1],"message-type { height: ",[0,47],"; width: ",[0,64],"; margin: 0 ",[0,16],"; text-align: center; }\n.",[1],"input-bar .",[1],"message-type wx-image { height: 100%; width: ",[0,47],"; }\n.",[1],"input-bar .",[1],"message-type wx-image.",[1],"icon-voice { display: block; width: ",[0,32],"; margin: 0 auto; }\n.",[1],"input-bar .",[1],"icon-face, .",[1],"input-bar .",[1],"icon-more-tool { width: ",[0,52],"; height: ",[0,52],"; margin: 0 ",[0,16]," 0 ",[0,10],"; }\n.",[1],"tool-wrapper { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; height: ",[0,370],"; width: ",[0,750],"; padding-left: ",[0,35],"; padding-right: ",[0,35],"; -webkit-box-sizing: border-box; box-sizing: border-box; overflow: hidden; }\n.",[1],"tool-wrapper .",[1],"tool-item { text-align: center; margin: ",[0,30],"; margin-bottom: 0; }\n.",[1],"tool-wrapper .",[1],"tool-item .",[1],"tool-icon { width: ",[0,98],"; height: ",[0,98],"; border-radius: ",[0,8],"; }\n.",[1],"tool-wrapper .",[1],"tool-item .",[1],"tool-title { font-size: ",[0,24],"; line-height: 2em; color: #8f9297; }\n@charset \x22UTF-8\x22;\n.",[1],"item { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; padding: ",[0,20]," ",[0,22],"; }\n.",[1],"msg-header { -webkit-box-flex: 0; -webkit-flex: 0 0 ",[0,96],"; -ms-flex: 0 0 ",[0,96],"; flex: 0 0 ",[0,96],"; width: ",[0,96],"; height: ",[0,96],"; border-radius: 50%; overflow: hidden; }\n.",[1],"msg-wrapper { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; }\n.",[1],"msg-item { position: relative; margin: 0 ",[0,16],"; margin-top: ",[0,32],"; margin-bottom: ",[0,10],"; border-radius: ",[0,20],"; border-top-left-radius: 0; font-size: ",[0,30],"; -webkit-box-sizing: border-box; box-sizing: border-box; padding: ",[0,20],"; background-color: #fff; color: #555; word-break: break-all; }\n.",[1],"msg-item wx-image { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; max-width: ",[0,400],"; }\n.",[1],"msg-item .",[1],"msg-time { position: absolute; bottom: ",[0,-40],"; left: ",[0,15],"; width: ",[0,220],"; color: #795f5f; font-size: ",[0,20],"; }\n.",[1],"self { -webkit-box-orient: horizontal; -webkit-box-direction: reverse; -webkit-flex-direction: row-reverse; -ms-flex-direction: row-reverse; flex-direction: row-reverse; }\n.",[1],"self .",[1],"msg-item { border-top-right-radius: 0; border-top-left-radius: ",[0,20],"; background-color: #69b0f2; color: #fff; }\n.",[1],"self .",[1],"msg-item .",[1],"msg-time { left: auto; right: 0; text-align: right; }\n@charset \x22UTF-8\x22;\n.",[1],"uni-load-more { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; height: ",[0,80],"; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; }\n.",[1],"uni-load-more__text { font-size: ",[0,28],"; color: #999; }\n.",[1],"uni-load-more__img { height: 24px; width: 24px; margin-right: 10px; }\n.",[1],"uni-load-more__img \x3e wx-view { position: absolute; }\n.",[1],"uni-load-more__img \x3e wx-view wx-view { width: 6px; height: 2px; border-top-left-radius: 1px; border-bottom-left-radius: 1px; background: #999; position: absolute; opacity: 0.2; -webkit-transform-origin: 50%; -ms-transform-origin: 50%; transform-origin: 50%; -webkit-animation: load 1.56s ease infinite; animation: load 1.56s ease infinite; }\n.",[1],"uni-load-more__img \x3e wx-view wx-view:nth-child(1) { -webkit-transform: rotate(90deg); -ms-transform: rotate(90deg); transform: rotate(90deg); top: 2px; left: 9px; }\n.",[1],"uni-load-more__img \x3e wx-view wx-view:nth-child(2) { -webkit-transform: rotate(180deg); -ms-transform: rotate(180deg); transform: rotate(180deg); top: 11px; right: 0px; }\n.",[1],"uni-load-more__img \x3e wx-view wx-view:nth-child(3) { -webkit-transform: rotate(270deg); -ms-transform: rotate(270deg); transform: rotate(270deg); bottom: 2px; left: 9px; }\n.",[1],"uni-load-more__img \x3e wx-view wx-view:nth-child(4) { top: 11px; left: 0px; }\n.",[1],"load1, .",[1],"load2, .",[1],"load3 { height: 24px; width: 24px; }\n.",[1],"load2 { -webkit-transform: rotate(30deg); -ms-transform: rotate(30deg); transform: rotate(30deg); }\n.",[1],"load3 { -webkit-transform: rotate(60deg); -ms-transform: rotate(60deg); transform: rotate(60deg); }\n.",[1],"load1 wx-view:nth-child(1) { -webkit-animation-delay: 0s; animation-delay: 0s; }\n.",[1],"load2 wx-view:nth-child(1) { -webkit-animation-delay: 0.13s; animation-delay: 0.13s; }\n.",[1],"load3 wx-view:nth-child(1) { -webkit-animation-delay: 0.26s; animation-delay: 0.26s; }\n.",[1],"load1 wx-view:nth-child(2) { -webkit-animation-delay: 0.39s; animation-delay: 0.39s; }\n.",[1],"load2 wx-view:nth-child(2) { -webkit-animation-delay: 0.52s; animation-delay: 0.52s; }\n.",[1],"load3 wx-view:nth-child(2) { -webkit-animation-delay: 0.65s; animation-delay: 0.65s; }\n.",[1],"load1 wx-view:nth-child(3) { -webkit-animation-delay: 0.78s; animation-delay: 0.78s; }\n.",[1],"load2 wx-view:nth-child(3) { -webkit-animation-delay: 0.91s; animation-delay: 0.91s; }\n.",[1],"load3 wx-view:nth-child(3) { -webkit-animation-delay: 1.04s; animation-delay: 1.04s; }\n.",[1],"load1 wx-view:nth-child(4) { -webkit-animation-delay: 1.17s; animation-delay: 1.17s; }\n.",[1],"load2 wx-view:nth-child(4) { -webkit-animation-delay: 1.30s; animation-delay: 1.30s; }\n.",[1],"load3 wx-view:nth-child(4) { -webkit-animation-delay: 1.43s; animation-delay: 1.43s; }\n@-webkit-keyframes load { 0% { opacity: 1; }\n100% { opacity: 0.2; }\n}@charset \x22UTF-8\x22;\n.",[1],"search.",[1],"data-v-395fb914 { -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; }\n.",[1],"search .",[1],"search-wrapper.",[1],"data-v-395fb914 { background-color: #f1f1f1; width: ",[0,680],"; border-radius: ",[0,56],"; padding-right: ",[0,20],"; margin: ",[0,10]," 0; }\n.",[1],"search .",[1],"search-input.",[1],"data-v-395fb914 { font-size: ",[0,28],"; width: ",[0,590],"; padding: ",[0,16]," ",[0,32],"; }\n.",[1],"search .",[1],"icon-search.",[1],"data-v-395fb914 { width: ",[0,32],"; height: ",[0,32],"; }\n@charset \x22UTF-8\x22;\n.",[1],"uni-tab-list .",[1],"active { color: #69b0f2; }\n.",[1],"uni-tab-list .",[1],"active wx-text { border-bottom: ",[0,4]," solid #69b0f2; line-height: 1em; padding: 0.5em; display: inline-block; }\n.",[1],"uni-tab-list { white-space: nowrap; line-height: ",[0,100],"; height: ",[0,100],"; }\n.",[1],"uni-tab-item { font-size: ",[0,30],"; -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; display: block; text-align: center; color: #505050; font-weight: bold; }\n.",[1],"unitab { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; width: 100%; }\n.",[1],"my-tabs { height: ",[0,88],"; font-size: ",[0,28],"; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; -webkit-justify-content: space-around; -ms-flex-pack: distribute; justify-content: space-around; -webkit-box-sizing: border-box; box-sizing: border-box; min-width: 100%; overflow-x: auto; }\n.",[1],"my-tabs .",[1],"tab-item { line-height: ",[0,48],"; padding: ",[0,20],"; min-width: ",[0,100],"; text-align: center; }\n.",[1],"my-tabs .",[1],"tab-item.",[1],"active { position: relative; color: #3682FF; }\n.",[1],"my-tabs .",[1],"tab-item.",[1],"active::after { content: \x22\x22; position: absolute; bottom: 0; left: 50%; -webkit-transform: translateX(-50%); -ms-transform: translateX(-50%); transform: translateX(-50%); width: 100%; border-bottom: ",[0,4]," solid #3682FF; }\n.",[1],"my-tabs.",[1],"space-between { -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; }\n@charset \x22UTF-8\x22;\n.",[1],"uni-page-list { height: 100%; }\n.",[1],"center { background: #fff; border-radius: ",[0,8],"; -webkit-box-sizing: border-box; box-sizing: border-box; }\n.",[1],"uni-tab-bar-loading { padding: ",[0,20]," 0; }\n@charset \x22UTF-8\x22;\n.",[1],"robot { position: fixed; width: ",[0,170],"; height: ",[0,170],"; background: url(https://mini-program-1251138298.cos.ap-guangzhou.myqcloud.com/app/img/icon/robot-qa-ai.png) no-repeat; background-size: contain; right: ",[0,50],"; bottom: ",[0,100],"; }\n.",[1],"toIM { background-image: url(https://mini-program-1251138298.cos.ap-guangzhou.myqcloud.com/app/img/icon/im-qa.png); }\n.",[1],"toConsultIM { background-image: url(https://mini-program-1251138298.cos.ap-guangzhou.myqcloud.com/app/img/icon/icon-consult-im.png); }\n",],];  
function makeup(file, opt) {  
var _n = typeof(file) === "number";  
if ( _n && Ca.hasOwnProperty(file)) return "";  
if ( _n ) Ca[file] = 1;  
var ex = _n ? _C[file] : file;  
var res="";  
for (var i = ex.length - 1; i >= 0; i--) {  
var content = ex[i];  
if (typeof(content) === "object")  
{  
var op = content[0];  
if ( op == 0 )  
res = transformRPX(content[1], opt.deviceWidth) + "px" + res;  
else if ( op == 1)  
res = opt.suffix + res;  
else if ( op == 2 )   
res = makeup(content[1], opt) + res;  
}  
else  
res = content + res  
}  
return res;  
}  
var rewritor = function(suffix, opt, style){  
opt = opt || {};  
suffix = suffix || "";  
opt.suffix = suffix;  
if ( opt.allowIllegalSelector != undefined && _xcInvalid != undefined )  
{  
if ( opt.allowIllegalSelector )  
console.warn( "For developer:" + _xcInvalid );  
else  
{  
console.error( _xcInvalid + "This wxss file is ignored." );  
return;  
}  
}  
Ca={};  
css = makeup(file, opt);  
if ( !style )   
{  
var head = document.head || document.getElementsByTagName('head')[0];  
window.__rpxRecalculatingFuncs__ = window.__rpxRecalculatingFuncs__ || [];  
style = document.createElement('style');  
style.type = 'text/css';  
style.setAttribute( "wxss:path", info.path );  
head.appendChild(style);  
window.__rpxRecalculatingFuncs__.push(function(size){  
opt.deviceWidth = size.width;  
rewritor(suffix, opt, style);  
});  
}  
if (style.styleSheet) {  
style.styleSheet.cssText = css;  
} else {  
if ( style.childNodes.length == 0 )  
style.appendChild(document.createTextNode(css));  
else   
style.childNodes[0].nodeValue = css;  
}  
}  
return rewritor;  
}  
setCssToHead([])();setCssToHead([[2,0]],"Some selectors are not allowed in component wxss, including tag name selectors, ID selectors, and attribute selectors.(./app.wxss:46:1)",{path:"./app.wxss"})();  

__wxAppCode__['app.wxss']=setCssToHead([[2,0]],"Some selectors are not allowed in component wxss, including tag name selectors, ID selectors, and attribute selectors.(./app.wxss:46:1)",{path:"./app.wxss"});      
__wxAppCode__['app.wxml']=$gwx('./app.wxml');  

__wxAppCode__['pages-consult/chat-list/chat-list.wxss']=setCssToHead(["@charset \x22UTF-8\x22;\nbody { background-color: #f1f1f1; }\n.",[1],"chat-list-wrapper .",[1],"chat-list { overflow-x: hidden; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; }\n.",[1],"chat-list-wrapper .",[1],"chat-list .",[1],"chat-item { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; width: 80%; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; background-color: #ffffff; border-radius: ",[0,12],"; padding: ",[0,30]," ",[0,42]," ",[0,34]," ",[0,34],"; margin-top: ",[0,20],"; }\n.",[1],"chat-list-wrapper .",[1],"chat-list .",[1],"chat-item .",[1],"c-left \x3e wx-image { height: ",[0,146],"; width: ",[0,146],"; border-radius: 50%; margin-left: ",[0,30],"; margin-right: ",[0,24],"; }\n.",[1],"chat-list-wrapper .",[1],"chat-list .",[1],"chat-item .",[1],"c-right \x3e wx-image { height: ",[0,48],"; width: ",[0,28],"; }\n.",[1],"chat-list-wrapper .",[1],"chat-list .",[1],"chat-item .",[1],"c-center { width: ",[0,430],"; height: 100%; -webkit-box-align: start; -webkit-align-items: flex-start; -ms-flex-align: start; align-items: flex-start; -webkit-box-pack: start; -webkit-justify-content: flex-start; -ms-flex-pack: start; justify-content: flex-start; }\n.",[1],"chat-list-wrapper .",[1],"chat-list .",[1],"chat-item .",[1],"c-center .",[1],"name-line { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; margin-bottom: ",[0,10],"; overflow: hidden; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; }\n.",[1],"chat-list-wrapper .",[1],"chat-list .",[1],"chat-item .",[1],"c-center .",[1],"name { display: block; font-size: ",[0,32],"; font-weight: 600; margin-right: 0.5em; }\n.",[1],"chat-list-wrapper .",[1],"chat-list .",[1],"chat-item .",[1],"c-center .",[1],"time, .",[1],"chat-list-wrapper .",[1],"chat-list .",[1],"chat-item .",[1],"c-center .",[1],"last-msg { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-align-content: center; -ms-flex-line-pack: center; align-content: center; font-size: ",[0,24],"; line-height: ",[0,32],"; max-width: ",[0,400],"; height: ",[0,32],"; margin-bottom: ",[0,20],"; -webkit-box-flex: 0; -webkit-flex-grow: 0; -ms-flex-positive: 0; flex-grow: 0; border-radius: 1.6em; overflow: hidden; -o-text-overflow: ellipsis; text-overflow: ellipsis; white-space: nowrap; font-size: ",[0,30],"; }\n.",[1],"chat-list-wrapper .",[1],"chat-list .",[1],"chat-item .",[1],"c-center .",[1],"last-msg { color: #bbb; }\n.",[1],"chat-list-wrapper .",[1],"chat-list .",[1],"chat-item .",[1],"c-center .",[1],"tag-blue { background-color: #58b9fe; color: #fff; }\n.",[1],"chat-list-wrapper .",[1],"chat-list .",[1],"chat-item .",[1],"c-center .",[1],"remark { font-size: ",[0,24],"; width: 20em; margin-bottom: ",[0,10],"; -o-text-overflow: ellipsis; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }\n.",[1],"chat-list-wrapper .",[1],"chat-list .",[1],"chat-item .",[1],"c-center .",[1],"title { font-size: ",[0,24],"; }\n.",[1],"chat-list-wrapper .",[1],"chat-list .",[1],"chat-item .",[1],"c-center .",[1],"ct { font-size: ",[0,24],"; margin-right: 1em; margin-left: 0.25em; }\n.",[1],"chat-list-wrapper .",[1],"noData { margin: ",[0,40]," auto; text-align: center; color: #aaa; }\n",],undefined,{path:"./pages-consult/chat-list/chat-list.wxss"});      
__wxAppCode__['pages-consult/chat-list/chat-list.wxml']=$gwx('./pages-consult/chat-list/chat-list.wxml');

看了这个代码,这个$gwx竟然没有赋值?

2019-08-11 22:03 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复