"use weex:vue";

if (typeof Promise !== 'undefined' && !Promise.prototype.finally) {
  Promise.prototype.finally = function(callback) {
    const promise = this.constructor
    return this.then(
      value => promise.resolve(callback()).then(() => value),
      reason => promise.resolve(callback()).then(() => {
        throw reason
      })
    )
  }
};

if (typeof uni !== 'undefined' && uni && uni.requireGlobal) {
  const global = uni.requireGlobal()
  ArrayBuffer = global.ArrayBuffer
  Int8Array = global.Int8Array
  Uint8Array = global.Uint8Array
  Uint8ClampedArray = global.Uint8ClampedArray
  Int16Array = global.Int16Array
  Uint16Array = global.Uint16Array
  Int32Array = global.Int32Array
  Uint32Array = global.Uint32Array
  Float32Array = global.Float32Array
  Float64Array = global.Float64Array
  BigInt64Array = global.BigInt64Array
  BigUint64Array = global.BigUint64Array
};


(()=>{var d=Object.create;var g=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var x=Object.getPrototypeOf,b=Object.prototype.hasOwnProperty;var m=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var v=(e,t,i,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of f(t))!b.call(e,o)&&o!==i&&g(e,o,{get:()=>t[o],enumerable:!(s=w(t,o))||s.enumerable});return e};var y=(e,t,i)=>(i=e!=null?d(x(e)):{},v(t||!e||!e.__esModule?g(i,"default",{value:e,enumerable:!0}):i,e));var p=m((C,h)=>{h.exports=Vue});var r=y(p());var u=(e,t)=>{let i=e.__vccOpts||e;for(let[s,o]of t)i[s]=o;return i};var _={flexrow:{"":{flexDirection:"row",alignItems:"center"}},bheader:{"":{width:"750rpx",zIndex:5,justifyContent:"space-between",paddingTop:0,paddingRight:"32rpx",paddingBottom:0,paddingLeft:"32rpx",height:"88rpx"}},hviewL:{"":{height:"58rpx"}},goback:{"":{width:"48rpx",height:"48rpx",alignItems:"center",justifyContent:"center"}},backicon:{"":{width:"24rpx",height:"24rpx",borderTopWidth:"3rpx",borderTopStyle:"solid",borderTopColor:"#333333",borderLeftWidth:"3rpx",borderLeftStyle:"solid",borderLeftColor:"#333333",transform:"rotateZ(-45deg)",marginLeft:"3rpx"}},tittag:{"":{alignItems:"center"}},tit:{".tittag ":{color:"#333333",marginTop:0,marginRight:"20rpx",marginBottom:0,marginLeft:"20rpx",fontSize:"30rpx"}},cur:{".tittag ":{fontSize:"36rpx",fontWeight:"bold"}},bt:{".tittag ":{width:"24rpx",height:"8rpx",borderRadius:"4rpx",backgroundColor:"#FF0005"}},bigbox:{"":{flex:1,width:"750rpx"}},hright:{"":{opacity:0}},box:{"":{flex:1,backgroundColor:"#ffffff"}}},B={data(){return{webviewStyles:{progress:{color:"#FF3333"}},iStatusBarHeight:0,scrollHeight:0,windowHeight:0,windowWidth:0,windowScale:1,modelid:""}},onLoad(e){let t=uni.getSystemInfoSync();this.iStatusBarHeight=t.statusBarHeight,this.windowHeight=t.windowHeight-88/this.windowScale,this.windowWidth=t.windowWidth,this.windowScale=750/this.windowWidth,this.scrollHeight=88/this.windowScale+this.iStatusBarHeight,this.modelid=e.id},onBackPress(e){return e.from==="navigateBack"?!1:(this.goBack(),!0)},methods:{goBack(){let e=getCurrentPages(),t=e[e.length-2].route,i=0;for(var s=0;s<e.length;s++)if(e[s].$page.fullPath.search(/zhcontrast/i)!=-1){i=e.length-s;break}t.includes("/parameter")?uni.navigateBack({delta:i}):uni.navigateBack()},goPkParameter(){let e=this.modelid.replace(/_/g,",");uni.navigateTo({url:"/pages/bseries/parameter?ids="+e,animationType:"none"})}}};function k(e,t,i,s,o,l){return(0,r.openBlock)(),(0,r.createElementBlock)("scroll-view",{scrollY:!0,showScrollbar:!0,enableBackToTop:!0,bubble:"true",style:{flexDirection:"column"}},[(0,r.createElementVNode)("view",{style:(0,r.normalizeStyle)("height:"+o.iStatusBarHeight+"px")},null,4),(0,r.createElementVNode)("view",{class:"bigbox"},[(0,r.createElementVNode)("view",{class:"bheader flexrow"},[(0,r.createElementVNode)("view",{class:"hviewL flexrow"},[(0,r.createElementVNode)("view",{class:"goback",onClick:t[0]||(t[0]=c=>l.goBack())},[(0,r.createElementVNode)("view",{class:"backicon"})])]),(0,r.createElementVNode)("view",{class:"flexrow"},[(0,r.createElementVNode)("view",{class:"tittag"},[(0,r.createElementVNode)("u-text",{class:"tit cur"},"\u7EFC\u5408\u5BF9\u6BD4"),(0,r.createElementVNode)("view",{class:"bt"})]),(0,r.createElementVNode)("view",{class:"tittag",onClick:t[1]||(t[1]=(...c)=>l.goPkParameter&&l.goPkParameter(...c))},[(0,r.createElementVNode)("u-text",{class:"tit"},"\u53C2\u914D\u5BF9\u6BD4")])]),(0,r.createElementVNode)("u-text",{class:"hright"},"\u5BF9\u6BD4")]),(0,r.createElementVNode)("u-web-view",{class:"box",style:(0,r.normalizeStyle)({height:o.windowHeight+"px"}),updateTitle:"true",webviewStyles:o.webviewStyles,src:"/hybrid/html/zhcontrast.html?type=hedge&statusBarHeight="+o.iStatusBarHeight+"&pkid="+o.modelid},null,12,["webviewStyles","src"])])])}var a=u(B,[["render",k],["styles",[_]]]);var n=plus.webview.currentWebview();if(n){let e=parseInt(n.id),t="pages/bseries/zhcontrast",i={};try{i=JSON.parse(n.__query__)}catch(o){}a.mpType="page";let s=Vue.createPageApp(a,{$store:getApp({allowDefault:!0}).$store,__pageId:e,__pagePath:t,__pageQuery:i});s.provide("__globalStyles",Vue.useCssStyles([...__uniConfig.styles,...a.styles||[]])),s.mount("#root")}})();
