1 line
11 KiB
JavaScript
1 line
11 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-apply-index"],{"024a":function(t,e,n){var i=n("3c0b");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("3f2ac5bc",i,!0,{sourceMap:!1,shadowMode:!1})},2082:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticStyle:{"background-color":"#ffffff"},style:{height:this.statusBarHeight}})},o=[]},"2acf":function(t,e,n){"use strict";n.r(e);var i=n("44b1"),o=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},"3c0b":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,".apply-page[data-v-19bd8d1f]{padding:16px}.card-common[data-v-19bd8d1f]{border-radius:8px;box-shadow:0 0 4px 0 rgba(0,0,0,.1);margin-bottom:16px;overflow:hidden;padding-bottom:2px}.card-common .card-title[data-v-19bd8d1f]{display:flex;flex-direction:row;background:#fff;justify-content:space-between;align-items:center;padding:16px 16px 12px}.card-common .card-title .title[data-v-19bd8d1f]{color:#333;font-size:16px;line-height:20px;font-weight:700}.card-common .card-title .action .text[data-v-19bd8d1f]{font-size:14px;color:#999;line-height:20px;margin-right:8px}.card-common .card-body[data-v-19bd8d1f]{display:flex;\n\t/*justify-content: space-between;*/flex-wrap:wrap;flex-direction:row;font-size:13px}.card-common .card-body .item[data-v-19bd8d1f]{width:25%;display:flex;flex-direction:column;justify-content:center;align-items:center;margin-bottom:14px}\n\n/*.card-common .card-body .item:last-child:nth-child(4n - 1) {*/\n\n/* margin-right: calc(24% + 4% / 3);*/\n\n/*}*/\n\n/*.card-common .card-body .item:last-child:nth-child(4n - 2) {*/\n\n/* margin-right: calc(48% + 8% / 3);*/\n\n/*}*/.card-common .card-body .item uni-image[data-v-19bd8d1f]{width:40px;height:40px;margin-bottom:6px}.card-common .card-body .item .item-name[data-v-19bd8d1f]{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;text-align:center;white-space:nowrap}.card-common .card-body .item .text[data-v-19bd8d1f]{font-size:14px;line-height:20px;font-weight:500;color:#333}",""]),t.exports=e},"3c3d":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,".status_bar[data-v-1b65e230]{\n\t/* width: 100%; */background-color:#fff}.nav-main[data-v-1b65e230]{\n\t/* position: fixed; */padding:7px 3px;text-align:center;overflow:hidden;box-sizing:border-box;z-index:998;background-color:#fff\n\t/* width: 100%; */}.title-info[data-v-1b65e230]{display:flex;align-items:center;justify-content:center;color:#000;text-align:center;line-height:30px\n\t/* font-weight: bold; */}.nav-main-title[data-v-1b65e230]{color:#000;font-size:32px}",""]),t.exports=e},"3fe6":function(t,e,n){"use strict";var i=n("024a"),o=n.n(i);o.a},"44b1":function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n("c7eb")),a=i(n("1da1"));n("2c3e"),n("a9e3");var r=i(n("48c9")),c={name:"u-sticky",mixins:[uni.$u.mpMixin,uni.$u.mixin,r.default],data:function(){return{cssSticky:!1,stickyTop:0,elId:uni.$u.guid(),left:0,width:"auto",height:"auto",fixed:!1}},computed:{style:function(){var t={};return this.disabled?t.position="static":this.cssSticky?(t.position="sticky",t.zIndex=this.uZindex,t.top=uni.$u.addUnit(this.stickyTop)):t.height=this.fixed?this.height+"px":"auto",t.backgroundColor=this.bgColor,uni.$u.deepMerge(uni.$u.addStyle(this.customStyle),t)},stickyContent:function(){var t={};return this.cssSticky||(t.position=this.fixed?"fixed":"static",t.top=this.stickyTop+"px",t.left=this.left+"px",t.width="auto"==this.width?"auto":this.width+"px",t.zIndex=this.uZindex),t},uZindex:function(){return this.zIndex?this.zIndex:uni.$u.zIndex.sticky}},mounted:function(){this.init()},methods:{init:function(){this.getStickyTop(),this.checkSupportCssSticky(),this.cssSticky||!this.disabled&&this.initObserveContent()},initObserveContent:function(){var t=this;this.$uGetRect("#"+this.elId).then((function(e){t.height=e.height,t.left=e.left,t.width=e.width,t.$nextTick((function(){t.observeContent()}))}))},observeContent:function(){var t=this;this.disconnectObserver("contentObserver");var e=uni.createIntersectionObserver({thresholds:[.95,.98,1]});e.relativeToViewport({top:-this.stickyTop}),e.observe("#".concat(this.elId),(function(e){t.setFixed(e.boundingClientRect.top)})),this.contentObserver=e},setFixed:function(t){var e=t<=this.stickyTop;this.fixed=e},disconnectObserver:function(t){var e=this[t];e&&e.disconnect()},getStickyTop:function(){this.stickyTop=uni.$u.getPx(this.offsetTop)+uni.$u.getPx(this.customNavHeight)},checkSupportCssSticky:function(){var t=this;return(0,a.default)((0,o.default)().mark((function e(){return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.checkCssStickyForH5()&&(t.cssSticky=!0),"android"===uni.$u.os()&&Number(uni.$u.sys().system)>8&&(t.cssSticky=!0),"ios"===uni.$u.os()&&(t.cssSticky=!0);case 3:case"end":return e.stop()}}),e)})))()},checkComputedStyle:function(){},checkCssStickyForH5:function(){for(var t=["","-webkit-","-ms-","-moz-","-o-"],e=t.length,n=document.createElement("div"),i=0;i<e;i++)if(n.style.position=t[i]+"sticky",""!==n.style.position)return!0;return!1}},beforeDestroy:function(){this.disconnectObserver("contentObserver")}};e.default=c},"48c9":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("a9e3"),n("2c3e");var i={props:{offsetTop:{type:[String,Number],default:uni.$u.props.sticky.offsetTop},customNavHeight:{type:[String,Number],default:44},disabled:{type:Boolean,default:uni.$u.props.sticky.disabled},bgColor:{type:String,default:uni.$u.props.sticky.bgColor},zIndex:{type:[String,Number],default:uni.$u.props.sticky.zIndex},index:{type:[String,Number],default:uni.$u.props.sticky.index}}};e.default=i},"5f06":function(t,e,n){"use strict";n.r(e);var i=n("9fa5"),o=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},6144:function(t,e,n){var i=n("3c3d");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("21f40fe0",i,!0,{sourceMap:!1,shadowMode:!1})},"646b":function(t,e,n){"use strict";n.r(e);var i=n("d143"),o=n("2acf");for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("dc65");var r=n("f0c5"),c=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"700823a7",null,!1,i["a"],void 0);e["default"]=c.exports},"71a0":function(t,e,n){"use strict";n.r(e);var i=n("a312"),o=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},"72ea":function(t,e,n){"use strict";var i=n("6144"),o=n.n(i);o.a},8986:function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";@font-face{font-family:iconfont;src:url(/static/iconfont/iconfont.woff?t=1545807318834) format("woff"),url(/static/iconfont/iconfont.ttf?t=1545807318834) format("truetype")}\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */\r\n/* uView */',""]),t.exports=e},"8b40":function(t,e,n){"use strict";n.r(e);var i=n("2082"),o=n("71a0");for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("72ea");var r=n("f0c5"),c=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"1b65e230",null,!1,i["a"],void 0);e["default"]=c.exports},"8bd9":function(t,e,n){"use strict";n.r(e);var i=n("c8c7"),o=n("5f06");for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("3fe6");var r=n("f0c5"),c=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"19bd8d1f",null,!1,i["a"],void 0);e["default"]=c.exports},"9fa5":function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("4de4"),n("d3b7");var o=i(n("8b40")),a=(i(n("9560")),{components:{HeaderNav:o.default},data:function(){return{menus:[],collapse:[]}},onShow:function(){var t=uni.getStorageSync("appInfo");if(t&&t.Menus){var e=t.Menus.filter((function(t){return"功能"===t.Node.NAME}));this.menus=e[0]?e[0].Children:[]}},methods:{handleNavigateTo:function(t){uni.navigateTo({url:t})}},computed:{}});e.default=a},a312:function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("c975");var i={props:{title:{type:String,default:""}},data:function(){return{height:0,statusBarHeight:0,navBarHeight:0}},created:function(){var t=this;uni.getSystemInfo({success:function(e){-1!==e.model.indexOf("iPhone")?(t.navBarHeight="44px",t.height=e.statusBarHeight+44+"px"):(t.navBarHeight="48px",t.height=e.statusBarHeight+48+"px"),t.statusBarHeight=e.statusBarHeight+"px"}})},methods:{}};e.default=i},c8c7:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var i={uSticky:n("646b").default},o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("u-sticky",[n("HeaderNav",{attrs:{title:"功能"}})],1),n("v-uni-view",{staticClass:"apply-page"},t._l(t.menus,(function(e,i){return n("v-uni-view",{staticClass:"card-common",style:{height:"auto"}},[n("v-uni-view",{staticClass:"card-title"},[n("v-uni-text",{staticClass:"title"},[t._v(t._s(e.Node.NAME))])],1),n("v-uni-view",{staticClass:"card-body"},t._l(e.Children,(function(e){return n("v-uni-view",{staticClass:"item",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.handleNavigateTo(e.Node.MENU_FORM_PARAMS)}}},[n("v-uni-image",{attrs:{src:e.Node.ICON?"http://47.122.43.22:3199/icon/"+e.Node.ICON:"/static/logo_40_40.png"}}),n("v-uni-view",{staticClass:"item-name"},[n("v-uni-text",{staticClass:"text"},[t._v(t._s(e.Node.NAME))])],1)],1)})),1)],1)})),1)],1)},a=[]},d143:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"u-sticky",style:[this.style],attrs:{id:this.elId}},[e("v-uni-view",{staticClass:"u-sticky__content",style:[this.stickyContent]},[this._t("default")],2)],1)},o=[]},dc65:function(t,e,n){"use strict";var i=n("e5dc"),o=n.n(i);o.a},e5dc:function(t,e,n){var i=n("8986");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("6912a691",i,!0,{sourceMap:!1,shadowMode:!1})}}]); |