1 line
10 KiB
JavaScript
1 line
10 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b76fd16c"],{"2d50":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'#signLunch .page[data-v-4fc34aaa]{background:#f9fbfc;min-height:100vh}#signLunch .container[data-v-4fc34aaa]{position:relative;width:21.563rem;padding:.65rem .56rem .906rem;margin:0 auto;background-color:#fff;border-radius:.469rem}#signLunch .container .container-title[data-v-4fc34aaa]{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-4fc34aaa]: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-4fc34aaa]{height:4rem;padding-top:.9rem;border-bottom:.051rem solid #f6f6f6}#signLunch .templateInfo .templateInfo-item .desc[data-v-4fc34aaa]{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-4fc34aaa]{color:#f64747;font-size:.75rem}#signLunch .templateInfo .templateInfo-item .desc span[data-v-4fc34aaa]{margin-left:.3rem;font-size:.813rem;color:#171717}#signLunch .templateInfo .templateInfo-item .input[data-v-4fc34aaa]{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-4fc34aaa],#signLunch .templateInfo .templateInfo-item .input span[data-v-4fc34aaa]{text-align:left;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;border:none;font-size:.938rem}#signLunch .button[data-v-4fc34aaa]{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-4fc34aaa]:active{-webkit-filter:brightness(.8);filter:brightness(.8)}#signLunch .header[data-v-4fc34aaa]{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-4fc34aaa],#signLunch .header .face img[data-v-4fc34aaa]{width:3.125rem;height:3.125rem;border-radius:50%}#signLunch .header .header-box[data-v-4fc34aaa]{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-4fc34aaa]{margin-bottom:.2rem;font-size:1rem;color:#fff}#signLunch .header .header-box .desc[data-v-4fc34aaa]{margin-top:.2rem;font-size:.75rem}#signLunch .header .header-box .desc[data-v-4fc34aaa],#signLunch .header .header-box .desc .label[data-v-4fc34aaa]{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-4fc34aaa]{padding:.15rem .4rem;line-height:1rem;margin-left:.594rem;background-color:#0c73c6;border-radius:.547rem}#signLunch .container .fixed-btn[data-v-4fc34aaa],#signLunch .header .header-box .desc .label[data-v-4fc34aaa]{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-size:.625rem}#signLunch .container .fixed-btn[data-v-4fc34aaa]{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-4fc34aaa],#signLunch .container .fixed-btn[data-v-4fc34aaa]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#signLunch .container .container-box[data-v-4fc34aaa]{-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-4fc34aaa]{font-weight:700;font-size:.875rem;color:#282828}#signLunch .container .container-box .container-flex .desc[data-v-4fc34aaa]{margin-top:.425rem;font-size:.688rem;color:#4f4f4f}#signLunch .myContract[data-v-4fc34aaa]{margin-top:-1.5rem}#signLunch .companyContract[data-v-4fc34aaa],#signLunch .contractBill[data-v-4fc34aaa]{margin-top:.625rem}.v-leave[data-v-4fc34aaa]{opacity:1;width:6.313rem}.v-leave-active[data-v-4fc34aaa]{opacity:0;width:0!important;-webkit-transition:all .5s;transition:all .5s}',""]),t.exports=e},"66d0":function(t,e,a){var i=a("2d50");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("499e").default;n("0cef6f50",i,!0,{sourceMap:!1,shadowMode:!1})},aaaf:function(t,e,a){"use strict";a("66d0")},ac0d:function(t,e,a){"use strict";a.d(e,"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 t=0;return i&&i.scrollTop?t=i.scrollTop:n&&(t=n.scrollTop),t},getClientHeight:function(){var t=0;return t=n.clientHeight&&i.clientHeight?Math.min(n.clientHeight,i.clientHeight):Math.max(n.clientHeight,i.clientHeight),t},getScrollHeight:function(){return Math.max(n.scrollHeight,i.scrollHeight)},handleScroll:function(){this.otherScroll();var t=document.documentElement.scrollTop||document.body.scrollTop;this.btnFlag=t>60,this.getScrollTop()+this.getClientHeight()+105>this.getScrollHeight()?(this.isLoadMore&&this.getMoreData(),this.isBottom=!0):this.isBottom=!1},otherScroll:function(){}}}},e9df:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"page",attrs:{id:"signLunch"}},[a("c-title",{attrs:{text:"合同中心"}}),t.member.nickname?a("div",{staticClass:"header"},[a("div",{staticClass:"face"},[a("img",{attrs:{src:t.member.avatar,alt:""}})]),a("div",{staticClass:"header-box"},[a("div",{staticClass:"nickname"},[t._v(t._s(t.member.nickname))]),a("div",{staticClass:"desc",on:{click:t.toSign}},[a("div",{staticClass:"name"},[t._v(t._s(t.member.realname))]),a("div",{staticClass:"label"},[t._v(t._s(1==t.details.person_status?"已认证":"个人未认证"))])])])]):t._e(),a("div",{staticClass:"container myContract"},[a("div",{staticClass:"container-title"},[t._v("我的合同")]),a("div",{staticClass:"container-box"},[a("div",{staticClass:"container-flex",on:{click:function(e){return t.gotoPages("contractList",{},{status:0})}}},[a("div",{staticClass:"num"},[t._v(t._s(t.my_contract.all_count))]),a("div",{staticClass:"desc"},[t._v("全部合同")])]),a("div",{staticClass:"container-flex",on:{click:function(e){return t.gotoPages("contractList",{},{status:3})}}},[a("div",{staticClass:"num"},[t._v(t._s(t.my_contract.self_no_sign))]),a("div",{staticClass:"desc"},[t._v("待我签署")])]),a("div",{staticClass:"container-flex",on:{click:function(e){return t.gotoPages("contractList",{},{status:1})}}},[a("div",{staticClass:"num"},[t._v(t._s(t.my_contract.self_signed))]),a("div",{staticClass:"desc"},[t._v("我已签署")])]),a("div",{staticClass:"container-flex",on:{click:function(e){return t.gotoPages("contractList",{},{status:2})}}},[a("div",{staticClass:"num"},[t._v(t._s(t.my_contract.finish_count))]),a("div",{staticClass:"desc"},[t._v("已完成")])]),a("div",{staticClass:"container-flex",on:{click:function(e){return t.gotoPages("contractList",{},{status:4})}}},[a("div",{staticClass:"num"},[t._v(t._s(t.my_contract.over_time_count))]),a("div",{staticClass:"desc"},[t._v("已超时")])])])]),a("div",{staticClass:"container contractBill"},[a("div",{staticClass:"container-title"},[t._v("合同账单")]),a("div",{staticClass:"fixed-btn",on:{click:function(e){return t.gotoPages("searchAll")}}},[t._v("购买合同")]),a("div",{staticClass:"container-box"},[a("div",{staticClass:"container-flex",on:{click:function(e){return t.gotoPages("contractBills")}}},[a("div",{staticClass:"num"},[t._v(t._s(t.contract_bill.contract_num_sum))]),a("div",{staticClass:"desc"},[t._v("购买数量")])]),a("div",{staticClass:"container-flex",on:{click:function(e){return t.gotoPages("contractBills")}}},[a("div",{staticClass:"num"},[t._v(t._s(t.contract_bill.use_num_sum))]),a("div",{staticClass:"desc"},[t._v("已使用数量")])]),a("div",{staticClass:"container-flex",on:{click:function(e){return t.gotoPages("contractBills")}}},[a("div",{staticClass:"num"},[t._v(t._s(t.contract_bill.rest_num_sum))]),a("div",{staticClass:"desc"},[t._v("可使用数量")])])])]),a("div",{staticStyle:{height:"2rem"}})],1)},n=[],s=a("ac0d"),c={mixins:[s["a"]],data:function(){return{member:{},details:{},my_contract:{},contract_bill:{}}},activated:function(){this.getDetails()},methods:{toSign:function(){1!=this.details.person_status&&this.$router.push(this.fun.getUrl("personBank"))},gotoPages:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.$router.push(this.fun.getUrl(t,e,a))},getDetails:function(){var t=this;$http.get("plugin.yun-sign.frontend.h5.member.personIndex",{},"loading").then((function(e){if(1!=e.result)return t.$toast(e.msg);t.details=e.data,t.member=e.data.member,t.my_contract=e.data.my_contract||{},t.contract_bill=e.data.contract_bill||[]}))}}},o=c,r=(a("aaaf"),a("2877")),l=Object(r["a"])(o,i,n,!1,null,"4fc34aaa",null);e["default"]=l.exports}}]); |