text: (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-update-update"],{2359:function(t,e,n){"use strict";n.r(e);var a=n("9732"),i=n("b66f");for(var u in i)"default"!==u&&function(t){n.d(e,t,(function(){return i[t]}))}(u);n("89d0");var r,l=n("f0c5"),s=Object(l["a"])(i["default"],a["b"],a["c"],!1,null,"0d51dd0f",null,!1,a["a"],r);e["default"]=s.exports},"3cce":function(t,e,n){var a=n("a9ee");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("9aa09710",a,!0,{sourceMap:!1,shadowMode:!1})},"6bf9":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n("e97a"),i=n("5d3d"),u={data:function(){return{saleChannel:"",update:"",showUpdate:!1}},onLoad:function(){this.saleChannel=(0,i.getChannel)(),this.handleGetUpdate()},onPullDownRefresh:function(){console.log("refresh"),this.showUpdate=!0,setTimeout((function(){uni.stopPullDownRefresh()}),1e3)},computed:{hasNewVersion:function(){var t=this.utils.version,e=this.$global.wdszVersion;return t>e}},methods:{handleGetUpdate:function(){var t=this;(0,a.getUpdate)().then((function(e){t.update=e})).catch((function(t){console.log(t)}))},downloadImage:function(){uni.showLoading({title:"下载中"});var t=this;uni.downloadFile({url:this.update.pkgUrl,success:function(e){console.log("downloadFile success, res is",e),t.imageSrc=e.tempFilePath,uni.hideLoading()},fail:function(t){console.log("downloadFile fail, err is:",t)}})},hideButton:function(){this.showUpdate=!1},handleUpdate:function(){}}};e.default=u},"89d0":function(t,e,n){"use strict";var a=n("3cce"),i=n.n(a);i.a},9732:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"summary-wrap"},[t.showUpdate?n("v-uni-view",[n("v-uni-button",{attrs:{type:"primary",plain:"true",size:"mini"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleUpdate.apply(void 0,arguments)}}},[t._v("更新")]),n("v-uni-text",{staticStyle:{width:"10upx",display:"inline-block"}}),n("v-uni-button",{attrs:{type:"primary",plain:"true",size:"mini"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.hideButton.apply(void 0,arguments)}}},[t._v("收起")])],1):t._e(),n("v-uni-view",{staticStyle:{"margin-top":"10px",color:"#1989fa"}},["test"===t.saleChannel?n("a",{attrs:{href:t.update.pkgUrl}},[n("v-uni-text",[t._v("点击下载辅助APP")])],1):t._e(),"1"===t.saleChannel?n("a",{attrs:{href:t.update.pkgUrl1}},[n("v-uni-text",[t._v("点击下载辅助APP")])],1):t._e(),"2"===t.saleChannel?n("a",{attrs:{href:t.update.pkgUrl2}},[n("v-uni-text",[t._v("点击下载辅助APP")])],1):t._e(),"3"===t.saleChannel?n("a",{attrs:{href:t.update.pkgUrl3}},[n("v-uni-text",[t._v("点击下载辅助APP")])],1):t._e(),"4"===t.saleChannel?n("a",{attrs:{href:t.update.pkgUrl4}},[n("v-uni-text",[t._v("点击下载辅助APP")])],1):t._e(),"5"===t.saleChannel?n("a",{attrs:{href:t.update.pkgUrl5}},[n("v-uni-text",[t._v("点击下载辅助APP")])],1):t._e(),"7"===t.saleChannel?n("a",{attrs:{href:t.update.pkgUrl7}},[n("v-uni-text",[t._v("点击下载辅助APP")])],1):t._e(),"8"===t.saleChannel?n("a",{attrs:{href:t.update.pkgUrl8}},[n("v-uni-text",[t._v("点击下载辅助APP")])],1):t._e(),"10"===t.saleChannel?n("a",{attrs:{href:t.update.pkgUrl10}},[n("v-uni-text",[t._v("点击下载辅助APP")])],1):t._e(),"11"===t.saleChannel?n("a",{attrs:{href:t.update.pkgUrl11}},[n("v-uni-text",[t._v("点击下载辅助APP")])],1):t._e(),"31"===t.saleChannel?n("a",{attrs:{href:t.update.pkgUrl31}},[n("v-uni-text",[t._v("点击下载辅助APP")])],1):t._e()]),n("v-uni-view",[t._v("更新说明：")]),n("v-uni-view",t._l(t.update.updateDescription,(function(e,a){return n("v-uni-view",{key:a},[n("v-uni-view",[t._v(t._s(e.title))]),t._l(e.content,(function(e,a){return n("v-uni-view",{key:a,staticClass:"summary-content"},[t._v(t._s(e))])}))],2)})),1)],1)],1)},u=[]},a9ee:function(t,e,n){var a=n("24fb");e=a(!1),e.push([t.i,".summary-wrap[data-v-0d51dd0f]{padding:0 %?15?%}.summary-content[data-v-0d51dd0f]{color:#969799}.highlight[data-v-0d51dd0f]{color:red}",""]),t.exports=e},b66f:function(t,e,n){"use strict";n.r(e);var a=n("6bf9"),i=n.n(a);for(var u in a)"default"!==u&&function(t){n.d(e,t,(function(){return a[t]}))}(u);e["default"]=i.a}}]);