1 line
10 KiB
JavaScript
1 line
10 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-071e285c"],{"113f":function(e,t,a){var i=a("24fb");t=i(!1),t.push([e.i,'#signLunch .page[data-v-fafa4eec]{background:#f9fbfc;min-height:100vh}#signLunch .container[data-v-fafa4eec]{position:relative;width:21.563rem;padding:.65rem .56rem .906rem;margin:0 auto;background-color:#fff;border-radius:.469rem}#signLunch .container .container-title[data-v-fafa4eec]{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;font-weight:700;padding-left:.469rem;font-size:.813rem;color:#198bfb}#signLunch .container .container-title[data-v-fafa4eec]:before{position:absolute;left:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);content:" ";display:block;width:.125rem;height:.7rem;background:#198bfb}#signLunch .templateInfo .templateInfo-item[data-v-fafa4eec]{height:4rem;padding-top:.9rem;border-bottom:.051rem solid #f6f6f6}#signLunch .templateInfo .templateInfo-item .desc[data-v-fafa4eec]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#signLunch .templateInfo .templateInfo-item .desc .icon-fontclass-xinghao[data-v-fafa4eec]{color:#f64747;font-size:.75rem}#signLunch .templateInfo .templateInfo-item .desc span[data-v-fafa4eec]{margin-left:.3rem;font-size:.813rem;color:#171717}#signLunch .templateInfo .templateInfo-item .input[data-v-fafa4eec]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding-top:.3rem;padding-left:.3rem}#signLunch .templateInfo .templateInfo-item .input input[data-v-fafa4eec],#signLunch .templateInfo .templateInfo-item .input span[data-v-fafa4eec]{text-align:left;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;border:none;font-size:.938rem}#signLunch .button[data-v-fafa4eec]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-transition:.3s;transition:.3s}#signLunch .button[data-v-fafa4eec]:active{-webkit-filter:brightness(.8);filter:brightness(.8)}#signLunch .header[data-v-fafa4eec]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:23.438rem;padding:1.531rem .938rem 2.531rem;background-image:url(https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/sign_index_header_bg.png);background-size:cover;background-repeat:no-repeat}#signLunch .header .face[data-v-fafa4eec],#signLunch .header .face img[data-v-fafa4eec]{width:3.125rem;height:3.125rem;border-radius:50%}#signLunch .header .header-box[data-v-fafa4eec]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;padding-left:.625rem;text-align:left}#signLunch .header .header-box .nickname[data-v-fafa4eec]{margin-bottom:.2rem;font-size:1rem;color:#fff}#signLunch .header .header-box .desc[data-v-fafa4eec]{margin-top:.2rem;font-size:.75rem}#signLunch .header .header-box .desc[data-v-fafa4eec],#signLunch .header .header-box .desc .label[data-v-fafa4eec]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;color:#fff}#signLunch .header .header-box .desc .label[data-v-fafa4eec]{padding:.15rem .4rem;line-height:1rem;margin-left:.594rem;background-color:#0c73c6;border-radius:.547rem}#signLunch .container .fixed-btn[data-v-fafa4eec],#signLunch .header .header-box .desc .label[data-v-fafa4eec]{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-size:.625rem}#signLunch .container .fixed-btn[data-v-fafa4eec]{position:absolute;top:.6rem;right:.75rem;width:3.75rem;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:1.406rem;color:#fa761d;border-radius:.188rem;border:.063rem solid #fa761d}#signLunch .container .container-box[data-v-fafa4eec],#signLunch .container .fixed-btn[data-v-fafa4eec]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#signLunch .container .container-box[data-v-fafa4eec]{-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;margin-top:1rem}#signLunch .container .container-box .container-flex .num[data-v-fafa4eec]{font-weight:700;font-size:.875rem;color:#282828}#signLunch .container .container-box .container-flex .desc[data-v-fafa4eec]{margin-top:.425rem;font-size:.688rem;color:#4f4f4f}#signLunch .myContract[data-v-fafa4eec]{margin-top:-1.5rem}#signLunch .companyContract[data-v-fafa4eec],#signLunch .contractBill[data-v-fafa4eec]{margin-top:.625rem}.v-leave[data-v-fafa4eec]{opacity:1;width:6.313rem}.v-leave-active[data-v-fafa4eec]{opacity:0;width:0!important;-webkit-transition:all .5s;transition:all .5s}',""]),e.exports=t},"27e0":function(e,t,a){var i=a("113f");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=a("499e").default;n("c180a8a4",i,!0,{sourceMap:!1,shadowMode:!1})},ac0d:function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var i=document.documentElement,n=document.body,s={data:function(){return{}},activated:function(){window.addEventListener("scroll",this.handleScroll)},deactivated:function(){window.removeEventListener("scroll",this.handleScroll)},methods:{getScrollTop:function(){var e=0;return i&&i.scrollTop?e=i.scrollTop:n&&(e=n.scrollTop),e},getClientHeight:function(){var e=0;return e=n.clientHeight&&i.clientHeight?Math.min(n.clientHeight,i.clientHeight):Math.max(n.clientHeight,i.clientHeight),e},getScrollHeight:function(){return Math.max(n.scrollHeight,i.scrollHeight)},handleScroll:function(){this.otherScroll();var e=document.documentElement.scrollTop||document.body.scrollTop;this.btnFlag=e>60,this.getScrollTop()+this.getClientHeight()+105>this.getScrollHeight()?(this.isLoadMore&&this.getMoreData(),this.isBottom=!0):this.isBottom=!1},otherScroll:function(){}}}},d6c8:function(e,t,a){"use strict";a("27e0")},e9df:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page",attrs:{id:"signLunch"}},[a("c-title",{attrs:{text:"合同中心"}}),e.member.nickname?a("div",{staticClass:"header"},[a("div",{staticClass:"face"},[a("img",{attrs:{src:e.member.avatar,alt:""}})]),a("div",{staticClass:"header-box"},[a("div",{staticClass:"nickname"},[e._v(e._s(e.member.nickname))]),a("div",{staticClass:"desc",on:{click:e.toSign}},[a("div",{staticClass:"name"},[e._v(e._s(e.member.realname))]),a("div",{staticClass:"label"},[e._v(e._s(1==e.details.person_status?"已认证":"个人未认证"))])])])]):e._e(),a("div",{staticClass:"container myContract"},[a("div",{staticClass:"container-title"},[e._v("我的合同")]),a("div",{staticClass:"container-box"},[a("div",{staticClass:"container-flex",on:{click:function(t){return e.gotoPages("contractList",{},{status:0})}}},[a("div",{staticClass:"num"},[e._v(e._s(e.my_contract.all_count))]),a("div",{staticClass:"desc"},[e._v("全部合同")])]),a("div",{staticClass:"container-flex",on:{click:function(t){return e.gotoPages("contractList",{},{status:3})}}},[a("div",{staticClass:"num"},[e._v(e._s(e.my_contract.self_no_sign))]),a("div",{staticClass:"desc"},[e._v("待我签署")])]),a("div",{staticClass:"container-flex",on:{click:function(t){return e.gotoPages("contractList",{},{status:1})}}},[a("div",{staticClass:"num"},[e._v(e._s(e.my_contract.self_signed))]),a("div",{staticClass:"desc"},[e._v("我已签署")])]),a("div",{staticClass:"container-flex",on:{click:function(t){return e.gotoPages("contractList",{},{status:2})}}},[a("div",{staticClass:"num"},[e._v(e._s(e.my_contract.finish_count))]),a("div",{staticClass:"desc"},[e._v("已完成")])]),a("div",{staticClass:"container-flex",on:{click:function(t){return e.gotoPages("contractList",{},{status:4})}}},[a("div",{staticClass:"num"},[e._v(e._s(e.my_contract.over_time_count))]),a("div",{staticClass:"desc"},[e._v("已超时")])])])]),a("div",{staticClass:"container contractBill"},[a("div",{staticClass:"container-title"},[e._v("合同账单")]),a("div",{staticClass:"fixed-btn",on:{click:function(t){return e.gotoPages("searchAll",{},{plugin_id:"103"})}}},[e._v("购买合同")]),a("div",{staticClass:"container-box"},[a("div",{staticClass:"container-flex",on:{click:function(t){return e.gotoPages("contractBills")}}},[a("div",{staticClass:"num"},[e._v(e._s(e.contract_bill.contract_num_sum))]),a("div",{staticClass:"desc"},[e._v("购买数量")])]),a("div",{staticClass:"container-flex",on:{click:function(t){return e.gotoPages("contractBills")}}},[a("div",{staticClass:"num"},[e._v(e._s(e.contract_bill.use_num_sum))]),a("div",{staticClass:"desc"},[e._v("已使用数量")])]),a("div",{staticClass:"container-flex",on:{click:function(t){return e.gotoPages("contractBills")}}},[a("div",{staticClass:"num"},[e._v(e._s(e.contract_bill.rest_num_sum))]),a("div",{staticClass:"desc"},[e._v("可使用数量")])])])]),a("div",{staticStyle:{height:"2rem"}})],1)},n=[],s=a("5530"),c=(a("14d9"),a("ac0d")),o={mixins:[c["a"]],data:function(){return{member:{},details:{},my_contract:{},contract_bill:{},sign_cid:"0"}},activated:function(){this.sign_cid=this.fun.getKey("cid"),this.getDetails()},methods:{toSign:function(){1!=this.details.person_status&&this.$router.push(this.fun.getUrl("personBank"))},gotoPages:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=Object(s["a"])({},a);this.sign_cid&&(i.cid=this.sign_cid),this.$router.push(this.fun.getUrl(e,t,i))},getDetails:function(){var e=this;$http.get("plugin.yun-sign.frontend.h5.member.personIndex",{cid:this.sign_cid},"loading").then((function(t){if(1!=t.result)return e.$toast(t.msg);e.details=t.data,e.member=t.data.member,e.my_contract=t.data.my_contract||{},e.contract_bill=t.data.contract_bill||[]}))}}},r=o,l=(a("d6c8"),a("2877")),d=Object(l["a"])(r,i,n,!1,null,"fafa4eec",null);t["default"]=d.exports}}]); |