Commit 9ecfc7ad authored by 李晓兵's avatar 李晓兵

''

parent a5552edf
...@@ -163,6 +163,9 @@ ...@@ -163,6 +163,9 @@
@import "../../styles/vue-1px"; @import "../../styles/vue-1px";
#homePage { #homePage {
.content{
background-color: #EFEFEF;
}
.top-wrap { .top-wrap {
width: 100%; width: 100%;
height: 100px; height: 100px;
...@@ -176,7 +179,6 @@ ...@@ -176,7 +179,6 @@
.top-wrap-white { .top-wrap-white {
width: 100%; width: 100%;
height: 100px; height: 100px;
background-color: #FFF;
position: absolute; position: absolute;
top: 100px; top: 100px;
} }
...@@ -192,8 +194,10 @@ ...@@ -192,8 +194,10 @@
} }
.functions { .functions {
height: 82px; height: 108px;
width: 100%; width: 96%;
margin: 0 auto;
border-radius: 10px;
background: #fff; background: #fff;
padding-top: 10px; padding-top: 10px;
display: flex; display: flex;
...@@ -208,69 +212,23 @@ ...@@ -208,69 +212,23 @@
} }
.function-item { .function-item {
text-align: center; height: 100%;
}
}
.middle-box {
margin-top: 8px;
background: white;
header {
height: 33px;
display: flex; display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center; align-items: center;
line-height: 100%; img{
color: #5D98F6; margin: 0;
position: relative;
&:before {
content: '';
width: 4px;
height: 15px;
margin-right: 9px;
margin-left: 10px;
background-image: linear-gradient(-180deg, #5D98F6 0%, #76BCEE 100%);
border-radius: 2px;
}
&:after {
.setBottomLine()
} }
div{
span { margin-bottom: 14px;
font-size: 12px; ont-family: PingFangSC-Regular;
color: #878A8D; font-size: 13px;
position: absolute; color: #3C3D48;
right: 15px; letter-spacing: 0;
} }
} }
.function {
display: flex;
flex-wrap: wrap;
.function-item {
width: 25%;
height: 89px;
font-size: 12px;
// border: 1px solid rgba(169,169,169,0.1); /*no*/
/deep/ img {
height: 30px;
width: 30px;
margin: 23px 28px 9px 33px;
}
&:before {
.setBottomLine();
}
&:after {
.setRightLine();
}
}
}
} }
.h-header .h-header-center div { .h-header .h-header-center div {
...@@ -290,47 +248,19 @@ ...@@ -290,47 +248,19 @@
} }
} }
.function {
display: flex;
flex-wrap: wrap;
.function-item {
width: 25%;
height: 89px;
font-size: 12px;
// border: 1px solid rgba(169,169,169,0.1); /*no*/
/deep/ img {
height: 30px;
width: 30px;
margin: 23px 28px 9px 33px;
}
// &:before {
// .setBottomLine();
// }
// &:after {
// .setRightLine();
// }
}
}
.center-pic { .center-pic {
margin-top: 6px; margin-top: 10px;
// position: relative;
width: 100%; width: 100%;
// height: 228px;
// overflow: hidden;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
padding: 0 1% 0 1%;
.left-pic { .left-pic {
width: 41.6%; width: 41.6%;
margin-left: 4px; margin-left: 4px;
img { img {
max-width: 100%; width: 100%;
height: auto; height: 100%;
} }
} }
...@@ -360,8 +290,8 @@ ...@@ -360,8 +290,8 @@
color: #00469C; color: #00469C;
font-weight: 600; font-weight: 600;
letter-spacing: 0.57px; letter-spacing: 0.57px;
padding: 8px 0 8px 12px; height: 40px;
background: #fff; padding-left: 2%;
span{ span{
padding-top: 2px; padding-top: 2px;
margin-left: 4px; margin-left: 4px;
......
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
</item> </item>
<!-- <button v-if="flag" @click="changePageHead">用户绑定</button> <!-- <button v-if="flag" @click="changePageHead">用户绑定</button>
<button v-if="!flag" @click="unBind">解除绑定</button>--> <button v-if="!flag" @click="unBind">解除绑定</button>-->
<button @click="unBind">{{ description }}</button> <button @click="approveBtn ? unBind() : changePageHead()">{{ description }}</button>
</list-item> </list-item>
</h-content> </h-content>
</h-view> </h-view>
...@@ -104,6 +104,7 @@ export default { ...@@ -104,6 +104,7 @@ export default {
vedioCount: '0', vedioCount: '0',
productCount: '0', productCount: '0',
description: '', description: '',
approveBtn: false,
} }
}, },
watch: { watch: {
...@@ -114,6 +115,7 @@ export default { ...@@ -114,6 +115,7 @@ export default {
this.description = '待提交' this.description = '待提交'
} else if (this.bp_id && newVal === 'APPROVED') { } else if (this.bp_id && newVal === 'APPROVED') {
this.description = '解除绑定' this.description = '解除绑定'
this.approveBtn = true
} else if ((this.bp_id && newVal === 'RETURN') || (this.bp_id && newVal === 'REJECT')) { } else if ((this.bp_id && newVal === 'RETURN') || (this.bp_id && newVal === 'REJECT')) {
this.description = '审核未通过' this.description = '审核未通过'
} else { } else {
......
...@@ -29,27 +29,35 @@ ...@@ -29,27 +29,35 @@
<input slot="content" v-model="invoiceInfo.invoice_title" type="text" placeholder="请输入发票抬头" > <input slot="content" v-model="invoiceInfo.invoice_title" type="text" placeholder="请输入发票抬头" >
</item> </item>
<item> <item>
<div slot="name">发票地址及电话</div> <div slot="name">发票地址</div>
<textarea <textarea
slot="content" slot="content"
ref="myTestarea" ref="myTestarea"
v-model="invoiceInfo.invoice_bp_address_phone_num" v-model="invoiceInfo.invoice_adds"
cols="30" rows="1" type="text" placeholder="请输入发票地址及电话" cols="30" rows="1" type="text" placeholder="请输入发票地址"
@input="addRows(invoiceInfo.invoice_bp_address_phone_num)" /> @input="addRows(invoiceInfo.invoice_adds)" />
</item> </item>
<item> <item>
<div slot="name">发票开户行及账号</div> <div slot="name">开户电话</div>
<input slot="content" v-model="invoiceInfo.invoice_tel" type="text" placeholder="请输入开户电话" >
</item>
<item>
<div slot="name">发票开户行</div>
<textarea <textarea
slot="content" slot="content"
ref="myTestareaLive" ref="myTestareaLive"
v-model="invoiceInfo.invoice_bp_bank_account" v-model="invoiceInfo.open_bank"
cols="30" cols="30"
rows="1" rows="1"
type="text" type="text"
placeholder="请输入发票开户行及账号" placeholder="请输入发票开户行及账号"
@input="addRowsLive(invoiceInfo.invoice_bp_bank_account)" @input="addRowsLive(invoiceInfo.open_bank)"
/> />
</item> </item>
<item>
<div slot="name">开户行账号</div>
<input slot="content" v-model="invoiceInfo.open_account" type="text" placeholder="请输入开户行账号" >
</item>
</list-item> </list-item>
</template> </template>
<script> <script>
......
...@@ -467,10 +467,12 @@ export default { ...@@ -467,10 +467,12 @@ export default {
spouse_phone: '', spouse_phone: '',
working_place_sp: '', working_place_sp: '',
address_sp: '', address_sp: '',
invoice_bp_bank_account: '', invoice_adds: '',
invoice_tel: '',
taxpayer_type: '', taxpayer_type: '',
invoice_title: '', invoice_title: '',
invoice_bp_address_phone_num: '', open_bank: '',
open_account: '',
invoice_kind: '', invoice_kind: '',
user_phone: window.localStorage.user_phone, user_phone: window.localStorage.user_phone,
}, },
...@@ -884,8 +886,8 @@ export default { ...@@ -884,8 +886,8 @@ export default {
var recordUploadInterval = setInterval(function () { var recordUploadInterval = setInterval(function () {
if (alreadyUploadNum === attLength) { if (alreadyUploadNum === attLength) {
clearInterval(recordUploadInterval) clearInterval(recordUploadInterval)
hlsPopup.hideLoading() /*hlsPopup.hideLoading()
hlsPopup.showLongCenter('图片上传成功') hlsPopup.showLongCenter('图片上传成功')*/
} }
}, 500) }, 500)
for (var i = 0; i < list.length; i++) { for (var i = 0; i < list.length; i++) {
......
...@@ -1058,6 +1058,8 @@ export default { ...@@ -1058,6 +1058,8 @@ export default {
vm.getBankInfo() vm.getBankInfo()
// 查询资料清单 // 查询资料清单
vm.loadItemList() vm.loadItemList()
}else {
vm.hlsPopup.showLongCenter(res.message)
} }
}) })
} }
...@@ -1798,8 +1800,8 @@ export default { ...@@ -1798,8 +1800,8 @@ export default {
var recordUploadInterval = setInterval(function () { var recordUploadInterval = setInterval(function () {
if (alreadyUploadNum === attLength) { if (alreadyUploadNum === attLength) {
clearInterval(recordUploadInterval) clearInterval(recordUploadInterval)
hlsPopup.hideLoading() /* hlsPopup.hideLoading()
hlsPopup.showLongCenter('图片上传成功') hlsPopup.showLongCenter('图片上传成功')*/
} }
}, 500) }, 500)
for (var i = 0; i < list.length; i++) { for (var i = 0; i < list.length; i++) {
......
...@@ -34,25 +34,33 @@ ...@@ -34,25 +34,33 @@
<input slot="content" v-model="invoiceInfo.invoice_title" type="text" placeholder="请输入发票抬头" > <input slot="content" v-model="invoiceInfo.invoice_title" type="text" placeholder="请输入发票抬头" >
</item> </item>
<item> <item>
<div slot="name" class="font-color">发票地址及电话</div> <div slot="name" class="font-color">发票地址</div>
<textarea <textarea
slot="content" ref="myTestarea" v-model="invoiceInfo.invoice_bp_address_phone_num" cols="30" slot="content" ref="myTestarea" v-model="invoiceInfo.invoice_adds" cols="30"
rows="1" rows="1"
type="text" placeholder="请输入发票地址及电话" @input="addRows(invoiceInfo.invoice_bp_address_phone_num)" /> type="text" placeholder="请输入发票地址" @input="addRows(invoiceInfo.invoice_adds)" />
</item> </item>
<item> <item>
<div slot="name" class="font-color">发票开户行及账号</div> <div slot="name" class="font-color">开户电话</div>
<input slot="content" v-model="invoiceInfo.invoice_tel" type="text" placeholder="请输入开户电话" >
</item>
<item>
<div slot="name" class="font-color">发票开户行</div>
<input <input
slot="content" slot="content"
ref="myTestareaLive" ref="myTestareaLive"
v-model="invoiceInfo.invoice_bp_bank_account" v-model="invoiceInfo.open_bank"
cols="30" cols="30"
rows="1" rows="1"
type="text" type="text"
placeholder="请输入发票开户行及账号" placeholder="请输入发票开户行"
@input="addRowsLive(invoiceInfo.invoice_bp_bank_account)" @input="addRowsLive(invoiceInfo.open_bank)"
> >
</item> </item>
<item>
<div slot="name" class="font-color">开户行账号</div>
<input slot="content" v-model="invoiceInfo.open_account" type="text" placeholder="请输入开户行账号" >
</item>
<item> <item>
<div slot="name" class="font-color">纳税人识别号</div> <div slot="name" class="font-color">纳税人识别号</div>
<input <input
...@@ -91,8 +99,10 @@ export default { ...@@ -91,8 +99,10 @@ export default {
invoice_title: '', invoice_title: '',
taxpayer_type_n: '', taxpayer_type_n: '',
organization_code: this.orgCode, organization_code: this.orgCode,
invoice_bp_bank_account: '', invoice_adds: '',
invoice_bp_address_phone_num: '', invoice_tel: '',
open_bank: '',
open_account: '',
}, },
} }
}, },
......
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,width=device-width,viewport-fit=cover"><meta name=format-detection content="telephone=no"><meta name=format-detection content="email=no"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><script type=text/javascript src=./static/vuePlatform.js></script><script type=text/javascript src=./static/prototype.js></script><script type=text/javascript src=cordova.js></script><title>xcmg</title><link href=./static/css/app.f8546d625c39b65f5c2981a6e7891fa0.css rel=stylesheet></head><body><div id=app-box></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.a1ef55b05307e4c950b9.js></script><script type=text/javascript src=./static/js/app.2c889fff68b7868ee6c8.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,width=device-width,viewport-fit=cover"><meta name=format-detection content="telephone=no"><meta name=format-detection content="email=no"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><script type=text/javascript src=./static/vuePlatform.js></script><script type=text/javascript src=./static/prototype.js></script><script type=text/javascript src=cordova.js></script><script type=text/javascript src="http://api.map.baidu.com/api?v=2.0&ak=CyOWd7pmPurvZ0PERgxEOlAlifG0y7Sp"></script><title>xcmg</title><link href=./static/css/app.5e622b61f5a574d63fbb9b7924042e28.css rel=stylesheet></head><body><div id=app-box></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.e547499500fbe65e7169.js></script><script type=text/javascript src=./static/js/app.e6d55e6a76b6dae1db92.js></script></body></html>
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
!function(n){function r(t){if(e[t])return e[t].exports;var o=e[t]={i:t,l:!1,exports:{}};return n[t].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var t=window.webpackJsonp;window.webpackJsonp=function(e,u,c){for(var f,i,p,a=0,l=[];a<e.length;a++)i=e[a],o[i]&&l.push(o[i][0]),o[i]=0;for(f in u)Object.prototype.hasOwnProperty.call(u,f)&&(n[f]=u[f]);for(t&&t(e,u,c);l.length;)l.shift()();if(c)for(a=0;a<c.length;a++)p=r(r.s=c[a]);return p};var e={},o={2:0};r.m=n,r.c=e,r.d=function(n,t,e){r.o(n,t)||Object.defineProperty(n,t,{configurable:!1,enumerable:!0,get:e})},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,"a",t),t},r.o=function(n,r){return Object.prototype.hasOwnProperty.call(n,r)},r.p="./",r.oe=function(n){throw n}}([]);
//# sourceMappingURL=manifest.3ad1d5771e9b13dbdad2.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///static/js/manifest.3ad1d5771e9b13dbdad2.js","webpack:///webpack/bootstrap 5117e996bc1dac04b1a1"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","i","l","call","parentJsonpFunction","window","chunkIds","moreModules","executeModules","chunkId","result","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","shift","s","2","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","p","oe","err"],"mappings":"CAAS,SAAUA,GCuCjB,QAASC,GAAoBC,GAG5B,GAAGC,EAAiBD,GACnB,MAAOC,GAAiBD,GAAUE,OAGnC,IAAIC,GAASF,EAAiBD,IAC7BI,EAAGJ,EACHK,GAAG,EACHH,WAUD,OANAJ,GAAQE,GAAUM,KAAKH,EAAOD,QAASC,EAAQA,EAAOD,QAASH,GAG/DI,EAAOE,GAAI,EAGJF,EAAOD,QA1Df,GAAIK,GAAsBC,OAAqB,YAC/CA,QAAqB,aAAI,SAA8BC,EAAUC,EAAaC,GAI7E,IADA,GAAIX,GAAUY,EAA+BC,EAAtBT,EAAI,EAAGU,KACzBV,EAAIK,EAASM,OAAQX,IACzBQ,EAAUH,EAASL,GAChBY,EAAgBJ,IAClBE,EAASG,KAAKD,EAAgBJ,GAAS,IAExCI,EAAgBJ,GAAW,CAE5B,KAAIZ,IAAYU,GACZQ,OAAOC,UAAUC,eAAed,KAAKI,EAAaV,KACpDF,EAAQE,GAAYU,EAAYV,GAIlC,KADGO,GAAqBA,EAAoBE,EAAUC,EAAaC,GAC7DG,EAASC,QACdD,EAASO,SAEV,IAAGV,EACF,IAAIP,EAAE,EAAGA,EAAIO,EAAeI,OAAQX,IACnCS,EAASd,EAAoBA,EAAoBuB,EAAIX,EAAeP,GAGtE,OAAOS,GAIR,IAAIZ,MAGAe,GACHO,EAAG,EA6BJxB,GAAoByB,EAAI1B,EAGxBC,EAAoB0B,EAAIxB,EAGxBF,EAAoB2B,EAAI,SAASxB,EAASyB,EAAMC,GAC3C7B,EAAoB8B,EAAE3B,EAASyB,IAClCT,OAAOY,eAAe5B,EAASyB,GAC9BI,cAAc,EACdC,YAAY,EACZC,IAAKL,KAMR7B,EAAoBmC,EAAI,SAAS/B,GAChC,GAAIyB,GAASzB,GAAUA,EAAOgC,WAC7B,WAAwB,MAAOhC,GAAgB,SAC/C,WAA8B,MAAOA,GAEtC,OADAJ,GAAoB2B,EAAEE,EAAQ,IAAKA,GAC5BA,GAIR7B,EAAoB8B,EAAI,SAASO,EAAQC,GAAY,MAAOnB,QAAOC,UAAUC,eAAed,KAAK8B,EAAQC,IAGzGtC,EAAoBuC,EAAI,KAGxBvC,EAAoBwC,GAAK,SAASC,GAA2B,KAAMA","file":"static/js/manifest.3ad1d5771e9b13dbdad2.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// install a JSONP callback for chunk loading\n/******/ \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n/******/ \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n/******/ \t\t// add \"moreModules\" to the modules object,\n/******/ \t\t// then flag all \"chunkIds\" as loaded and fire callback\n/******/ \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n/******/ \t\tfor(;i < chunkIds.length; i++) {\n/******/ \t\t\tchunkId = chunkIds[i];\n/******/ \t\t\tif(installedChunks[chunkId]) {\n/******/ \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n/******/ \t\t\t}\n/******/ \t\t\tinstalledChunks[chunkId] = 0;\n/******/ \t\t}\n/******/ \t\tfor(moduleId in moreModules) {\n/******/ \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n/******/ \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n/******/ \t\t\t}\n/******/ \t\t}\n/******/ \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n/******/ \t\twhile(resolves.length) {\n/******/ \t\t\tresolves.shift()();\n/******/ \t\t}\n/******/ \t\tif(executeModules) {\n/******/ \t\t\tfor(i=0; i < executeModules.length; i++) {\n/******/ \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n/******/ \t\t\t}\n/******/ \t\t}\n/******/ \t\treturn result;\n/******/ \t};\n/******/\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// objects to store loaded and loading chunks\n/******/ \tvar installedChunks = {\n/******/ \t\t2: 0\n/******/ \t};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"./\";\n/******/\n/******/ \t// on error function for async loading\n/******/ \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n/******/ })\n/************************************************************************/\n/******/ ([]);\n\n\n// WEBPACK FOOTER //\n// static/js/manifest.3ad1d5771e9b13dbdad2.js"," \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t2: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"./\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 5117e996bc1dac04b1a1"],"sourceRoot":""}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
/**
*
* @param fmt
* @returns {*}
* @constructor
*/
Date.prototype.format = function (fmt) { // eslint-disable-line
var o = {
'M+': this.getMonth() + 1, // 月份
'd+': this.getDate(), // 日
'h+': this.getHours(), // 小时
'm+': this.getMinutes(), // 分
's+': this.getSeconds(), // 秒
'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
'S': this.getMilliseconds(), // 毫秒
}
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
for (var k in o) { if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length))) }
return fmt
}
/**
* 移除数组的某个元素
* @param dx 下标
* @returns {boolean}
*/
Array.prototype.remove = function (dx) { // eslint-disable-line
if (isNaN(dx) || dx > this.length) {
return false
}
for (var i = 0, n = 0; i < this.length; i++) {
if (this[i] !== this[dx]) {
this[n++] = this[i]
}
}
this.length -= 1
}
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment