You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1756 lines
64 KiB
1756 lines
64 KiB
var __pageFrameStartTime__ = Date.now(); |
|
var __webviewId__; |
|
var __wxAppCode__ = {}; |
|
var __WXML_GLOBAL__ = { |
|
entrys: {}, |
|
defines: {}, |
|
modules: {}, |
|
ops: [], |
|
wxs_nf_init: undefined, |
|
total_ops: 0 |
|
}; |
|
var $gwx; |
|
|
|
/*v0.5vv_20190312_syb_scopedata*/window.__wcc_version__='v0.5vv_20190312_syb_scopedata';window.__wcc_version_info__={"customComponents":true,"fixZeroRpx":true,"propValueDeepCopy":false}; |
|
var $gwxc |
|
var $gaic={} |
|
$gwx=function(path,global){ |
|
if(typeof global === 'undefined') global={};if(typeof __WXML_GLOBAL__ === 'undefined') {__WXML_GLOBAL__={}; |
|
}__WXML_GLOBAL__.modules = __WXML_GLOBAL__.modules || {}; |
|
function _(a,b){if(typeof(b)!='undefined')a.children.push(b);} |
|
function _v(k){if(typeof(k)!='undefined')return {tag:'virtual','wxKey':k,children:[]};return {tag:'virtual',children:[]};} |
|
function _n(tag){$gwxc++;if($gwxc>=16000){throw 'Dom limit exceeded, please check if there\'s any mistake you\'ve made.'};return {tag:'wx-'+tag,attr:{},children:[],n:[],raw:{},generics:{}}} |
|
function _p(a,b){b&&a.properities.push(b);} |
|
function _s(scope,env,key){return typeof(scope[key])!='undefined'?scope[key]:env[key]} |
|
function _wp(m){console.warn("WXMLRT_$gwx:"+m)} |
|
function _wl(tname,prefix){_wp(prefix+':-1:-1:-1: Template `' + tname + '` is being called recursively, will be stop.')} |
|
$gwn=console.warn; |
|
$gwl=console.log; |
|
function $gwh() |
|
{ |
|
function x() |
|
{ |
|
} |
|
x.prototype = |
|
{ |
|
hn: function( obj, all ) |
|
{ |
|
if( typeof(obj) == 'object' ) |
|
{ |
|
var cnt=0; |
|
var any1=false,any2=false; |
|
for(var x in obj) |
|
{ |
|
any1=any1|x==='__value__'; |
|
any2=any2|x==='__wxspec__'; |
|
cnt++; |
|
if(cnt>2)break; |
|
} |
|
return cnt == 2 && any1 && any2 && ( all || obj.__wxspec__ !== 'm' || this.hn(obj.__value__) === 'h' ) ? "h" : "n"; |
|
} |
|
return "n"; |
|
}, |
|
nh: function( obj, special ) |
|
{ |
|
return { __value__: obj, __wxspec__: special ? special : true } |
|
}, |
|
rv: function( obj ) |
|
{ |
|
return this.hn(obj,true)==='n'?obj:this.rv(obj.__value__); |
|
}, |
|
hm: function( obj ) |
|
{ |
|
if( typeof(obj) == 'object' ) |
|
{ |
|
var cnt=0; |
|
var any1=false,any2=false; |
|
for(var x in obj) |
|
{ |
|
any1=any1|x==='__value__'; |
|
any2=any2|x==='__wxspec__'; |
|
cnt++; |
|
if(cnt>2)break; |
|
} |
|
return cnt == 2 && any1 && any2 && (obj.__wxspec__ === 'm' || this.hm(obj.__value__) ); |
|
} |
|
return false; |
|
} |
|
} |
|
return new x; |
|
} |
|
wh=$gwh(); |
|
function $gstack(s){ |
|
var tmp=s.split('\n '+' '+' '+' '); |
|
for(var i=0;i<tmp.length;++i){ |
|
if(0==i) continue; |
|
if(")"===tmp[i][tmp[i].length-1]) |
|
tmp[i]=tmp[i].replace(/\s\(.*\)$/,""); |
|
else |
|
tmp[i]="at anonymous function"; |
|
} |
|
return tmp.join('\n '+' '+' '+' '); |
|
} |
|
function $gwrt( should_pass_type_info ) |
|
{ |
|
function ArithmeticEv( ops, e, s, g, o ) |
|
{ |
|
var _f = false; |
|
var rop = ops[0][1]; |
|
var _a,_b,_c,_d, _aa, _bb; |
|
switch( rop ) |
|
{ |
|
case '?:': |
|
_a = rev( ops[1], e, s, g, o, _f ); |
|
_c = should_pass_type_info && ( wh.hn(_a) === 'h' ); |
|
_d = wh.rv( _a ) ? rev( ops[2], e, s, g, o, _f ) : rev( ops[3], e, s, g, o, _f ); |
|
_d = _c && wh.hn( _d ) === 'n' ? wh.nh( _d, 'c' ) : _d; |
|
return _d; |
|
break; |
|
case '&&': |
|
_a = rev( ops[1], e, s, g, o, _f ); |
|
_c = should_pass_type_info && ( wh.hn(_a) === 'h' ); |
|
_d = wh.rv( _a ) ? rev( ops[2], e, s, g, o, _f ) : wh.rv( _a ); |
|
_d = _c && wh.hn( _d ) === 'n' ? wh.nh( _d, 'c' ) : _d; |
|
return _d; |
|
break; |
|
case '||': |
|
_a = rev( ops[1], e, s, g, o, _f ); |
|
_c = should_pass_type_info && ( wh.hn(_a) === 'h' ); |
|
_d = wh.rv( _a ) ? wh.rv(_a) : rev( ops[2], e, s, g, o, _f ); |
|
_d = _c && wh.hn( _d ) === 'n' ? wh.nh( _d, 'c' ) : _d; |
|
return _d; |
|
break; |
|
case '+': |
|
case '*': |
|
case '/': |
|
case '%': |
|
case '|': |
|
case '^': |
|
case '&': |
|
case '===': |
|
case '==': |
|
case '!=': |
|
case '!==': |
|
case '>=': |
|
case '<=': |
|
case '>': |
|
case '<': |
|
case '<<': |
|
case '>>': |
|
_a = rev( ops[1], e, s, g, o, _f ); |
|
_b = rev( ops[2], e, s, g, o, _f ); |
|
_c = should_pass_type_info && (wh.hn( _a ) === 'h' || wh.hn( _b ) === 'h'); |
|
switch( rop ) |
|
{ |
|
case '+': |
|
_d = wh.rv( _a ) + wh.rv( _b ); |
|
break; |
|
case '*': |
|
_d = wh.rv( _a ) * wh.rv( _b ); |
|
break; |
|
case '/': |
|
_d = wh.rv( _a ) / wh.rv( _b ); |
|
break; |
|
case '%': |
|
_d = wh.rv( _a ) % wh.rv( _b ); |
|
break; |
|
case '|': |
|
_d = wh.rv( _a ) | wh.rv( _b ); |
|
break; |
|
case '^': |
|
_d = wh.rv( _a ) ^ wh.rv( _b ); |
|
break; |
|
case '&': |
|
_d = wh.rv( _a ) & wh.rv( _b ); |
|
break; |
|
case '===': |
|
_d = wh.rv( _a ) === wh.rv( _b ); |
|
break; |
|
case '==': |
|
_d = wh.rv( _a ) == wh.rv( _b ); |
|
break; |
|
case '!=': |
|
_d = wh.rv( _a ) != wh.rv( _b ); |
|
break; |
|
case '!==': |
|
_d = wh.rv( _a ) !== wh.rv( _b ); |
|
break; |
|
case '>=': |
|
_d = wh.rv( _a ) >= wh.rv( _b ); |
|
break; |
|
case '<=': |
|
_d = wh.rv( _a ) <= wh.rv( _b ); |
|
break; |
|
case '>': |
|
_d = wh.rv( _a ) > wh.rv( _b ); |
|
break; |
|
case '<': |
|
_d = wh.rv( _a ) < wh.rv( _b ); |
|
break; |
|
case '<<': |
|
_d = wh.rv( _a ) << wh.rv( _b ); |
|
break; |
|
case '>>': |
|
_d = wh.rv( _a ) >> wh.rv( _b ); |
|
break; |
|
default: |
|
break; |
|
} |
|
return _c ? wh.nh( _d, "c" ) : _d; |
|
break; |
|
case '-': |
|
_a = ops.length === 3 ? rev( ops[1], e, s, g, o, _f ) : 0; |
|
_b = ops.length === 3 ? rev( ops[2], e, s, g, o, _f ) : rev( ops[1], e, s, g, o, _f ); |
|
_c = should_pass_type_info && (wh.hn( _a ) === 'h' || wh.hn( _b ) === 'h'); |
|
_d = _c ? wh.rv( _a ) - wh.rv( _b ) : _a - _b; |
|
return _c ? wh.nh( _d, "c" ) : _d; |
|
break; |
|
case '!': |
|
_a = rev( ops[1], e, s, g, o, _f ); |
|
_c = should_pass_type_info && (wh.hn( _a ) == 'h'); |
|
_d = !wh.rv(_a); |
|
return _c ? wh.nh( _d, "c" ) : _d; |
|
case '~': |
|
_a = rev( ops[1], e, s, g, o, _f ); |
|
_c = should_pass_type_info && (wh.hn( _a ) == 'h'); |
|
_d = ~wh.rv(_a); |
|
return _c ? wh.nh( _d, "c" ) : _d; |
|
default: |
|
$gwn('unrecognized op' + rop ); |
|
} |
|
} |
|
function rev( ops, e, s, g, o, newap ) |
|
{ |
|
var op = ops[0]; |
|
var _f = false; |
|
if ( typeof newap !== "undefined" ) o.ap = newap; |
|
if( typeof(op)==='object' ) |
|
{ |
|
var vop=op[0]; |
|
var _a, _aa, _b, _bb, _c, _d, _s, _e, _ta, _tb, _td; |
|
switch(vop) |
|
{ |
|
case 2: |
|
return ArithmeticEv(ops,e,s,g,o); |
|
break; |
|
case 4: |
|
return rev( ops[1], e, s, g, o, _f ); |
|
break; |
|
case 5: |
|
switch( ops.length ) |
|
{ |
|
case 2: |
|
_a = rev( ops[1],e,s,g,o,_f ); |
|
return should_pass_type_info?[_a]:[wh.rv(_a)]; |
|
return [_a]; |
|
break; |
|
case 1: |
|
return []; |
|
break; |
|
default: |
|
_a = rev( ops[1],e,s,g,o,_f ); |
|
_b = rev( ops[2],e,s,g,o,_f ); |
|
_a.push( |
|
should_pass_type_info ? |
|
_b : |
|
wh.rv( _b ) |
|
); |
|
return _a; |
|
break; |
|
} |
|
break; |
|
case 6: |
|
_a = rev(ops[1],e,s,g,o); |
|
var ap = o.ap; |
|
_ta = wh.hn(_a)==='h'; |
|
_aa = _ta ? wh.rv(_a) : _a; |
|
o.is_affected |= _ta; |
|
if( should_pass_type_info ) |
|
{ |
|
if( _aa===null || typeof(_aa) === 'undefined' ) |
|
{ |
|
return _ta ? wh.nh(undefined, 'e') : undefined; |
|
} |
|
_b = rev(ops[2],e,s,g,o,_f); |
|
_tb = wh.hn(_b) === 'h'; |
|
_bb = _tb ? wh.rv(_b) : _b; |
|
o.ap = ap; |
|
o.is_affected |= _tb; |
|
if( _bb===null || typeof(_bb) === 'undefined' || |
|
_bb === "__proto__" || _bb === "prototype" || _bb === "caller" ) |
|
{ |
|
return (_ta || _tb) ? wh.nh(undefined, 'e') : undefined; |
|
} |
|
_d = _aa[_bb]; |
|
if ( typeof _d === 'function' && !ap ) _d = undefined; |
|
_td = wh.hn(_d)==='h'; |
|
o.is_affected |= _td; |
|
return (_ta || _tb) ? (_td ? _d : wh.nh(_d, 'e')) : _d; |
|
} |
|
else |
|
{ |
|
if( _aa===null || typeof(_aa) === 'undefined' ) |
|
{ |
|
return undefined; |
|
} |
|
_b = rev(ops[2],e,s,g,o,_f); |
|
_tb = wh.hn(_b) === 'h'; |
|
_bb = _tb ? wh.rv(_b) : _b; |
|
o.ap = ap; |
|
o.is_affected |= _tb; |
|
if( _bb===null || typeof(_bb) === 'undefined' || |
|
_bb === "__proto__" || _bb === "prototype" || _bb === "caller" ) |
|
{ |
|
return undefined; |
|
} |
|
_d = _aa[_bb]; |
|
if ( typeof _d === 'function' && !ap ) _d = undefined; |
|
_td = wh.hn(_d)==='h'; |
|
o.is_affected |= _td; |
|
return _td ? wh.rv(_d) : _d; |
|
} |
|
case 7: |
|
switch(ops[1][0]) |
|
{ |
|
case 11: |
|
o.is_affected |= wh.hn(g)==='h'; |
|
return g; |
|
case 3: |
|
_s = wh.rv( s ); |
|
_e = wh.rv( e ); |
|
_b = ops[1][1]; |
|
if (g && g.f && g.f.hasOwnProperty(_b) ) |
|
{ |
|
_a = g.f; |
|
o.ap = true; |
|
} |
|
else |
|
{ |
|
_a = _s && _s.hasOwnProperty(_b) ? |
|
s : (_e && _e.hasOwnProperty(_b) ? e : undefined ); |
|
} |
|
if( should_pass_type_info ) |
|
{ |
|
if( _a ) |
|
{ |
|
_ta = wh.hn(_a) === 'h'; |
|
_aa = _ta ? wh.rv( _a ) : _a; |
|
_d = _aa[_b]; |
|
_td = wh.hn(_d) === 'h'; |
|
o.is_affected |= _ta || _td; |
|
_d = _ta && !_td ? wh.nh(_d,'e') : _d; |
|
return _d; |
|
} |
|
} |
|
else |
|
{ |
|
if( _a ) |
|
{ |
|
_ta = wh.hn(_a) === 'h'; |
|
_aa = _ta ? wh.rv( _a ) : _a; |
|
_d = _aa[_b]; |
|
_td = wh.hn(_d) === 'h'; |
|
o.is_affected |= _ta || _td; |
|
return wh.rv(_d); |
|
} |
|
} |
|
return undefined; |
|
} |
|
break; |
|
case 8: |
|
_a = {}; |
|
_a[ops[1]] = rev(ops[2],e,s,g,o,_f); |
|
return _a; |
|
break; |
|
case 9: |
|
_a = rev(ops[1],e,s,g,o,_f); |
|
_b = rev(ops[2],e,s,g,o,_f); |
|
function merge( _a, _b, _ow ) |
|
{ |
|
var ka, _bbk; |
|
_ta = wh.hn(_a)==='h'; |
|
_tb = wh.hn(_b)==='h'; |
|
_aa = wh.rv(_a); |
|
_bb = wh.rv(_b); |
|
for(var k in _bb) |
|
{ |
|
if ( _ow || !_aa.hasOwnProperty(k) ) |
|
{ |
|
_aa[k] = should_pass_type_info ? (_tb ? wh.nh(_bb[k],'e') : _bb[k]) : wh.rv(_bb[k]); |
|
} |
|
} |
|
return _a; |
|
} |
|
var _c = _a |
|
var _ow = true |
|
if ( typeof(ops[1][0]) === "object" && ops[1][0][0] === 10 ) { |
|
_a = _b |
|
_b = _c |
|
_ow = false |
|
} |
|
if ( typeof(ops[1][0]) === "object" && ops[1][0][0] === 10 ) { |
|
var _r = {} |
|
return merge( merge( _r, _a, _ow ), _b, _ow ); |
|
} |
|
else |
|
return merge( _a, _b, _ow ); |
|
break; |
|
case 10: |
|
_a = rev(ops[1],e,s,g,o,_f); |
|
_a = should_pass_type_info ? _a : wh.rv( _a ); |
|
return _a ; |
|
break; |
|
case 12: |
|
var _r; |
|
_a = rev(ops[1],e,s,g,o); |
|
if ( !o.ap ) |
|
{ |
|
return should_pass_type_info && wh.hn(_a)==='h' ? wh.nh( _r, 'f' ) : _r; |
|
} |
|
var ap = o.ap; |
|
_b = rev(ops[2],e,s,g,o,_f); |
|
o.ap = ap; |
|
_ta = wh.hn(_a)==='h'; |
|
_tb = _ca(_b); |
|
_aa = wh.rv(_a); |
|
_bb = wh.rv(_b); snap_bb=$gdc(_bb,"nv_"); |
|
try{ |
|
_r = typeof _aa === "function" ? $gdc(_aa.apply(null, snap_bb)) : undefined; |
|
} catch (e){ |
|
e.message = e.message.replace(/nv_/g,""); |
|
e.stack = e.stack.substring(0,e.stack.indexOf("\n", e.stack.lastIndexOf("at nv_"))); |
|
e.stack = e.stack.replace(/\snv_/g," "); |
|
e.stack = $gstack(e.stack); |
|
if(g.debugInfo) |
|
{ |
|
e.stack += "\n "+" "+" "+" at "+g.debugInfo[0]+":"+g.debugInfo[1]+":"+g.debugInfo[2]; |
|
console.error(e); |
|
} |
|
_r = undefined; |
|
} |
|
return should_pass_type_info && (_tb || _ta) ? wh.nh( _r, 'f' ) : _r; |
|
} |
|
} |
|
else |
|
{ |
|
if( op === 3 || op === 1) return ops[1]; |
|
else if( op === 11 ) |
|
{ |
|
var _a=''; |
|
for( var i = 1 ; i < ops.length ; i++ ) |
|
{ |
|
var xp = wh.rv(rev(ops[i],e,s,g,o,_f)); |
|
_a += typeof(xp) === 'undefined' ? '' : xp; |
|
} |
|
return _a; |
|
} |
|
} |
|
} |
|
function wrapper( ops, e, s, g, o, newap ) |
|
{ |
|
if( ops[0] == '11182016' ) |
|
{ |
|
g.debugInfo = ops[2]; |
|
return rev( ops[1], e, s, g, o, newap ); |
|
} |
|
else |
|
{ |
|
g.debugInfo = null; |
|
return rev( ops, e, s, g, o, newap ); |
|
} |
|
} |
|
return wrapper; |
|
} |
|
gra=$gwrt(true); |
|
grb=$gwrt(false); |
|
function TestTest( expr, ops, e,s,g, expect_a, expect_b, expect_affected ) |
|
{ |
|
{ |
|
var o = {is_affected:false}; |
|
var a = gra( ops, e,s,g, o ); |
|
if( JSON.stringify(a) != JSON.stringify( expect_a ) |
|
|| o.is_affected != expect_affected ) |
|
{ |
|
console.warn( "A. " + expr + " get result " + JSON.stringify(a) + ", " + o.is_affected + ", but " + JSON.stringify( expect_a ) + ", " + expect_affected + " is expected" ); |
|
} |
|
} |
|
{ |
|
var o = {is_affected:false}; |
|
var a = grb( ops, e,s,g, o ); |
|
if( JSON.stringify(a) != JSON.stringify( expect_b ) |
|
|| o.is_affected != expect_affected ) |
|
{ |
|
console.warn( "B. " + expr + " get result " + JSON.stringify(a) + ", " + o.is_affected + ", but " + JSON.stringify( expect_b ) + ", " + expect_affected + " is expected" ); |
|
} |
|
} |
|
} |
|
|
|
function wfor( to_iter, func, env, _s, global, father, itemname, indexname, keyname ) |
|
{ |
|
var _n = wh.hn( to_iter ) === 'n'; |
|
var scope = wh.rv( _s ); |
|
var has_old_item = scope.hasOwnProperty(itemname); |
|
var has_old_index = scope.hasOwnProperty(indexname); |
|
var old_item = scope[itemname]; |
|
var old_index = scope[indexname]; |
|
var full = Object.prototype.toString.call(wh.rv(to_iter)); |
|
var type = full[8]; |
|
if( type === 'N' && full[10] === 'l' ) type = 'X'; |
|
var _y; |
|
if( _n ) |
|
{ |
|
if( type === 'A' ) |
|
{ |
|
var r_iter_item; |
|
for( var i = 0 ; i < to_iter.length ; i++ ) |
|
{ |
|
scope[itemname] = to_iter[i]; |
|
scope[indexname] = _n ? i : wh.nh(i, 'h'); |
|
r_iter_item = wh.rv(to_iter[i]); |
|
var key = keyname && r_iter_item ? (keyname==="*this" ? r_iter_item : wh.rv(r_iter_item[keyname])) : undefined; |
|
_y = _v(key); |
|
_(father,_y); |
|
func( env, scope, _y, global ); |
|
} |
|
} |
|
else if( type === 'O' ) |
|
{ |
|
var i = 0; |
|
var r_iter_item; |
|
for( var k in to_iter ) |
|
{ |
|
scope[itemname] = to_iter[k]; |
|
scope[indexname] = _n ? k : wh.nh(k, 'h'); |
|
r_iter_item = wh.rv(to_iter[k]); |
|
var key = keyname && r_iter_item ? (keyname==="*this" ? r_iter_item : wh.rv(r_iter_item[keyname])) : undefined; |
|
_y = _v(key); |
|
_(father,_y); |
|
func( env,scope,_y,global ); |
|
i++; |
|
} |
|
} |
|
else if( type === 'S' ) |
|
{ |
|
for( var i = 0 ; i < to_iter.length ; i++ ) |
|
{ |
|
scope[itemname] = to_iter[i]; |
|
scope[indexname] = _n ? i : wh.nh(i, 'h'); |
|
_y = _v( to_iter[i] + i ); |
|
_(father,_y); |
|
func( env,scope,_y,global ); |
|
} |
|
} |
|
else if( type === 'N' ) |
|
{ |
|
for( var i = 0 ; i < to_iter ; i++ ) |
|
{ |
|
scope[itemname] = i; |
|
scope[indexname] = _n ? i : wh.nh(i, 'h'); |
|
_y = _v( i ); |
|
_(father,_y); |
|
func(env,scope,_y,global); |
|
} |
|
} |
|
else |
|
{ |
|
} |
|
} |
|
else |
|
{ |
|
var r_to_iter = wh.rv(to_iter); |
|
var r_iter_item, iter_item; |
|
if( type === 'A' ) |
|
{ |
|
for( var i = 0 ; i < r_to_iter.length ; i++ ) |
|
{ |
|
iter_item = r_to_iter[i]; |
|
iter_item = wh.hn(iter_item)==='n' ? wh.nh(iter_item,'h') : iter_item; |
|
r_iter_item = wh.rv( iter_item ); |
|
scope[itemname] = iter_item |
|
scope[indexname] = _n ? i : wh.nh(i, 'h'); |
|
var key = keyname && r_iter_item ? (keyname==="*this" ? r_iter_item : wh.rv(r_iter_item[keyname])) : undefined; |
|
_y = _v(key); |
|
_(father,_y); |
|
func( env, scope, _y, global ); |
|
} |
|
} |
|
else if( type === 'O' ) |
|
{ |
|
var i=0; |
|
for( var k in r_to_iter ) |
|
{ |
|
iter_item = r_to_iter[k]; |
|
iter_item = wh.hn(iter_item)==='n'? wh.nh(iter_item,'h') : iter_item; |
|
r_iter_item = wh.rv( iter_item ); |
|
scope[itemname] = iter_item; |
|
scope[indexname] = _n ? k : wh.nh(k, 'h'); |
|
var key = keyname && r_iter_item ? (keyname==="*this" ? r_iter_item : wh.rv(r_iter_item[keyname])) : undefined; |
|
_y=_v(key); |
|
_(father,_y); |
|
func( env, scope, _y, global ); |
|
i++ |
|
} |
|
} |
|
else if( type === 'S' ) |
|
{ |
|
for( var i = 0 ; i < r_to_iter.length ; i++ ) |
|
{ |
|
iter_item = wh.nh(r_to_iter[i],'h'); |
|
scope[itemname] = iter_item; |
|
scope[indexname] = _n ? i : wh.nh(i, 'h'); |
|
_y = _v( to_iter[i] + i ); |
|
_(father,_y); |
|
func( env, scope, _y, global ); |
|
} |
|
} |
|
else if( type === 'N' ) |
|
{ |
|
for( var i = 0 ; i < r_to_iter ; i++ ) |
|
{ |
|
iter_item = wh.nh(i,'h'); |
|
scope[itemname] = iter_item; |
|
scope[indexname]= _n ? i : wh.nh(i,'h'); |
|
_y = _v( i ); |
|
_(father,_y); |
|
func(env,scope,_y,global); |
|
} |
|
} |
|
else |
|
{ |
|
} |
|
} |
|
if(has_old_item) |
|
{ |
|
scope[itemname]=old_item; |
|
} |
|
else |
|
{ |
|
delete scope[itemname]; |
|
} |
|
if(has_old_index) |
|
{ |
|
scope[indexname]=old_index; |
|
} |
|
else |
|
{ |
|
delete scope[indexname]; |
|
} |
|
} |
|
|
|
function _ca(o) |
|
{ |
|
if ( wh.hn(o) == 'h' ) return true; |
|
if ( typeof o !== "object" ) return false; |
|
for(var i in o){ |
|
if ( o.hasOwnProperty(i) ){ |
|
if (_ca(o[i])) return true; |
|
} |
|
} |
|
return false; |
|
} |
|
function _da( node, attrname, opindex, raw, o ) |
|
{ |
|
var isaffected = false; |
|
var value = $gdc( raw, "", 2 ); |
|
if ( o.ap && value && value.constructor===Function ) |
|
{ |
|
attrname = "$wxs:" + attrname; |
|
node.attr["$gdc"] = $gdc; |
|
} |
|
if ( o.is_affected || _ca(raw) ) |
|
{ |
|
node.n.push( attrname ); |
|
node.raw[attrname] = raw; |
|
} |
|
node.attr[attrname] = value; |
|
} |
|
function _r( node, attrname, opindex, env, scope, global ) |
|
{ |
|
global.opindex=opindex; |
|
var o = {}, _env; |
|
var a = grb( z[opindex], env, scope, global, o ); |
|
_da( node, attrname, opindex, a, o ); |
|
} |
|
function _rz( z, node, attrname, opindex, env, scope, global ) |
|
{ |
|
global.opindex=opindex; |
|
var o = {}, _env; |
|
var a = grb( z[opindex], env, scope, global, o ); |
|
_da( node, attrname, opindex, a, o ); |
|
} |
|
function _o( opindex, env, scope, global ) |
|
{ |
|
global.opindex=opindex; |
|
var nothing = {}; |
|
var r = grb( z[opindex], env, scope, global, nothing ); |
|
return (r&&r.constructor===Function) ? undefined : r; |
|
} |
|
function _oz( z, opindex, env, scope, global ) |
|
{ |
|
global.opindex=opindex; |
|
var nothing = {}; |
|
var r = grb( z[opindex], env, scope, global, nothing ); |
|
return (r&&r.constructor===Function) ? undefined : r; |
|
} |
|
function _1( opindex, env, scope, global, o ) |
|
{ |
|
var o = o || {}; |
|
global.opindex=opindex; |
|
return gra( z[opindex], env, scope, global, o ); |
|
} |
|
function _1z( z, opindex, env, scope, global, o ) |
|
{ |
|
var o = o || {}; |
|
global.opindex=opindex; |
|
return gra( z[opindex], env, scope, global, o ); |
|
} |
|
function _2( opindex, func, env, scope, global, father, itemname, indexname, keyname ) |
|
{ |
|
var o = {}; |
|
var to_iter = _1( opindex, env, scope, global ); |
|
wfor( to_iter, func, env, scope, global, father, itemname, indexname, keyname ); |
|
} |
|
function _2z( z, opindex, func, env, scope, global, father, itemname, indexname, keyname ) |
|
{ |
|
var o = {}; |
|
var to_iter = _1z( z, opindex, env, scope, global ); |
|
wfor( to_iter, func, env, scope, global, father, itemname, indexname, keyname ); |
|
} |
|
|
|
|
|
function _m(tag,attrs,generics,env,scope,global) |
|
{ |
|
var tmp=_n(tag); |
|
var base=0; |
|
for(var i = 0 ; i < attrs.length ; i+=2 ) |
|
{ |
|
if(base+attrs[i+1]<0) |
|
{ |
|
tmp.attr[attrs[i]]=true; |
|
} |
|
else |
|
{ |
|
_r(tmp,attrs[i],base+attrs[i+1],env,scope,global); |
|
if(base===0)base=attrs[i+1]; |
|
} |
|
} |
|
for(var i=0;i<generics.length;i+=2) |
|
{ |
|
if(base+generics[i+1]<0) |
|
{ |
|
tmp.generics[generics[i]]=""; |
|
} |
|
else |
|
{ |
|
var $t=grb(z[base+generics[i+1]],env,scope,global); |
|
if ($t!="") $t="wx-"+$t; |
|
tmp.generics[generics[i]]=$t; |
|
if(base===0)base=generics[i+1]; |
|
} |
|
} |
|
return tmp; |
|
} |
|
function _mz(z,tag,attrs,generics,env,scope,global) |
|
{ |
|
var tmp=_n(tag); |
|
var base=0; |
|
for(var i = 0 ; i < attrs.length ; i+=2 ) |
|
{ |
|
if(base+attrs[i+1]<0) |
|
{ |
|
tmp.attr[attrs[i]]=true; |
|
} |
|
else |
|
{ |
|
_rz(z, tmp,attrs[i],base+attrs[i+1],env,scope,global); |
|
if(base===0)base=attrs[i+1]; |
|
} |
|
} |
|
for(var i=0;i<generics.length;i+=2) |
|
{ |
|
if(base+generics[i+1]<0) |
|
{ |
|
tmp.generics[generics[i]]=""; |
|
} |
|
else |
|
{ |
|
var $t=grb(z[base+generics[i+1]],env,scope,global); |
|
if ($t!="") $t="wx-"+$t; |
|
tmp.generics[generics[i]]=$t; |
|
if(base===0)base=generics[i+1]; |
|
} |
|
} |
|
return tmp; |
|
} |
|
|
|
var nf_init=function(){ |
|
if(typeof __WXML_GLOBAL__==="undefined"||undefined===__WXML_GLOBAL__.wxs_nf_init){ |
|
nf_init_Object();nf_init_Function();nf_init_Array();nf_init_String();nf_init_Boolean();nf_init_Number();nf_init_Math();nf_init_Date();nf_init_RegExp(); |
|
} |
|
if(typeof __WXML_GLOBAL__!=="undefined") __WXML_GLOBAL__.wxs_nf_init=true; |
|
}; |
|
var nf_init_Object=function(){ |
|
Object.defineProperty(Object.prototype,"nv_constructor",{writable:true,value:"Object"}) |
|
Object.defineProperty(Object.prototype,"nv_toString",{writable:true,value:function(){return "[object Object]"}}) |
|
} |
|
var nf_init_Function=function(){ |
|
Object.defineProperty(Function.prototype,"nv_constructor",{writable:true,value:"Function"}) |
|
Object.defineProperty(Function.prototype,"nv_length",{get:function(){return this.length;},set:function(){}}); |
|
Object.defineProperty(Function.prototype,"nv_toString",{writable:true,value:function(){return "[function Function]"}}) |
|
} |
|
var nf_init_Array=function(){ |
|
Object.defineProperty(Array.prototype,"nv_toString",{writable:true,value:function(){return this.nv_join();}}) |
|
Object.defineProperty(Array.prototype,"nv_join",{writable:true,value:function(s){ |
|
s=undefined==s?',':s; |
|
var r=""; |
|
for(var i=0;i<this.length;++i){ |
|
if(0!=i) r+=s; |
|
if(null==this[i]||undefined==this[i]) r+=''; |
|
else if(typeof this[i]=='function') r+=this[i].nv_toString(); |
|
else if(typeof this[i]=='object'&&this[i].nv_constructor==="Array") r+=this[i].nv_join(); |
|
else r+=this[i].toString(); |
|
} |
|
return r; |
|
}}) |
|
Object.defineProperty(Array.prototype,"nv_constructor",{writable:true,value:"Array"}) |
|
Object.defineProperty(Array.prototype,"nv_concat",{writable:true,value:Array.prototype.concat}) |
|
Object.defineProperty(Array.prototype,"nv_pop",{writable:true,value:Array.prototype.pop}) |
|
Object.defineProperty(Array.prototype,"nv_push",{writable:true,value:Array.prototype.push}) |
|
Object.defineProperty(Array.prototype,"nv_reverse",{writable:true,value:Array.prototype.reverse}) |
|
Object.defineProperty(Array.prototype,"nv_shift",{writable:true,value:Array.prototype.shift}) |
|
Object.defineProperty(Array.prototype,"nv_slice",{writable:true,value:Array.prototype.slice}) |
|
Object.defineProperty(Array.prototype,"nv_sort",{writable:true,value:Array.prototype.sort}) |
|
Object.defineProperty(Array.prototype,"nv_splice",{writable:true,value:Array.prototype.splice}) |
|
Object.defineProperty(Array.prototype,"nv_unshift",{writable:true,value:Array.prototype.unshift}) |
|
Object.defineProperty(Array.prototype,"nv_indexOf",{writable:true,value:Array.prototype.indexOf}) |
|
Object.defineProperty(Array.prototype,"nv_lastIndexOf",{writable:true,value:Array.prototype.lastIndexOf}) |
|
Object.defineProperty(Array.prototype,"nv_every",{writable:true,value:Array.prototype.every}) |
|
Object.defineProperty(Array.prototype,"nv_some",{writable:true,value:Array.prototype.some}) |
|
Object.defineProperty(Array.prototype,"nv_forEach",{writable:true,value:Array.prototype.forEach}) |
|
Object.defineProperty(Array.prototype,"nv_map",{writable:true,value:Array.prototype.map}) |
|
Object.defineProperty(Array.prototype,"nv_filter",{writable:true,value:Array.prototype.filter}) |
|
Object.defineProperty(Array.prototype,"nv_reduce",{writable:true,value:Array.prototype.reduce}) |
|
Object.defineProperty(Array.prototype,"nv_reduceRight",{writable:true,value:Array.prototype.reduceRight}) |
|
Object.defineProperty(Array.prototype,"nv_length",{get:function(){return this.length;},set:function(value){this.length=value;}}); |
|
} |
|
var nf_init_String=function(){ |
|
Object.defineProperty(String.prototype,"nv_constructor",{writable:true,value:"String"}) |
|
Object.defineProperty(String.prototype,"nv_toString",{writable:true,value:String.prototype.toString}) |
|
Object.defineProperty(String.prototype,"nv_valueOf",{writable:true,value:String.prototype.valueOf}) |
|
Object.defineProperty(String.prototype,"nv_charAt",{writable:true,value:String.prototype.charAt}) |
|
Object.defineProperty(String.prototype,"nv_charCodeAt",{writable:true,value:String.prototype.charCodeAt}) |
|
Object.defineProperty(String.prototype,"nv_concat",{writable:true,value:String.prototype.concat}) |
|
Object.defineProperty(String.prototype,"nv_indexOf",{writable:true,value:String.prototype.indexOf}) |
|
Object.defineProperty(String.prototype,"nv_lastIndexOf",{writable:true,value:String.prototype.lastIndexOf}) |
|
Object.defineProperty(String.prototype,"nv_localeCompare",{writable:true,value:String.prototype.localeCompare}) |
|
Object.defineProperty(String.prototype,"nv_match",{writable:true,value:String.prototype.match}) |
|
Object.defineProperty(String.prototype,"nv_replace",{writable:true,value:String.prototype.replace}) |
|
Object.defineProperty(String.prototype,"nv_search",{writable:true,value:String.prototype.search}) |
|
Object.defineProperty(String.prototype,"nv_slice",{writable:true,value:String.prototype.slice}) |
|
Object.defineProperty(String.prototype,"nv_split",{writable:true,value:String.prototype.split}) |
|
Object.defineProperty(String.prototype,"nv_substring",{writable:true,value:String.prototype.substring}) |
|
Object.defineProperty(String.prototype,"nv_toLowerCase",{writable:true,value:String.prototype.toLowerCase}) |
|
Object.defineProperty(String.prototype,"nv_toLocaleLowerCase",{writable:true,value:String.prototype.toLocaleLowerCase}) |
|
Object.defineProperty(String.prototype,"nv_toUpperCase",{writable:true,value:String.prototype.toUpperCase}) |
|
Object.defineProperty(String.prototype,"nv_toLocaleUpperCase",{writable:true,value:String.prototype.toLocaleUpperCase}) |
|
Object.defineProperty(String.prototype,"nv_trim",{writable:true,value:String.prototype.trim}) |
|
Object.defineProperty(String.prototype,"nv_length",{get:function(){return this.length;},set:function(value){this.length=value;}}); |
|
} |
|
var nf_init_Boolean=function(){ |
|
Object.defineProperty(Boolean.prototype,"nv_constructor",{writable:true,value:"Boolean"}) |
|
Object.defineProperty(Boolean.prototype,"nv_toString",{writable:true,value:Boolean.prototype.toString}) |
|
Object.defineProperty(Boolean.prototype,"nv_valueOf",{writable:true,value:Boolean.prototype.valueOf}) |
|
} |
|
var nf_init_Number=function(){ |
|
Object.defineProperty(Number,"nv_MAX_VALUE",{writable:false,value:Number.MAX_VALUE}) |
|
Object.defineProperty(Number,"nv_MIN_VALUE",{writable:false,value:Number.MIN_VALUE}) |
|
Object.defineProperty(Number,"nv_NEGATIVE_INFINITY",{writable:false,value:Number.NEGATIVE_INFINITY}) |
|
Object.defineProperty(Number,"nv_POSITIVE_INFINITY",{writable:false,value:Number.POSITIVE_INFINITY}) |
|
Object.defineProperty(Number.prototype,"nv_constructor",{writable:true,value:"Number"}) |
|
Object.defineProperty(Number.prototype,"nv_toString",{writable:true,value:Number.prototype.toString}) |
|
Object.defineProperty(Number.prototype,"nv_toLocaleString",{writable:true,value:Number.prototype.toLocaleString}) |
|
Object.defineProperty(Number.prototype,"nv_valueOf",{writable:true,value:Number.prototype.valueOf}) |
|
Object.defineProperty(Number.prototype,"nv_toFixed",{writable:true,value:Number.prototype.toFixed}) |
|
Object.defineProperty(Number.prototype,"nv_toExponential",{writable:true,value:Number.prototype.toExponential}) |
|
Object.defineProperty(Number.prototype,"nv_toPrecision",{writable:true,value:Number.prototype.toPrecision}) |
|
} |
|
var nf_init_Math=function(){ |
|
Object.defineProperty(Math,"nv_E",{writable:false,value:Math.E}) |
|
Object.defineProperty(Math,"nv_LN10",{writable:false,value:Math.LN10}) |
|
Object.defineProperty(Math,"nv_LN2",{writable:false,value:Math.LN2}) |
|
Object.defineProperty(Math,"nv_LOG2E",{writable:false,value:Math.LOG2E}) |
|
Object.defineProperty(Math,"nv_LOG10E",{writable:false,value:Math.LOG10E}) |
|
Object.defineProperty(Math,"nv_PI",{writable:false,value:Math.PI}) |
|
Object.defineProperty(Math,"nv_SQRT1_2",{writable:false,value:Math.SQRT1_2}) |
|
Object.defineProperty(Math,"nv_SQRT2",{writable:false,value:Math.SQRT2}) |
|
Object.defineProperty(Math,"nv_abs",{writable:false,value:Math.abs}) |
|
Object.defineProperty(Math,"nv_acos",{writable:false,value:Math.acos}) |
|
Object.defineProperty(Math,"nv_asin",{writable:false,value:Math.asin}) |
|
Object.defineProperty(Math,"nv_atan",{writable:false,value:Math.atan}) |
|
Object.defineProperty(Math,"nv_atan2",{writable:false,value:Math.atan2}) |
|
Object.defineProperty(Math,"nv_ceil",{writable:false,value:Math.ceil}) |
|
Object.defineProperty(Math,"nv_cos",{writable:false,value:Math.cos}) |
|
Object.defineProperty(Math,"nv_exp",{writable:false,value:Math.exp}) |
|
Object.defineProperty(Math,"nv_floor",{writable:false,value:Math.floor}) |
|
Object.defineProperty(Math,"nv_log",{writable:false,value:Math.log}) |
|
Object.defineProperty(Math,"nv_max",{writable:false,value:Math.max}) |
|
Object.defineProperty(Math,"nv_min",{writable:false,value:Math.min}) |
|
Object.defineProperty(Math,"nv_pow",{writable:false,value:Math.pow}) |
|
Object.defineProperty(Math,"nv_random",{writable:false,value:Math.random}) |
|
Object.defineProperty(Math,"nv_round",{writable:false,value:Math.round}) |
|
Object.defineProperty(Math,"nv_sin",{writable:false,value:Math.sin}) |
|
Object.defineProperty(Math,"nv_sqrt",{writable:false,value:Math.sqrt}) |
|
Object.defineProperty(Math,"nv_tan",{writable:false,value:Math.tan}) |
|
} |
|
var nf_init_Date=function(){ |
|
Object.defineProperty(Date.prototype,"nv_constructor",{writable:true,value:"Date"}) |
|
Object.defineProperty(Date,"nv_parse",{writable:true,value:Date.parse}) |
|
Object.defineProperty(Date,"nv_UTC",{writable:true,value:Date.UTC}) |
|
Object.defineProperty(Date,"nv_now",{writable:true,value:Date.now}) |
|
Object.defineProperty(Date.prototype,"nv_toString",{writable:true,value:Date.prototype.toString}) |
|
Object.defineProperty(Date.prototype,"nv_toDateString",{writable:true,value:Date.prototype.toDateString}) |
|
Object.defineProperty(Date.prototype,"nv_toTimeString",{writable:true,value:Date.prototype.toTimeString}) |
|
Object.defineProperty(Date.prototype,"nv_toLocaleString",{writable:true,value:Date.prototype.toLocaleString}) |
|
Object.defineProperty(Date.prototype,"nv_toLocaleDateString",{writable:true,value:Date.prototype.toLocaleDateString}) |
|
Object.defineProperty(Date.prototype,"nv_toLocaleTimeString",{writable:true,value:Date.prototype.toLocaleTimeString}) |
|
Object.defineProperty(Date.prototype,"nv_valueOf",{writable:true,value:Date.prototype.valueOf}) |
|
Object.defineProperty(Date.prototype,"nv_getTime",{writable:true,value:Date.prototype.getTime}) |
|
Object.defineProperty(Date.prototype,"nv_getFullYear",{writable:true,value:Date.prototype.getFullYear}) |
|
Object.defineProperty(Date.prototype,"nv_getUTCFullYear",{writable:true,value:Date.prototype.getUTCFullYear}) |
|
Object.defineProperty(Date.prototype,"nv_getMonth",{writable:true,value:Date.prototype.getMonth}) |
|
Object.defineProperty(Date.prototype,"nv_getUTCMonth",{writable:true,value:Date.prototype.getUTCMonth}) |
|
Object.defineProperty(Date.prototype,"nv_getDate",{writable:true,value:Date.prototype.getDate}) |
|
Object.defineProperty(Date.prototype,"nv_getUTCDate",{writable:true,value:Date.prototype.getUTCDate}) |
|
Object.defineProperty(Date.prototype,"nv_getDay",{writable:true,value:Date.prototype.getDay}) |
|
Object.defineProperty(Date.prototype,"nv_getUTCDay",{writable:true,value:Date.prototype.getUTCDay}) |
|
Object.defineProperty(Date.prototype,"nv_getHours",{writable:true,value:Date.prototype.getHours}) |
|
Object.defineProperty(Date.prototype,"nv_getUTCHours",{writable:true,value:Date.prototype.getUTCHours}) |
|
Object.defineProperty(Date.prototype,"nv_getMinutes",{writable:true,value:Date.prototype.getMinutes}) |
|
Object.defineProperty(Date.prototype,"nv_getUTCMinutes",{writable:true,value:Date.prototype.getUTCMinutes}) |
|
Object.defineProperty(Date.prototype,"nv_getSeconds",{writable:true,value:Date.prototype.getSeconds}) |
|
Object.defineProperty(Date.prototype,"nv_getUTCSeconds",{writable:true,value:Date.prototype.getUTCSeconds}) |
|
Object.defineProperty(Date.prototype,"nv_getMilliseconds",{writable:true,value:Date.prototype.getMilliseconds}) |
|
Object.defineProperty(Date.prototype,"nv_getUTCMilliseconds",{writable:true,value:Date.prototype.getUTCMilliseconds}) |
|
Object.defineProperty(Date.prototype,"nv_getTimezoneOffset",{writable:true,value:Date.prototype.getTimezoneOffset}) |
|
Object.defineProperty(Date.prototype,"nv_setTime",{writable:true,value:Date.prototype.setTime}) |
|
Object.defineProperty(Date.prototype,"nv_setMilliseconds",{writable:true,value:Date.prototype.setMilliseconds}) |
|
Object.defineProperty(Date.prototype,"nv_setUTCMilliseconds",{writable:true,value:Date.prototype.setUTCMilliseconds}) |
|
Object.defineProperty(Date.prototype,"nv_setSeconds",{writable:true,value:Date.prototype.setSeconds}) |
|
Object.defineProperty(Date.prototype,"nv_setUTCSeconds",{writable:true,value:Date.prototype.setUTCSeconds}) |
|
Object.defineProperty(Date.prototype,"nv_setMinutes",{writable:true,value:Date.prototype.setMinutes}) |
|
Object.defineProperty(Date.prototype,"nv_setUTCMinutes",{writable:true,value:Date.prototype.setUTCMinutes}) |
|
Object.defineProperty(Date.prototype,"nv_setHours",{writable:true,value:Date.prototype.setHours}) |
|
Object.defineProperty(Date.prototype,"nv_setUTCHours",{writable:true,value:Date.prototype.setUTCHours}) |
|
Object.defineProperty(Date.prototype,"nv_setDate",{writable:true,value:Date.prototype.setDate}) |
|
Object.defineProperty(Date.prototype,"nv_setUTCDate",{writable:true,value:Date.prototype.setUTCDate}) |
|
Object.defineProperty(Date.prototype,"nv_setMonth",{writable:true,value:Date.prototype.setMonth}) |
|
Object.defineProperty(Date.prototype,"nv_setUTCMonth",{writable:true,value:Date.prototype.setUTCMonth}) |
|
Object.defineProperty(Date.prototype,"nv_setFullYear",{writable:true,value:Date.prototype.setFullYear}) |
|
Object.defineProperty(Date.prototype,"nv_setUTCFullYear",{writable:true,value:Date.prototype.setUTCFullYear}) |
|
Object.defineProperty(Date.prototype,"nv_toUTCString",{writable:true,value:Date.prototype.toUTCString}) |
|
Object.defineProperty(Date.prototype,"nv_toISOString",{writable:true,value:Date.prototype.toISOString}) |
|
Object.defineProperty(Date.prototype,"nv_toJSON",{writable:true,value:Date.prototype.toJSON}) |
|
} |
|
var nf_init_RegExp=function(){ |
|
Object.defineProperty(RegExp.prototype,"nv_constructor",{writable:true,value:"RegExp"}) |
|
Object.defineProperty(RegExp.prototype,"nv_exec",{writable:true,value:RegExp.prototype.exec}) |
|
Object.defineProperty(RegExp.prototype,"nv_test",{writable:true,value:RegExp.prototype.test}) |
|
Object.defineProperty(RegExp.prototype,"nv_toString",{writable:true,value:RegExp.prototype.toString}) |
|
Object.defineProperty(RegExp.prototype,"nv_source",{get:function(){return this.source;},set:function(){}}); |
|
Object.defineProperty(RegExp.prototype,"nv_global",{get:function(){return this.global;},set:function(){}}); |
|
Object.defineProperty(RegExp.prototype,"nv_ignoreCase",{get:function(){return this.ignoreCase;},set:function(){}}); |
|
Object.defineProperty(RegExp.prototype,"nv_multiline",{get:function(){return this.multiline;},set:function(){}}); |
|
Object.defineProperty(RegExp.prototype,"nv_lastIndex",{get:function(){return this.lastIndex;},set:function(v){this.lastIndex=v;}}); |
|
} |
|
nf_init(); |
|
var nv_getDate=function(){var args=Array.prototype.slice.call(arguments);args.unshift(Date);return new(Function.prototype.bind.apply(Date, args));} |
|
var nv_getRegExp=function(){var args=Array.prototype.slice.call(arguments);args.unshift(RegExp);return new(Function.prototype.bind.apply(RegExp, args));} |
|
var nv_console={} |
|
nv_console.nv_log=function(){var res="WXSRT:";for(var i=0;i<arguments.length;++i)res+=arguments[i]+" ";console.log(res);} |
|
var nv_parseInt = parseInt, nv_parseFloat = parseFloat, nv_isNaN = isNaN, nv_isFinite = isFinite, nv_decodeURI = decodeURI, nv_decodeURIComponent = decodeURIComponent, nv_encodeURI = encodeURI, nv_encodeURIComponent = encodeURIComponent; |
|
function $gdc(o,p,r) { |
|
o=wh.rv(o); |
|
if(o===null||o===undefined) return o; |
|
if(o.constructor===String||o.constructor===Boolean||o.constructor===Number) return o; |
|
if(o.constructor===Object){ |
|
var copy={}; |
|
for(var k in o) |
|
if(o.hasOwnProperty(k)) |
|
if(undefined===p) copy[k.substring(3)]=$gdc(o[k],p,r); |
|
else copy[p+k]=$gdc(o[k],p,r); |
|
return copy; |
|
} |
|
if(o.constructor===Array){ |
|
var copy=[]; |
|
for(var i=0;i<o.length;i++) copy.push($gdc(o[i],p,r)); |
|
return copy; |
|
} |
|
if(o.constructor===Date){ |
|
var copy=new Date(); |
|
copy.setTime(o.getTime()); |
|
return copy; |
|
} |
|
if(o.constructor===RegExp){ |
|
var f=""; |
|
if(o.global) f+="g"; |
|
if(o.ignoreCase) f+="i"; |
|
if(o.multiline) f+="m"; |
|
return (new RegExp(o.source,f)); |
|
} |
|
if(r&&o.constructor===Function){ |
|
if ( r == 1 ) return $gdc(o(),undefined, 2); |
|
if ( r == 2 ) return o; |
|
} |
|
return null; |
|
} |
|
var nv_JSON={} |
|
nv_JSON.nv_stringify=function(o){ |
|
JSON.stringify(o); |
|
return JSON.stringify($gdc(o)); |
|
} |
|
nv_JSON.nv_parse=function(o){ |
|
if(o===undefined) return undefined; |
|
var t=JSON.parse(o); |
|
return $gdc(t,'nv_'); |
|
} |
|
|
|
function _af(p, a, c){ |
|
p.extraAttr = {"t_action": a, "t_cid": c}; |
|
} |
|
|
|
function _gv( ) |
|
{if( typeof( window.__webview_engine_version__) == 'undefined' ) return 0.0; |
|
return window.__webview_engine_version__;} |
|
function _ai(i,p,e,me,r,c){var x=_grp(p,e,me);if(x)i.push(x);else{i.push('');_wp(me+':import:'+r+':'+c+': Path `'+p+'` not found from `'+me+'`.')}} |
|
function _grp(p,e,me){if(p[0]!='/'){var mepart=me.split('/');mepart.pop();var ppart=p.split('/');for(var i=0;i<ppart.length;i++){if( ppart[i]=='..')mepart.pop();else if(!ppart[i]||ppart[i]=='.')continue;else mepart.push(ppart[i]);}p=mepart.join('/');}if(me[0]=='.'&&p[0]=='/')p='.'+p;if(e[p])return p;if(e[p+'.wxml'])return p+'.wxml';} |
|
function _gd(p,c,e,d){if(!c)return;if(d[p][c])return d[p][c];for(var x=e[p].i.length-1;x>=0;x--){if(e[p].i[x]&&d[e[p].i[x]][c])return d[e[p].i[x]][c]};for(var x=e[p].ti.length-1;x>=0;x--){var q=_grp(e[p].ti[x],e,p);if(q&&d[q][c])return d[q][c]}var ii=_gapi(e,p);for(var x=0;x<ii.length;x++){if(ii[x]&&d[ii[x]][c])return d[ii[x]][c]}for(var k=e[p].j.length-1;k>=0;k--)if(e[p].j[k]){for(var q=e[e[p].j[k]].ti.length-1;q>=0;q--){var pp=_grp(e[e[p].j[k]].ti[q],e,p);if(pp&&d[pp][c]){return d[pp][c]}}}} |
|
function _gapi(e,p){if(!p)return [];if($gaic[p]){return $gaic[p]};var ret=[],q=[],h=0,t=0,put={},visited={};q.push(p);visited[p]=true;t++;while(h<t){var a=q[h++];for(var i=0;i<e[a].ic.length;i++){var nd=e[a].ic[i];var np=_grp(nd,e,a);if(np&&!visited[np]){visited[np]=true;q.push(np);t++;}}for(var i=0;a!=p&&i<e[a].ti.length;i++){var ni=e[a].ti[i];var nm=_grp(ni,e,a);if(nm&&!put[nm]){put[nm]=true;ret.push(nm);}}}$gaic[p]=ret;return ret;} |
|
var $ixc={};function _ic(p,ent,me,e,s,r,gg){var x=_grp(p,ent,me);ent[me].j.push(x);if(x){if($ixc[x]){_wp('-1:include:-1:-1: `'+p+'` is being included in a loop, will be stop.');return;}$ixc[x]=true;try{ent[x].f(e,s,r,gg)}catch(e){}$ixc[x]=false;}else{_wp(me+':include:-1:-1: Included path `'+p+'` not found from `'+me+'`.')}} |
|
function _w(tn,f,line,c){_wp(f+':template:'+line+':'+c+': Template `'+tn+'` not found.');}function _ev(dom){var changed=false;delete dom.properities;delete dom.n;if(dom.children){do{changed=false;var newch = [];for(var i=0;i<dom.children.length;i++){var ch=dom.children[i];if( ch.tag=='virtual'){changed=true;for(var j=0;ch.children&&j<ch.children.length;j++){newch.push(ch.children[j]);}}else { newch.push(ch); } } dom.children = newch; }while(changed);for(var i=0;i<dom.children.length;i++){_ev(dom.children[i]);}} return dom; } |
|
function _tsd( root ) |
|
{ |
|
if( root.tag == "wx-wx-scope" ) |
|
{ |
|
root.tag = "virtual"; |
|
root.wxCkey = "11"; |
|
root['wxScopeData'] = root.attr['wx:scope-data']; |
|
delete root.n; |
|
delete root.raw; |
|
delete root.generics; |
|
delete root.attr; |
|
} |
|
for( var i = 0 ; root.children && i < root.children.length ; i++ ) |
|
{ |
|
_tsd( root.children[i] ); |
|
} |
|
return root; |
|
} |
|
|
|
var e_={} |
|
if(typeof(global.entrys)==='undefined')global.entrys={};e_=global.entrys; |
|
var d_={} |
|
if(typeof(global.defines)==='undefined')global.defines={};d_=global.defines; |
|
var f_={} |
|
if(typeof(global.modules)==='undefined')global.modules={};f_=global.modules || {}; |
|
var p_={} |
|
__WXML_GLOBAL__.ops_cached = __WXML_GLOBAL__.ops_cached || {} |
|
__WXML_GLOBAL__.ops_set = __WXML_GLOBAL__.ops_set || {}; |
|
__WXML_GLOBAL__.ops_init = __WXML_GLOBAL__.ops_init || {}; |
|
var z=__WXML_GLOBAL__.ops_set.$gwx || []; |
|
function gz$gwx_1(){ |
|
if( __WXML_GLOBAL__.ops_cached.$gwx_1)return __WXML_GLOBAL__.ops_cached.$gwx_1 |
|
__WXML_GLOBAL__.ops_cached.$gwx_1=[]; |
|
(function(z){var a=11;function Z(ops){z.push(ops)} |
|
Z([3,'_qrCode']) |
|
Z([3,'_myQrCodeCanvas']) |
|
Z([3,'_qrCodeCanvas']) |
|
Z(z[1]) |
|
Z([[2,'+'],[[2,'+'],[[2,'+'],[1,'width:'],[[2,'+'],[[7],[3,'cpSize']],[1,'px']]],[1,';']],[[2,'+'],[[2,'+'],[1,'height:'],[[2,'+'],[[7],[3,'cpSize']],[1,'px']]],[1,';']]]) |
|
Z([[2,'!'],[[7],[3,'show']]]) |
|
Z([[7],[3,'result']]) |
|
Z(z[4]) |
|
})(__WXML_GLOBAL__.ops_cached.$gwx_1);return __WXML_GLOBAL__.ops_cached.$gwx_1 |
|
} |
|
function gz$gwx_2(){ |
|
if( __WXML_GLOBAL__.ops_cached.$gwx_2)return __WXML_GLOBAL__.ops_cached.$gwx_2 |
|
__WXML_GLOBAL__.ops_cached.$gwx_2=[]; |
|
(function(z){var a=11;function Z(ops){z.push(ops)} |
|
Z([[7],[3,'showCode']]) |
|
Z([3,'code-view']) |
|
Z([3,'__l']) |
|
Z([3,'vue-ref']) |
|
Z([3,'qrcode']) |
|
Z([1,true]) |
|
Z(z[5]) |
|
Z([1,false]) |
|
Z([1,100]) |
|
Z([3,'upx']) |
|
Z(z[5]) |
|
Z([[7],[3,'val']]) |
|
Z([3,'1']) |
|
Z([3,'code-text']) |
|
Z([3,'请使用微信扫码验证']) |
|
})(__WXML_GLOBAL__.ops_cached.$gwx_2);return __WXML_GLOBAL__.ops_cached.$gwx_2 |
|
} |
|
function gz$gwx_3(){ |
|
if( __WXML_GLOBAL__.ops_cached.$gwx_3)return __WXML_GLOBAL__.ops_cached.$gwx_3 |
|
__WXML_GLOBAL__.ops_cached.$gwx_3=[]; |
|
(function(z){var a=11;function Z(ops){z.push(ops)} |
|
Z([3,'menu-div']) |
|
Z([[6],[[7],[3,'template']],[3,'imageBg']]) |
|
Z([3,'workspace']) |
|
Z([[2,'+'],[[2,'+'],[[2,'+'],[[2,'+'],[[2,'+'],[[2,'+'],[[2,'+'],[[2,'+'],[[2,'+'],[[2,'+'],[[2,'+'],[[2,'+'],[1,'width:'],[[6],[[7],[3,'template']],[3,'scaleWidth']]],[1,'upx;height:']],[[6],[[7],[3,'template']],[3,'scaleHeight']]],[1,'upx;background: url(']],[[7],[3,'baseUrl']]],[1,'/']],[[6],[[7],[3,'template']],[3,'imageBg']]],[1,');backgroundSize:']],[[6],[[7],[3,'template']],[3,'scaleWidth']]],[1,'upx ']],[[6],[[7],[3,'template']],[3,'scaleHeight']]],[1,'upx;']]) |
|
Z([3,'index']) |
|
Z([3,'citem']) |
|
Z([[7],[3,'items']]) |
|
Z(z[4]) |
|
Z([[2,'+'],[[2,'+'],[[2,'+'],[[2,'+'],[[2,'+'],[[2,'+'],[[2,'+'],[[2,'+'],[[2,'+'],[[2,'+'],[1,'position: absolute;top:'],[[6],[[7],[3,'citem']],[3,'y']]],[1,'upx;left:']],[[6],[[7],[3,'citem']],[3,'x']]],[1,'upx;z-index:']],[[7],[3,'index']]],[1,';width:']],[[6],[[7],[3,'citem']],[3,'width']]],[1,'upx;height:']],[[6],[[7],[3,'citem']],[3,'height']]],[1,'upx']]) |
|
Z([3,'template-item']) |
|
Z([[6],[[7],[3,'citem']],[3,'style']]) |
|
Z([[2,'?:'],[[2,'=='],[[6],[[7],[3,'citem']],[3,'itemType']],[1,'qrcode']],[[2,'+'],[[2,'+'],[[2,'+'],[[2,'+'],[[2,'+'],[[2,'+'],[[2,'+'],[[2,'+'],[[2,'+'],[1,'background: #FFFFFF;position:absolute;width:100%;top:'],[[6],[[7],[3,'citem']],[3,'height']]],[1,'upx;text-align:']],[[6],[[7],[3,'citem']],[3,'align']]],[1,';font-size:']],[[6],[[7],[3,'citem']],[3,'fontSize']]],[1,'upx;letter-spacing:']],[[6],[[7],[3,'citem']],[3,'wordSpace']]],[1,'upx;font-family:']],[[6],[[7],[3,'citem']],[3,'fontFamily']]],[1,'']]) |
|
Z([a,[[6],[[6],[[7],[3,'citem']],[3,'style']],[3,'itemText']]]) |
|
Z([3,'qrimg']) |
|
Z([[7],[3,'ifShow']]) |
|
Z([3,'__l']) |
|
Z([3,'__e']) |
|
Z([3,'vue-ref']) |
|
Z([[4],[[5],[[4],[[5],[[5],[1,'^result']],[[4],[[5],[[4],[[5],[1,'qrR']]]]]]]]]) |
|
Z([3,'qrcode']) |
|
Z([[7],[3,'loadMake']]) |
|
Z([[7],[3,'onval']]) |
|
Z([[7],[3,'size']]) |
|
Z([[7],[3,'unit']]) |
|
Z([1,true]) |
|
Z([[7],[3,'val']]) |
|
Z([3,'1']) |
|
})(__WXML_GLOBAL__.ops_cached.$gwx_3);return __WXML_GLOBAL__.ops_cached.$gwx_3 |
|
} |
|
function gz$gwx_4(){ |
|
if( __WXML_GLOBAL__.ops_cached.$gwx_4)return __WXML_GLOBAL__.ops_cached.$gwx_4 |
|
__WXML_GLOBAL__.ops_cached.$gwx_4=[]; |
|
(function(z){var a=11;function Z(ops){z.push(ops)} |
|
Z([3,'content']) |
|
Z([3,'content-left']) |
|
Z([[2,'+'],[[2,'+'],[1,'background-image:'],[[2,'+'],[[2,'+'],[1,'url('],[[7],[3,'bgLeft']]],[1,')']]],[1,';']]) |
|
Z([3,'content-left content-left-black']) |
|
Z([3,'interval-view-one']) |
|
Z([3,'content-left-discounts']) |
|
Z([3,'充值']) |
|
Z([3,'content-push-money']) |
|
Z([3,'777']) |
|
Z([3,',立享全场']) |
|
Z(z[7]) |
|
Z([3,'7']) |
|
Z([3,'折']) |
|
Z([3,'interval-view-two']) |
|
Z(z[5]) |
|
Z([3,'账户余额']) |
|
Z(z[7]) |
|
Z([3,'1010.10']) |
|
Z([3,'元尊享']) |
|
Z(z[13]) |
|
Z(z[5]) |
|
Z([3,'会议区/茶室']) |
|
Z([3,'interval-view-three content-left-discounts-1']) |
|
Z([3,'content-left-discounts-2']) |
|
Z([a,[[2,'+'],[[2,'+'],[1,''],[[7],[3,'wxtitle']]],[1,'']]]) |
|
Z([3,'wx-code-view']) |
|
Z([3,'wx-code']) |
|
Z([[7],[3,'wxcode']]) |
|
Z([3,'qrimg']) |
|
Z([[7],[3,'ifShow']]) |
|
Z([3,'__l']) |
|
Z([3,'__e']) |
|
Z([3,'vue-ref']) |
|
Z([[4],[[5],[[4],[[5],[[5],[1,'^result']],[[4],[[5],[[4],[[5],[1,'qrR']]]]]]]]]) |
|
Z([3,'qrcode']) |
|
Z([[7],[3,'loadMake']]) |
|
Z([[7],[3,'onval']]) |
|
Z([[7],[3,'size']]) |
|
Z([[7],[3,'unit']]) |
|
Z([1,true]) |
|
Z([[7],[3,'val']]) |
|
Z([3,'1']) |
|
Z([3,'code-remark']) |
|
Z([a,[[7],[3,'wxtitle']]]) |
|
Z([3,'interval-view-four']) |
|
Z([3,'content-left-discounts content-left-discounts-botton']) |
|
Z([3,'添加回复']) |
|
Z(z[7]) |
|
Z([3,'【 进群 】']) |
|
Z([3,'即可加入']) |
|
Z(z[13]) |
|
Z(z[45]) |
|
Z([3,'桃子湖畔高颜值的面对面群']) |
|
Z([3,'content-right']) |
|
Z([[2,'+'],[[2,'+'],[1,'background-image:'],[[2,'+'],[[2,'+'],[1,'url('],[[7],[3,'bgRight']]],[1,')']]],[1,';']]) |
|
Z([3,'content-right content-right-black']) |
|
Z([3,'tea-view']) |
|
Z([3,'tea-title-view']) |
|
Z([3,'tea-image']) |
|
Z([3,'../../static/images/cha.png']) |
|
Z([3,'tea-title']) |
|
Z([3,'茶(Tea)']) |
|
Z([3,'index']) |
|
Z([3,'tea']) |
|
Z([[7],[3,'teaList']]) |
|
Z(z[62]) |
|
Z([3,'tea-list']) |
|
Z([3,'tea-name']) |
|
Z([3,'indexName']) |
|
Z([3,'name']) |
|
Z([[6],[[7],[3,'tea']],[3,'name']]) |
|
Z(z[68]) |
|
Z([[4],[[5],[[5],[1,'tea-name-font']],[[6],[[7],[3,'tea']],[3,'animation']]]]) |
|
Z([[2,'+'],[[2,'+'],[1,'animation-delay: '],[[2,'*'],[1,0.16],[[7],[3,'indexName']]]],[1,'s;']]) |
|
Z([a,[[2,'+'],[[2,'+'],[1,''],[[7],[3,'name']]],[1,'']]]) |
|
Z([3,'tea-name tea-name-en']) |
|
Z(z[68]) |
|
Z([3,'nameEn']) |
|
Z([[6],[[7],[3,'tea']],[3,'nameEn']]) |
|
Z(z[68]) |
|
Z(z[72]) |
|
Z([[2,'+'],[[2,'+'],[1,'animation-delay: '],[[2,'*'],[1,0.16],[[2,'+'],[[6],[[6],[[7],[3,'tea']],[3,'name']],[3,'length']],[[7],[3,'indexName']]]]],[1,'s;']]) |
|
Z([a,[[2,'+'],[[2,'+'],[1,''],[[7],[3,'nameEn']]],[1,'']]]) |
|
Z([3,'tea-money']) |
|
Z(z[68]) |
|
Z([3,'Imoney']) |
|
Z([[6],[[7],[3,'tea']],[3,'money']]) |
|
Z(z[68]) |
|
Z(z[72]) |
|
Z([[2,'+'],[[2,'+'],[1,'animation-delay: '],[[2,'*'],[1,0.16],[[2,'+'],[[2,'+'],[[6],[[6],[[7],[3,'tea']],[3,'name']],[3,'length']],[[6],[[6],[[7],[3,'tea']],[3,'nameEn']],[3,'length']]],[[7],[3,'indexName']]]]],[1,'s;']]) |
|
Z([a,[[2,'+'],[[2,'+'],[1,''],[[7],[3,'Imoney']]],[1,'']]]) |
|
Z([[6],[[7],[3,'tea']],[3,'showNew']]) |
|
Z([3,'commodity-new']) |
|
Z([3,'../../static/images/new.svg']) |
|
Z([[2,'?:'],[[2,'==='],[[6],[[7],[3,'tea']],[3,'showNew']],[1,'']],[1,false],[[2,'!'],[[6],[[7],[3,'tea']],[3,'showNew']]]]) |
|
Z([3,'commodity-dztj']) |
|
Z([3,'../../static/images/dztj.svg']) |
|
Z([3,'coffee-view']) |
|
Z(z[57]) |
|
Z(z[31]) |
|
Z([3,'tea-title coffee-title']) |
|
Z([[4],[[5],[[4],[[5],[[5],[1,'tap']],[[4],[[5],[[4],[[5],[[5],[1,'testAlertAn']],[[4],[[5],[1,'$event']]]]]]]]]]]) |
|
Z([3,'咖啡(coffee)']) |
|
Z([3,'tea-image coffee-image']) |
|
Z([3,'../../static/images/kafei.png']) |
|
Z(z[62]) |
|
Z([3,'coffee']) |
|
Z([[7],[3,'coffeeList']]) |
|
Z(z[62]) |
|
Z(z[66]) |
|
Z([3,'tea-name coffee-name']) |
|
Z(z[68]) |
|
Z(z[69]) |
|
Z([[6],[[7],[3,'coffee']],[3,'name']]) |
|
Z(z[68]) |
|
Z([[4],[[5],[[5],[1,'tea-name-font']],[[6],[[7],[3,'coffee']],[3,'animation']]]]) |
|
Z(z[73]) |
|
Z([a,z[74][1]]) |
|
Z([3,'tea-name tea-name-en coffee-name-en']) |
|
Z(z[68]) |
|
Z(z[77]) |
|
Z([[6],[[7],[3,'coffee']],[3,'nameEn']]) |
|
Z(z[68]) |
|
Z(z[115]) |
|
Z([[2,'+'],[[2,'+'],[1,'animation-delay: '],[[2,'*'],[1,0.16],[[2,'+'],[[6],[[6],[[7],[3,'coffee']],[3,'name']],[3,'length']],[[7],[3,'indexName']]]]],[1,'s;']]) |
|
Z([a,z[82][1]]) |
|
Z([3,'tea-money coffee-money']) |
|
Z(z[68]) |
|
Z(z[85]) |
|
Z([[6],[[7],[3,'coffee']],[3,'money']]) |
|
Z(z[68]) |
|
Z(z[115]) |
|
Z([[2,'+'],[[2,'+'],[1,'animation-delay: '],[[2,'*'],[1,0.16],[[2,'+'],[[2,'+'],[[6],[[6],[[7],[3,'coffee']],[3,'name']],[3,'length']],[[6],[[6],[[7],[3,'coffee']],[3,'nameEn']],[3,'length']]],[[7],[3,'indexName']]]]],[1,'s;']]) |
|
Z([a,z[90][1]]) |
|
})(__WXML_GLOBAL__.ops_cached.$gwx_4);return __WXML_GLOBAL__.ops_cached.$gwx_4 |
|
} |
|
__WXML_GLOBAL__.ops_set.$gwx=z; |
|
__WXML_GLOBAL__.ops_init.$gwx=true; |
|
var nv_require=function(){var nnm={};var nom={};return function(n){return function(){if(!nnm[n]) return undefined;try{if(!nom[n])nom[n]=nnm[n]();return nom[n];}catch(e){e.message=e.message.replace(/nv_/g,'');var tmp = e.stack.substring(0,e.stack.lastIndexOf(n));e.stack = tmp.substring(0,tmp.lastIndexOf('\n'));e.stack = e.stack.replace(/\snv_/g,' ');e.stack = $gstack(e.stack);e.stack += '\n at ' + n.substring(2);console.error(e);} |
|
}}}() |
|
var x=['./node-modules/tki-qrcode/components/tki-qrcode/tki-qrcode.wxml','./pages/confirm-code/confirm-code.wxml','./pages/menu/menu.wxml','./pages/store-commodity/store-commodity.wxml'];d_[x[0]]={} |
|
var m0=function(e,s,r,gg){ |
|
var z=gz$gwx_1() |
|
var oB=_n('view') |
|
_rz(z,oB,'class',0,e,s,gg) |
|
var xC=_mz(z,'canvas',['canvasId',1,'class',1,'id',2,'style',3],[],e,s,gg) |
|
_(oB,xC) |
|
var oD=_mz(z,'image',['hidden',5,'src',1,'style',2],[],e,s,gg) |
|
_(oB,oD) |
|
_(r,oB) |
|
return r |
|
} |
|
e_[x[0]]={f:m0,j:[],i:[],ti:[],ic:[]} |
|
d_[x[1]]={} |
|
var m1=function(e,s,r,gg){ |
|
var z=gz$gwx_2() |
|
var cF=_v() |
|
_(r,cF) |
|
if(_oz(z,0,e,s,gg)){cF.wxVkey=1 |
|
var hG=_n('view') |
|
var oH=_n('view') |
|
_rz(z,oH,'class',1,e,s,gg) |
|
var cI=_mz(z,'tki-qrcode',['bind:__l',2,'class',1,'data-ref',2,'loadMake',3,'onval',4,'showLoading',5,'size',6,'unit',7,'usingComponents',8,'val',9,'vueId',10],[],e,s,gg) |
|
_(oH,cI) |
|
_(hG,oH) |
|
var oJ=_n('text') |
|
_rz(z,oJ,'class',13,e,s,gg) |
|
var lK=_oz(z,14,e,s,gg) |
|
_(oJ,lK) |
|
_(hG,oJ) |
|
_(cF,hG) |
|
} |
|
cF.wxXCkey=1 |
|
cF.wxXCkey=3 |
|
return r |
|
} |
|
e_[x[1]]={f:m1,j:[],i:[],ti:[],ic:[]} |
|
d_[x[2]]={} |
|
var m2=function(e,s,r,gg){ |
|
var z=gz$gwx_3() |
|
var tM=_n('view') |
|
_rz(z,tM,'class',0,e,s,gg) |
|
var eN=_v() |
|
_(tM,eN) |
|
if(_oz(z,1,e,s,gg)){eN.wxVkey=1 |
|
var bO=_mz(z,'view',['class',2,'style',1],[],e,s,gg) |
|
var oP=_v() |
|
_(bO,oP) |
|
var xQ=function(fS,oR,cT,gg){ |
|
var oV=_n('view') |
|
_rz(z,oV,'style',8,fS,oR,gg) |
|
var cW=_mz(z,'view',['class',9,'style',1],[],fS,oR,gg) |
|
var oX=_n('text') |
|
_rz(z,oX,'style',11,fS,oR,gg) |
|
var lY=_oz(z,12,fS,oR,gg) |
|
_(oX,lY) |
|
_(cW,oX) |
|
_(oV,cW) |
|
_(cT,oV) |
|
return cT |
|
} |
|
oP.wxXCkey=2 |
|
_2z(z,6,xQ,e,s,gg,oP,'citem','index','index') |
|
var aZ=_n('view') |
|
_rz(z,aZ,'class',13,e,s,gg) |
|
var t1=_v() |
|
_(aZ,t1) |
|
if(_oz(z,14,e,s,gg)){t1.wxVkey=1 |
|
var e2=_mz(z,'tki-qrcode',['bind:__l',15,'bind:result',1,'class',2,'data-event-opts',3,'data-ref',4,'loadMake',5,'onval',6,'size',7,'unit',8,'usingComponents',9,'val',10,'vueId',11],[],e,s,gg) |
|
_(t1,e2) |
|
} |
|
t1.wxXCkey=1 |
|
t1.wxXCkey=3 |
|
_(bO,aZ) |
|
_(eN,bO) |
|
} |
|
eN.wxXCkey=1 |
|
eN.wxXCkey=3 |
|
_(r,tM) |
|
return r |
|
} |
|
e_[x[2]]={f:m2,j:[],i:[],ti:[],ic:[]} |
|
d_[x[3]]={} |
|
var m3=function(e,s,r,gg){ |
|
var z=gz$gwx_4() |
|
var o4=_n('view') |
|
_rz(z,o4,'class',0,e,s,gg) |
|
var x5=_mz(z,'view',['class',1,'style',1],[],e,s,gg) |
|
var o6=_n('view') |
|
_rz(z,o6,'class',3,e,s,gg) |
|
var f7=_n('view') |
|
_rz(z,f7,'class',4,e,s,gg) |
|
_(o6,f7) |
|
var c8=_n('text') |
|
_rz(z,c8,'class',5,e,s,gg) |
|
var h9=_oz(z,6,e,s,gg) |
|
_(c8,h9) |
|
var o0=_n('text') |
|
_rz(z,o0,'class',7,e,s,gg) |
|
var cAB=_oz(z,8,e,s,gg) |
|
_(o0,cAB) |
|
_(c8,o0) |
|
var oBB=_oz(z,9,e,s,gg) |
|
_(c8,oBB) |
|
var lCB=_n('text') |
|
_rz(z,lCB,'class',10,e,s,gg) |
|
var aDB=_oz(z,11,e,s,gg) |
|
_(lCB,aDB) |
|
_(c8,lCB) |
|
var tEB=_oz(z,12,e,s,gg) |
|
_(c8,tEB) |
|
_(o6,c8) |
|
var eFB=_n('view') |
|
_rz(z,eFB,'class',13,e,s,gg) |
|
_(o6,eFB) |
|
var bGB=_n('text') |
|
_rz(z,bGB,'class',14,e,s,gg) |
|
var oHB=_oz(z,15,e,s,gg) |
|
_(bGB,oHB) |
|
var xIB=_n('text') |
|
_rz(z,xIB,'class',16,e,s,gg) |
|
var oJB=_oz(z,17,e,s,gg) |
|
_(xIB,oJB) |
|
_(bGB,xIB) |
|
var fKB=_oz(z,18,e,s,gg) |
|
_(bGB,fKB) |
|
_(o6,bGB) |
|
var cLB=_n('view') |
|
_rz(z,cLB,'class',19,e,s,gg) |
|
_(o6,cLB) |
|
var hMB=_n('text') |
|
_rz(z,hMB,'class',20,e,s,gg) |
|
var oNB=_oz(z,21,e,s,gg) |
|
_(hMB,oNB) |
|
_(o6,hMB) |
|
var cOB=_n('view') |
|
_rz(z,cOB,'class',22,e,s,gg) |
|
var oPB=_n('text') |
|
_rz(z,oPB,'class',23,e,s,gg) |
|
var lQB=_oz(z,24,e,s,gg) |
|
_(oPB,lQB) |
|
_(cOB,oPB) |
|
_(o6,cOB) |
|
var aRB=_n('view') |
|
_rz(z,aRB,'class',25,e,s,gg) |
|
var tSB=_mz(z,'image',['class',26,'src',1],[],e,s,gg) |
|
_(aRB,tSB) |
|
var eTB=_n('view') |
|
_rz(z,eTB,'class',28,e,s,gg) |
|
var bUB=_v() |
|
_(eTB,bUB) |
|
if(_oz(z,29,e,s,gg)){bUB.wxVkey=1 |
|
var oVB=_mz(z,'tki-qrcode',['bind:__l',30,'bind:result',1,'class',2,'data-event-opts',3,'data-ref',4,'loadMake',5,'onval',6,'size',7,'unit',8,'usingComponents',9,'val',10,'vueId',11],[],e,s,gg) |
|
_(bUB,oVB) |
|
} |
|
bUB.wxXCkey=1 |
|
bUB.wxXCkey=3 |
|
_(aRB,eTB) |
|
var xWB=_n('text') |
|
_rz(z,xWB,'class',42,e,s,gg) |
|
var oXB=_oz(z,43,e,s,gg) |
|
_(xWB,oXB) |
|
_(aRB,xWB) |
|
_(o6,aRB) |
|
var fYB=_n('view') |
|
_rz(z,fYB,'class',44,e,s,gg) |
|
_(o6,fYB) |
|
var cZB=_n('text') |
|
_rz(z,cZB,'class',45,e,s,gg) |
|
var h1B=_oz(z,46,e,s,gg) |
|
_(cZB,h1B) |
|
var o2B=_n('text') |
|
_rz(z,o2B,'class',47,e,s,gg) |
|
var c3B=_oz(z,48,e,s,gg) |
|
_(o2B,c3B) |
|
_(cZB,o2B) |
|
var o4B=_oz(z,49,e,s,gg) |
|
_(cZB,o4B) |
|
_(o6,cZB) |
|
var l5B=_n('view') |
|
_rz(z,l5B,'class',50,e,s,gg) |
|
_(o6,l5B) |
|
var a6B=_n('text') |
|
_rz(z,a6B,'class',51,e,s,gg) |
|
var t7B=_oz(z,52,e,s,gg) |
|
_(a6B,t7B) |
|
_(o6,a6B) |
|
_(x5,o6) |
|
_(o4,x5) |
|
var e8B=_mz(z,'view',['class',53,'style',1],[],e,s,gg) |
|
var b9B=_n('view') |
|
_rz(z,b9B,'class',55,e,s,gg) |
|
var o0B=_n('view') |
|
_rz(z,o0B,'class',56,e,s,gg) |
|
var xAC=_n('view') |
|
_rz(z,xAC,'class',57,e,s,gg) |
|
var oBC=_mz(z,'image',['class',58,'src',1],[],e,s,gg) |
|
_(xAC,oBC) |
|
var fCC=_n('text') |
|
_rz(z,fCC,'class',60,e,s,gg) |
|
var cDC=_oz(z,61,e,s,gg) |
|
_(fCC,cDC) |
|
_(xAC,fCC) |
|
_(o0B,xAC) |
|
var hEC=_v() |
|
_(o0B,hEC) |
|
var oFC=function(oHC,cGC,lIC,gg){ |
|
var tKC=_n('view') |
|
_rz(z,tKC,'class',66,oHC,cGC,gg) |
|
var oNC=_n('text') |
|
_rz(z,oNC,'class',67,oHC,cGC,gg) |
|
var xOC=_v() |
|
_(oNC,xOC) |
|
var oPC=function(cRC,fQC,hSC,gg){ |
|
var cUC=_mz(z,'text',['class',72,'style',1],[],cRC,fQC,gg) |
|
var oVC=_oz(z,74,cRC,fQC,gg) |
|
_(cUC,oVC) |
|
_(hSC,cUC) |
|
return hSC |
|
} |
|
xOC.wxXCkey=2 |
|
_2z(z,70,oPC,oHC,cGC,gg,xOC,'name','indexName','indexName') |
|
_(tKC,oNC) |
|
var lWC=_n('text') |
|
_rz(z,lWC,'class',75,oHC,cGC,gg) |
|
var aXC=_v() |
|
_(lWC,aXC) |
|
var tYC=function(b1C,eZC,o2C,gg){ |
|
var o4C=_mz(z,'text',['class',80,'style',1],[],b1C,eZC,gg) |
|
var f5C=_oz(z,82,b1C,eZC,gg) |
|
_(o4C,f5C) |
|
_(o2C,o4C) |
|
return o2C |
|
} |
|
aXC.wxXCkey=2 |
|
_2z(z,78,tYC,oHC,cGC,gg,aXC,'nameEn','indexName','indexName') |
|
_(tKC,lWC) |
|
var c6C=_n('text') |
|
_rz(z,c6C,'class',83,oHC,cGC,gg) |
|
var h7C=_v() |
|
_(c6C,h7C) |
|
var o8C=function(o0C,c9C,lAD,gg){ |
|
var tCD=_mz(z,'text',['class',88,'style',1],[],o0C,c9C,gg) |
|
var eDD=_oz(z,90,o0C,c9C,gg) |
|
_(tCD,eDD) |
|
_(lAD,tCD) |
|
return lAD |
|
} |
|
h7C.wxXCkey=2 |
|
_2z(z,86,o8C,oHC,cGC,gg,h7C,'Imoney','indexName','indexName') |
|
_(tKC,c6C) |
|
var eLC=_v() |
|
_(tKC,eLC) |
|
if(_oz(z,91,oHC,cGC,gg)){eLC.wxVkey=1 |
|
var bED=_mz(z,'image',['class',92,'src',1],[],oHC,cGC,gg) |
|
_(eLC,bED) |
|
} |
|
var bMC=_v() |
|
_(tKC,bMC) |
|
if(_oz(z,94,oHC,cGC,gg)){bMC.wxVkey=1 |
|
var oFD=_mz(z,'image',['class',95,'src',1],[],oHC,cGC,gg) |
|
_(bMC,oFD) |
|
} |
|
eLC.wxXCkey=1 |
|
bMC.wxXCkey=1 |
|
_(lIC,tKC) |
|
return lIC |
|
} |
|
hEC.wxXCkey=2 |
|
_2z(z,64,oFC,e,s,gg,hEC,'tea','index','index') |
|
_(b9B,o0B) |
|
var xGD=_n('view') |
|
_rz(z,xGD,'class',97,e,s,gg) |
|
var oHD=_n('view') |
|
_rz(z,oHD,'class',98,e,s,gg) |
|
var fID=_mz(z,'text',['bindtap',99,'class',1,'data-event-opts',2],[],e,s,gg) |
|
var cJD=_oz(z,102,e,s,gg) |
|
_(fID,cJD) |
|
_(oHD,fID) |
|
var hKD=_mz(z,'image',['class',103,'src',1],[],e,s,gg) |
|
_(oHD,hKD) |
|
_(xGD,oHD) |
|
var oLD=_v() |
|
_(xGD,oLD) |
|
var cMD=function(lOD,oND,aPD,gg){ |
|
var eRD=_n('view') |
|
_rz(z,eRD,'class',109,lOD,oND,gg) |
|
var bSD=_n('text') |
|
_rz(z,bSD,'class',110,lOD,oND,gg) |
|
var oTD=_v() |
|
_(bSD,oTD) |
|
var xUD=function(fWD,oVD,cXD,gg){ |
|
var oZD=_mz(z,'text',['class',115,'style',1],[],fWD,oVD,gg) |
|
var c1D=_oz(z,117,fWD,oVD,gg) |
|
_(oZD,c1D) |
|
_(cXD,oZD) |
|
return cXD |
|
} |
|
oTD.wxXCkey=2 |
|
_2z(z,113,xUD,lOD,oND,gg,oTD,'name','indexName','indexName') |
|
_(eRD,bSD) |
|
var o2D=_n('text') |
|
_rz(z,o2D,'class',118,lOD,oND,gg) |
|
var l3D=_v() |
|
_(o2D,l3D) |
|
var a4D=function(e6D,t5D,b7D,gg){ |
|
var x9D=_mz(z,'text',['class',123,'style',1],[],e6D,t5D,gg) |
|
var o0D=_oz(z,125,e6D,t5D,gg) |
|
_(x9D,o0D) |
|
_(b7D,x9D) |
|
return b7D |
|
} |
|
l3D.wxXCkey=2 |
|
_2z(z,121,a4D,lOD,oND,gg,l3D,'nameEn','indexName','indexName') |
|
_(eRD,o2D) |
|
var fAE=_n('text') |
|
_rz(z,fAE,'class',126,lOD,oND,gg) |
|
var cBE=_v() |
|
_(fAE,cBE) |
|
var hCE=function(cEE,oDE,oFE,gg){ |
|
var aHE=_mz(z,'text',['class',131,'style',1],[],cEE,oDE,gg) |
|
var tIE=_oz(z,133,cEE,oDE,gg) |
|
_(aHE,tIE) |
|
_(oFE,aHE) |
|
return oFE |
|
} |
|
cBE.wxXCkey=2 |
|
_2z(z,129,hCE,lOD,oND,gg,cBE,'Imoney','indexName','indexName') |
|
_(eRD,fAE) |
|
_(aPD,eRD) |
|
return aPD |
|
} |
|
oLD.wxXCkey=2 |
|
_2z(z,107,cMD,e,s,gg,oLD,'coffee','index','index') |
|
_(b9B,xGD) |
|
_(e8B,b9B) |
|
_(o4,e8B) |
|
_(r,o4) |
|
return r |
|
} |
|
e_[x[3]]={f:m3,j:[],i:[],ti:[],ic:[]} |
|
if(path&&e_[path]){ |
|
window.__wxml_comp_version__=0.02 |
|
return function(env,dd,global){$gwxc=0;var root={"tag":"wx-page"};root.children=[] |
|
var main=e_[path].f |
|
if (typeof global==="undefined")global={};global.f=$gdc(f_[path],"",1); |
|
if(typeof(window.__webview_engine_version__)!='undefined'&&window.__webview_engine_version__+1e-6>=0.02+1e-6&&window.__mergeData__) |
|
{ |
|
env=window.__mergeData__(env,dd); |
|
} |
|
try{ |
|
main(env,{},root,global); |
|
_tsd(root) |
|
if(typeof(window.__webview_engine_version__)=='undefined'|| window.__webview_engine_version__+1e-6<0.01+1e-6){return _ev(root);} |
|
}catch(err){ |
|
console.log(err) |
|
} |
|
return root; |
|
} |
|
} |
|
} |
|
|
|
|
|
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],],["@font-face { font-family: \x27iconfont\x27; src: url(\x27//at.alicdn.com/t/font_1211732_2c0v1cntckq.eot\x27); src: url(\x27//at.alicdn.com/t/font_1211732_2c0v1cntckq.eot?#iefix\x27) format(\x27embedded-opentype\x27),\r\n url(\x27//at.alicdn.com/t/font_1211732_2c0v1cntckq.woff2\x27) format(\x27woff2\x27),\r\n url(\x27//at.alicdn.com/t/font_1211732_2c0v1cntckq.woff\x27) format(\x27woff\x27),\r\n url(\x27//at.alicdn.com/t/font_1211732_2c0v1cntckq.ttf\x27) format(\x27truetype\x27),\r\n url(\x27//at.alicdn.com/t/font_1211732_2c0v1cntckq.svg#iconfont\x27) format(\x27svg\x27); }\n.",[1],"iconfont { font-family: \x22iconfont\x22 !important; font-size: ",[0,33.33],"; font-style: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }\n.",[1],"iconnew:before { content: \x22\\E63D\x22; }\n.",[1],"icondztj:before { content: \x22\\E63E\x22; }\n.",[1],"iconwallet:before { content: \x22\\E641\x22; }\n.",[1],"iconzfbpay:before { content: \x22\\E643\x22; }\n.",[1],"iconalipaylogo:before { content: \x22\\E648\x22; }\n.",[1],"iconwechatlogo:before { content: \x22\\E647\x22; }\n.",[1],"iconpayok:before { content: \x22\\E644\x22; }\n.",[1],"iconjian:before { content: \x22\\E663\x22; }\nbody { background-color: #F7F7F7; }\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]],undefined,{path:"./app.wxss"})(); |
|
|
|
__wxAppCode__['app.wxss']=setCssToHead([[2,0]],undefined,{path:"./app.wxss"}); |
|
__wxAppCode__['app.wxml']=$gwx('./app.wxml'); |
|
|
|
__wxAppCode__['node-modules/tki-qrcode/components/tki-qrcode/tki-qrcode.wxss']=setCssToHead([".",[1],"_qrCode { position: relative; }\n.",[1],"_qrCodeCanvas { position: fixed; top: ",[0,-99999],"; left: ",[0,-99999],"; z-index: -99999; }\n",],undefined,{path:"./node-modules/tki-qrcode/components/tki-qrcode/tki-qrcode.wxss"}); |
|
__wxAppCode__['node-modules/tki-qrcode/components/tki-qrcode/tki-qrcode.wxml']=$gwx('./node-modules/tki-qrcode/components/tki-qrcode/tki-qrcode.wxml'); |
|
|
|
__wxAppCode__['pages/confirm-code/confirm-code.wxss']=setCssToHead(["body{ background: #f5f5f5; }\n.",[1],"code-view{ position: absolute; left: calc(50% - ",[0,50],"); top: calc(50% - ",[0,60],"); width: ",[0,100],"; height: ",[0,100],"; }\n.",[1],"code-text{ position: absolute; width: ",[0,100],"; text-align: center; font-size:",[0,10.41],"; left: calc(50% - ",[0,50],"); top: calc(50% + ",[0,60],"); display: block; }\n",],undefined,{path:"./pages/confirm-code/confirm-code.wxss"}); |
|
__wxAppCode__['pages/confirm-code/confirm-code.wxml']=$gwx('./pages/confirm-code/confirm-code.wxml'); |
|
|
|
__wxAppCode__['pages/menu/menu.wxss']=setCssToHead([".",[1],"menu-div { width: 100%; height: 100%; }\n.",[1],"workspace { width: 100%; position: relative; backgroundRepeat: \x27no-repeat\x27; }\n.",[1],"template-item { background-size: 100% 100% !important; }\n.",[1],"qrimg { opacity: 0; width: 0; height: 0; }\n",],undefined,{path:"./pages/menu/menu.wxss"}); |
|
__wxAppCode__['pages/menu/menu.wxml']=$gwx('./pages/menu/menu.wxml'); |
|
|
|
__wxAppCode__['pages/store-commodity/store-commodity.wxss']=setCssToHead(["body { width: 100%; height: 100%; }\n.",[1],"content { width: 100%; height: 100%; }\n.",[1],"content-left { width: 18.69%; height: 100%; background-size: 100% 100%; float: left; }\n.",[1],"content-right { width: 81.31%; height: 100%; background-size: 100% 100%; float: left; }\n.",[1],"content-left-black { width: 100%; background:rgba(0,0,0,0.7); }\n.",[1],"content-right-black { width: 100%; background:rgba(0,0,0,0.85); }\n.",[1],"interval-view-one { width: 100%; height: 11%; }\n.",[1],"content-left-discounts { margin-left: 8.36%; font-size: 28%; font-family:FZLTZHK--GBK1-0; color:rgba(255,255,255,1); float: left; }\n.",[1],"content-left-discounts-1 { width: 100%; font-size: 28%; font-family:FZLTZHK--GBK1-0; color:rgba(255,255,255,1); text-align: center; float: left; margin-top: 20%; }\n.",[1],"content-left-discounts-2 { margin-top: 60%; }\n.",[1],"content-push-money { color: #E26910; }\n.",[1],"interval-view-two { width: 100%; height: 1.61%; float: left; }\n.",[1],"interval-view-three { width: 100%; height: 4.51%; float: left; }\n.",[1],"wx-code-view { width: 79.38%; height: 26.38%; margin-top: 8.51%; margin: 0 auto; clear: left; background: #FFFFFF; }\n.",[1],"wx-code { width: 70.71%; height: 70.71%; margin-left: 15.08%; margin-top: 9.82%; }\n.",[1],"code-remark { width: 100%; font-size:24%; font-family:PingFangSC-Regular; color:rgba(3,3,3,1); text-align: center; margin-top: -2%; line-height: 20.35%; float: left; }\n.",[1],"interval-view-four { height: 4.5%; width: 100%; float: left; }\n.",[1],"content-left-discounts-botton { margin-left: 2.78%; }\n.",[1],"tea-view { width:57.42%; height: 100%; float: left; }\n.",[1],"tea-title-view { width: 100%; height: 11.94%; }\n.",[1],"tea-image { width: 7.8%; height: 87.59%; margin-top: 0; margin-left: 18.39%; float: left; }\n.",[1],"tea-title { font-size:30%; font-family:FZLTZHK--GBK1-0; font-weight:600; color:rgba(255,255,255,1); margin-left: 10.81%; margin-top: 4.72%; float: left; }\n.",[1],"tea-list { width: 100%; height: 6.75%; position: relative; }\n.",[1],"tea-name { font-size:30%; font-family:FZLTZHK--GBK1-0; font-weight:600; color:rgba(255,255,255,1); position: absolute; left: 7.8%; }\n.",[1],"tea-name-en { font-size: 20%; font-family:FZLTZHK--GBK1-0; font-weight:600; color:rgba(255,255,255,1); position: absolute; left: 39.13%; top: 16%; }\n.",[1],"tea-money { font-size:24%; font-family:PingFangSC-Medium; font-weight:500; color:rgba(255,255,255,1); position: absolute; right: 16.38%; top: 9.58%; }\n.",[1],"commodity-new { width: 5.46%; height: 78.68%; position: absolute; right: 10.36%; }\n.",[1],"commodity-dztj { width: 4.01%; height: 62.29%; position: absolute; right: 11.48%; }\n.",[1],"coffee-view { width: 42.58%; height: 100%; float: left; }\n.",[1],"coffee-title { margin-left: 30.97%; }\n.",[1],"coffee-image { width: 13.83%; height: 89.92%; margin-left: 3.75%; }\n.",[1],"coffee-name { left: 0; }\n.",[1],"coffee-name-en { left: 40.45%; }\n.",[1],"coffee-money { right: 9.77%; }\n.",[1],"hot-view { width: 115.33%; height: 33.7%; margin-left: -15.33%; margin-top: -3.42%; background: url(../../static/img/hua.96659191.png-do-not-use-local-path-./pages/store-commodity/store-commodity.wxss\x26195\x2614); background-size: 100% 100%; position: relative; }\n.",[1],"hot-title { font-size:36%; font-family:HannotateSC-W5; font-weight:bold; color:rgba(247,128,22,1); position: absolute; left: 26.33%; top: 21.7%; }\n.",[1],"hot-list-view { width: 100%; height: 61.27%; position: absolute; left: 0; top: 38.73%; }\n.",[1],"hot-list { width: 100%; height: 28.25%; position: relative; }\n.",[1],"hot-name { font-size:18%; font-family:FZLTZHK--GBK1-0; font-weight:600; color:rgba(255,255,255,1); position: absolute; left: 30.37%; }\n.",[1],"hot-nameEn { font-size:15%; font-family:FZLTZHK--GBK1-0; font-weight:600; color:rgba(255,255,255,1); position: absolute; left: 30.37%; top: 44.44%; }\n.",[1],"hot-money { font-size:15%; font-family:PingFangSC-Medium; font-weight:500; color:rgba(255,255,255,1); position: absolute; right: 13.03%; }\n.",[1],"qrimg { opacity: 0; width: 0; height: 0; }\n.",[1],"tea-name-font { float: left; }\n@-webkit-keyframes style1 { from, 20%, 53%, 80%, to { -webkit-animation-timing-function: cubic-bezier(0.5, 0.5, 1.000, 1.000); animation-timing-function: cubic-bezier(0.5, 0.5, 1.000, 1.000); -webkit-transform: translate3d(0,0.5,0.1); transform: translate3d(0,0.5,0.1); }\n40%, 43% { -webkit-animation-timing-function: cubic-bezier(0.5, 0.5, 1.000, 1.000); animation-timing-function: cubic-bezier(0.5, 0.5, 1.000, 1.000); -webkit-transform: translate3d(0px, -80%, 0); transform: translate3d(0px, -80%, 0); }\n}@keyframes style1 { from, 20%, 53%, 80%, to { -webkit-animation-timing-function: cubic-bezier(0.5, 0.5, 1.000, 1.000); animation-timing-function: cubic-bezier(0.5, 0.5, 1.000, 1.000); -webkit-transform: translate3d(0,0.5,0.1); transform: translate3d(0,0.5,0.1); }\n40%, 43% { -webkit-animation-timing-function: cubic-bezier(0.5, 0.5, 1.000, 1.000); animation-timing-function: cubic-bezier(0.5, 0.5, 1.000, 1.000); -webkit-transform: translate3d(0px, -80%, 0); transform: translate3d(0px, -80%, 0); }\n}.",[1],"animation-font { -webkit-animation-duration: 0.32s; animation-duration: 0.32s; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-name: style1; animation-name: style1; }\n",],undefined,{path:"./pages/store-commodity/store-commodity.wxss"}); |
|
__wxAppCode__['pages/store-commodity/store-commodity.wxml']=$gwx('./pages/store-commodity/store-commodity.wxml'); |
|
|
|
;var __pageFrameEndTime__ = Date.now(); |
|
(function() { |
|
window.UniLaunchWebviewReady = function(isWebviewReady){ |
|
// !isWebviewReady && console.log('launchWebview fallback ready') |
|
plus.webview.postMessageToUniNView({type: 'UniWebviewReady-' + plus.webview.currentWebview().id}, '__uniapp__service'); |
|
} |
|
UniLaunchWebviewReady(true); |
|
})();
|
|
|