Commit a8e00462 by LJM

js

parent 64e9a006
Showing with 176 additions and 424 deletions
......@@ -156,19 +156,15 @@ img {
display: flex;
flex-direction: row;
}
/* 两侧对齐 */
.bothSide {
justify-content: space-between;
}
/* 平均分布 */
.avarage {
justify-content: space-around;
}
/* 水平居中 */
.rowCenter {
justify-content: center;
}
/* 垂直居中 */
.verCenter {
align-items: center;
}
......@@ -201,7 +197,6 @@ body {
.f-red1 {
color: #FC1F00;
}
/**element-ui 样式重写**/
.el-pagination {
text-align: right;
margin-top: 20px;
......@@ -209,106 +204,6 @@ body {
.pagex {
padding: 20px;
}
.pagex .el-input__inner {
height: 38px;
border-radius: 2px;
border: 1px solid #BEC9DF;
font-size: 14px;
}
.pagex .el-input__inner:focus {
border: 1px solid #387FFF;
}
.pagex .el-form-item__label {
color: #666;
}
.pagex .el-range-editor.el-input__inner {
width: 257px;
}
.pagex .el-select .el-input.is-focus .el-input__inner,
.pagex .el-range-editor.is-active,
.pagex .el-range-editor.is-active:hover {
border-color: #387FFF;
}
.pagex .el-select {
width: 202px;
}
.pagex .el-form--inline .el-form-item {
margin-right: 30px;
}
.pagex .el-message--info {
min-width: auto !important;
border: 0px !important;
background: rgba(0, 0, 0, 0.4) !important;
}
.pagex .el-message--info .el-icon-info {
display: none;
}
.pagex .el-message--info .el-message__content {
color: #fff !important;
}
.pagex .el-input__inner {
color: #333 !important;
}
.pagex input::-webkit-input-placeholder {
color: #A1ACC1 !important;
}
.pagex .placehoload input::-webkit-input-placeholder {
color: #333 !important;
}
.pagex .el-table,
.pagex .el-table thead {
color: #333;
}
.pagex .el-checkbox__input.is-checked .el-checkbox__inner,
.pagex .el-checkbox__input.is-indeterminate .el-checkbox__inner {
background-color: #1969F9;
border-color: #1969F9;
}
.pagex .el-select .el-input__inner:focus {
border-color: #C0C4CC;
}
.pagex .el-table__header th {
font-weight: normal;
}
.pagex .el-table__header th {
background-color: #F1F4FA;
}
.pagex .el-table--enable-row-hover .el-table__body tr:hover > td,
.pagex .el-table__body tr.hover-row.current-row > td,
.pagex .el-table__body tr.hover-row.el-table__row--striped.current-row > td,
.pagex .el-table__body tr.hover-row.el-table__row--striped > td,
.pagex .el-table__body tr.hover-row > td {
background: #F1F8FF !important;
}
.pagex ::-webkit-scrollbar {
width: 10px;
height: 10px;
background: transparent;
}
.pagex ::-webkit-scrollbar-track {
background: transparent;
}
.pagex ::-webkit-scrollbar-thumb {
border-radius: 5px;
background-color: #c1c1c1;
}
.pagex ::-webkit-scrollbar-thumb:hover {
background-color: #a8a8a8;
}
.pagex .el-table td,
.pagex .el-table th.is-leaf,
.pagex .el-table--border,
.pagex .el-table--group {
border-color: #D2D9E7;
}
.pagex .el-table--border::after,
.pagex .el-table--group::after,
.pagex .el-table::before {
background-color: #D2D9E7;
}
.pagex .el-table__fixed-body-wrapper {
z-index: 4;
}
.zdypop .el-form-item__label {
color: #333;
}
......@@ -320,17 +215,6 @@ body {
background-color: #F1F4FA;
border-color: #F1F4FA;
}
.el-button--primary {
background: #1969F9;
border-color: #1969F9;
}
.el-cascader-panel {
min-height: 150px;
max-height: 300px;
}
.placehoload .el-input__inner::-webkit-input-placeholder {
color: #333;
}
.el-tooltip__popper {
box-shadow: 1px 2px 10px 0px rgba(119, 135, 145, 0.5);
border: 1px solid #387FFF !important;
......@@ -471,4 +355,19 @@ body {
color: #5e6d82;
line-height: 1.5em;
}
::-webkit-scrollbar {
width: 10px;
height: 10px;
background: transparent;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
border-radius: 5px;
background-color: #c1c1c1;
}
::-webkit-scrollbar-thumb:hover {
background-color: #a8a8a8;
}
/*# sourceMappingURL=common.min.css.map */
\ No newline at end of file
{"version":3,"sources":["common.less"],"names":[],"mappings":"AAAA;EACE,8BAAA;EACA,0BAAA;;AAGF,IAAK;EACH,UAAA;EACA,yCAAA;EACA,6CAAA;;AAGF;AACA;EACE,8CAA8C,6BAA9C;EACA,kBAAA;EACA,mCAAA;EACA,kCAAA;EACA,eAAA;EACA,cAAA;;AAGF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE,SAAA;EACA,UAAA;;AAGF;AACA;AACA;AACA;EACE,eAAA;EACA,YAAA;EACA,wBAAA;;AAGF,KAAK;AACL,KAAK;AACL,KAAK;EACH,eAAA;;AAGF;EACE,yBAAA;EACA,iBAAA;;AAGF;AACA;AACA;EACE,gBAAA;;AAGF;AACA;AACA;AACA;AACA;AACA;EACE,eAAA;EACA,gBAAA;;AAGF;AACA;AACA;EACE,kBAAA;;AAGF;EACE,qBAAA;;AAGF;EACE,YAAA;;AAGF;EACE,QAAA;EACA,WAAA;;AAGF,IAAI;EACF,SAAS,GAAT;EACA,WAAA;EACA,SAAA;EACA,kBAAA;EACA,cAAA;;AAGF;EACE,WAAA;EACA,gBAAA;;AAGF;EACE,YAAA;EACA,gBAAA;;AAGF;EACE,mBAAA;;AAGF;EACE,sBAAA;;AAGF;EACE,sBAAA;;AAIF;EACE,qBAAA;EACA,gBAAA;EACA,OAAA;EACA,sBAAA;EACA,oBAAA;;AAGF;EACE,uBAAA;EACA,mBAAA;;AAGF;EACE,iBAAA;EACA,UAAA;EACA,YAAA;EACA,YAAA;EACA,sBAAA;;AAGF;EACE,8BAAA;EACA,sBAAA;;AAGF;EACE,aAAA;EACA,sBAAA;;AAGF;EACE,aAAA;EACA,mBAAA;;;AAIF;EACE,8BAAA;;;AAIF;EACE,6BAAA;;;AAIF;EACE,uBAAA;;;AAIF;EACE,mBAAA;;AAGF;EACE,mBAAA;EACA,gBAAA;EACA,eAAA;EACA,WAAA;EACA,OAAA;;AAGF;AACA;EACE,WAAA;EACA,YAAA;EACA,iCAAA;;AAGF;EACE,kBAAA;EACA,mBAAA;;AAGF;EACE,cAAA;;AAGF;EACE,cAAA;;A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,cAErB;EACE,WAAA;EACA,YAAA;EACA,kBAAA;EACA,iBAAA;EACA,mBAAA;EACA,yBAAA;EACA,kBAAA;EACA,cAAA;EACA,eAAA;EACA,YAAA;;AAEA,qBAZF,WAYG;AAAD,cAZF,WAYG;AACD,qBAbF,WAaG;AAAD,cAbF,WAaG;EACC,cAAA;EACA,mBAAA;EACA,yBAAA;;AAGF,qBAnBF,WAmBG;AAAD,cAnBF,WAmBG;EACC,yBAAA;EACA,WAAA;EACA,mBAAA;;AAEA,qBAxBJ,WAmBG,mBAKE;AAAD,cAxBJ,WAmBG,mBAKE;AACD,qBAzBJ,WAmBG,mBAME;AAAD,cAzBJ,WAmBG,mBAME;EACC,WAAA;EACA,mBAAA;EACA,yBAAA;;AAOR;EACE,kBAAA;;AADF,OAGE;EACE,WAAA;EACA,gBAAA;;AALJ,OAQE;EACE,YAAA;EACA,YAAA;EACA,mBAAA;EACA,kBAAA;EACA,eAAA;EACA,cAAA;EACA,iBAAA;EACA,gBAAA;EACA,gBAAA;;AAIJ,iBACE;EACE,qBAAA;;AAIJ;EACE,iBAAA;EACA,yBAAA;EACA,kBAAA;EACA,8BAAA;EACA,cAAA;;AALF,UAOE;EACE,eAAA;EACA,cAAA;EACA,kBAAA","file":"common.min.css"}
\ No newline at end of file
{"version":3,"sources":["common.less"],"names":[],"mappings":"AAAA;EACE,8BAAA;EACA,0BAAA;;AAGF,IAAK;EACH,UAAA;EACA,yCAAA;EACA,6CAAA;;AAGF;AAAM;EACJ,8CAA8C,6BAA9C;EACA,kBAAA;EACA,mCAAA;EACA,kCAAA;EACA,eAAA;EACA,cAAA;;AAGF;AAAM;AAAK;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAK;AAAM;AAAM;AAAU;AAAQ;AAAO;AAAU;AAAG;AAAY;AAAI;AAAI;AAAI;AAAQ;AAAS;AAAO;AAAS;AAAY;AAAQ;AAAQ;AAAQ;AAAM;AAAK;EAC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EACA,mBAAA;EACA,yBAAA;;AAMR;EACE,kBAAA;;AADF,OAGE;EACE,WAAA;EACA,gBAAA;;AALJ,OAQE;EACE,YAAA;EACA,YAAA;EACA,mBAAA;EACA,kBAAA;EACA,eAAA;EACA,cAAA;EACA,iBAAA;EACA,gBAAA;EACA,gBAAA;;AAIJ,iBACE;EACE,UAAA;;AAIJ;EACE,iBAAA;EACA,yBAAA;EACA,kBAAA;EACA,8BAAA;EACA,cAAA;;AALF,UAOE;EACE,eAAA;EACA,cAAA;EACA,kBAAA;;AAIJ;EACE,WAAA;EACA,YAAA;EACA,uBAAA;;AAGF;EACE,uBAAA;;AAGF;EACE,kBAAA;EACA,yBAAA;;AAGF,yBAAyB;EACvB,yBAAA","file":"common.min.css"}
\ No newline at end of file
......@@ -51,7 +51,7 @@
</div>
<div class="data-box th-all">
<el-table :data="quote_list" border style="width: 100%" @selection-change="handleSelectionChange">
<el-table :data="quote_list" border max-height="600" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="40" align="center"></el-table-column>
<el-table-column prop="goods_name" label="报价型号" width="200"></el-table-column>
<el-table-column prop="brand_name" label="报价品牌" width="200"></el-table-column>
......
......@@ -44,7 +44,7 @@
<el-button type="primary">生成发货单</el-button>
</div>
<div class="data-box th-all" v-if="tableData">
<el-table :data="tableData" border style="width: 100%" @selection-change="handleSelectionChange">
<el-table :data="tableData" border max-height="600"@selection-change="handleSelectionChange">
<el-table-column fixed type="selection" width="37"></el-table-column>
<el-table-column prop="spu_name" label="订货公司" min-width="15%"></el-table-column>
<el-table-column prop="brand_name" label="订单状态" min-width="15%"></el-table-column>
......
......@@ -28,7 +28,7 @@
<el-button type="primary">取消发货</el-button>
</div>
<div class="data-box th-all" v-if="tableData">
<el-table :data="tableData" border style="width: 100%" @selection-change="handleSelectionChange">
<el-table :data="tableData" border max-height="600" @selection-change="handleSelectionChange">
<el-table-column fixed type="selection" width="37"></el-table-column>
<el-table-column prop="spu_name" label="发货单号" min-width="15%"></el-table-column>
<el-table-column prop="brand_name" label="型号" min-width="15%"></el-table-column>
......@@ -57,7 +57,7 @@
Vue.use(Button).use(Form).use(Select).use(Option).use(Input).use(FormItem).use(Dialog).use(Pagination);
Vue.use(TableColumn).use(Table).use(Cascader).use(Autocomplete);
export default {
name: "orderTrackGoods",
name: "orderTrackInvoice",
data() {
return {
dialogVisible: false,
......
......@@ -34,7 +34,7 @@
</div>
</el-form>
<div class="data-box th-all" v-if="tableData">
<el-table :data="tableData" border style="width: 100%" @selection-change="handleSelectionChange">
<el-table :data="tableData" border max-height="600" @selection-change="handleSelectionChange">
<el-table-column fixed type="selection" width="37"></el-table-column>
<el-table-column prop="spu_name" label="发货单号" min-width="15%"></el-table-column>
<el-table-column prop="brand_name" label="型号" min-width="15%"></el-table-column>
......
<template>
<section class="store pagex">
<div class="store-con">
<el-form :inline="true" :model="formInline" class="demo-form-inline">
<el-form :inline="true" :model="formParam" class="demo-form-inline">
<el-form-item label="型号">
<el-autocomplete v-model="formInline.goods_name" :trigger-on-focus="false" @keyup.enter.native="onSubmit" :fetch-suggestions="querySearchAsync" placeholder="请输入型号"></el-autocomplete>
<el-autocomplete v-model="formParam.goods_name" :trigger-on-focus="false" @keyup.enter.native="onSubmit" :fetch-suggestions="querySearchAsync" placeholder="请输入型号" clearable></el-autocomplete>
</el-form-item>
<el-form-item label="品牌">
<el-autocomplete v-model="formInline.brand_name" :trigger-on-focus="false" @keyup.enter.native="onSubmit" :fetch-suggestions="querySearchAsyncBrand" placeholder="请输入品牌"></el-autocomplete>
<el-autocomplete v-model="formParam.brand_name" :trigger-on-focus="false" @keyup.enter.native="onSubmit" :fetch-suggestions="querySearchAsyncBrand" placeholder="请输入品牌" clearable></el-autocomplete>
</el-form-item>
<el-form-item label="状态">
<el-select v-model="formParam.join_inquiry" placeholder="全部" clearable>
<el-option label="全部" value=""></el-option>
<el-option label="参与询价" value="1"></el-option>
<el-option label="不参与询价" value="2"></el-option>
</el-select>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="onSubmit">搜索</el-button>
......@@ -16,11 +23,11 @@
<el-button type="primary" @click="addBestgoodsChange">新增</el-button>
<el-button type="primary" @click="updateBestgoods">修改</el-button>
<el-button type="danger" @click="delBestgoods">删除</el-button>
<el-button type="primary">参与询价</el-button>
<el-button type="primary">不参与询价</el-button>
<el-button type="primary" @click="isJoinInquiryChange(1)">参与询价</el-button>
<el-button type="primary" @click="isJoinInquiryChange(2)">不参与询价</el-button>
</div>
<div class="data-box">
<el-table :data="list" border style="width: 100%" @selection-change="handleSelectionChange">
<el-table :data="list" border max-height="600" @selection-change="handleSelectionChange">
<el-table-column fixed type="selection" width="37"></el-table-column>
<el-table-column prop="goods_name" label="型号" :show-overflow-tooltip="true"></el-table-column>
<el-table-column prop="brand_name" label="品牌" :show-overflow-tooltip="true"></el-table-column>
......@@ -31,7 +38,7 @@
<el-table-column prop="stock_number" label="库存" width="120" :show-overflow-tooltip="true"></el-table-column>
<el-table-column prop="join_inquiry_str" label="状态" width="120" :show-overflow-tooltip="true">
<template slot-scope="scope">
<el-tag :type="scope.row.join_inquiry === 1 ? 'success' : 'primary'" disable-transitions>{{scope.row.join_inquiry_str}}</el-tag>
<el-tag :type="scope.row.join_inquiry === 1 ? 'success' : 'primary'" disable-transitions>{{ scope.row.join_inquiry_str }}</el-tag>
</template>
</el-table-column>
<el-table-column prop="create_time" label="创建时间" width="160" :show-overflow-tooltip="true"></el-table-column>
......@@ -102,7 +109,7 @@
</div>
<div class="content row">
<ul class="row year-list">
<li class="row rowCenter verCenter" v-for="(v,indexY) in year" :class="{curr:yearIndex==indexY}" @click="tabChange(indexY,1)">{{v}}年</li>
<li class="row rowCenter verCenter" v-for="(v,indexY) in year" :class="{curr:yearIndex==indexY}" @click="tabChange(indexY,1)">{{ v }}年</li>
</ul>
</div>
<div class="footer-btn row verCenter">
......@@ -116,7 +123,7 @@
</div>
<div class="content row">
<ul class="row period-list">
<li class="row rowCenter verCenter" v-for="(v,indexY) in period" :class="{curr:periodIndex==indexY}" @click="tabChange(indexY,2)">{{v}}</li>
<li class="row rowCenter verCenter" v-for="(v,indexY) in period" :class="{curr:periodIndex==indexY}" @click="tabChange(indexY,2)">{{ v }}</li>
</ul>
</div>
<div class="footer-btn row verCenter">
......@@ -130,7 +137,7 @@
</div>
<div class="content row">
<ul class="row period-list">
<li class="row rowCenter verCenter" v-for="(v,indexY) in period" :class="{curr:periodIndexTwo==indexY}" @click="tabChange(indexY,3)">{{v}}</li>
<li class="row rowCenter verCenter" v-for="(v,indexY) in period" :class="{curr:periodIndexTwo==indexY}" @click="tabChange(indexY,3)">{{ v }}</li>
</ul>
</div>
<div class="footer-btn row verCenter">
......@@ -217,7 +224,7 @@
</div>
<div class="content row">
<ul class="row year-list">
<li class="row rowCenter verCenter" v-for="(v,indexY) in year" :class="{curr:yearIndex==indexY}" @click="tabChange(indexY,1)">{{v}}年</li>
<li class="row rowCenter verCenter" v-for="(v,indexY) in year" :class="{curr:yearIndex==indexY}" @click="tabChange(indexY,1)">{{ v }}年</li>
</ul>
</div>
<div class="footer-btn row verCenter">
......@@ -231,7 +238,7 @@
</div>
<div class="content row">
<ul class="row period-list">
<li class="row rowCenter verCenter" v-for="(v,indexY) in period" :class="{curr:periodIndex==indexY}" @click="tabChange(indexY,2)">{{v}}</li>
<li class="row rowCenter verCenter" v-for="(v,indexY) in period" :class="{curr:periodIndex==indexY}" @click="tabChange(indexY,2)">{{ v }}</li>
</ul>
</div>
<div class="footer-btn row verCenter">
......@@ -245,7 +252,7 @@
</div>
<div class="content row">
<ul class="row period-list">
<li class="row rowCenter verCenter" v-for="(v,indexY) in period" :class="{curr:periodIndexTwo==indexY}" @click="tabChange(indexY,3)">{{v}}</li>
<li class="row rowCenter verCenter" v-for="(v,indexY) in period" :class="{curr:periodIndexTwo==indexY}" @click="tabChange(indexY,3)">{{ v }}</li>
</ul>
</div>
<div class="footer-btn row verCenter">
......@@ -332,7 +339,7 @@ export default {
}
],
updateBestgoodsParam: [],
formInline: {
formParam: {
goods_name: '',
brand_name: '',
join_inquiry: ''
......@@ -352,7 +359,7 @@ export default {
updateBestgoods() {
if (this.multipleSelection.length != 1) {
this.$message({
message: '请勾选一条数据',
message: '请支持修改一条数据',
type: 'warning'
});
return false;
......@@ -549,6 +556,40 @@ export default {
});
},
//是否参与询价
isJoinInquiryChange(type) {
var self = this;
if (this.multipleSelection.length <= 0) {
this.$message({
message: '请勾选数据',
type: 'warning'
});
return false;
}
var best_goods_ids = this.multipleSelection.map(obj => {
return obj.id;
})
this.$http('post', "/api/bestgoods/isJoinInquiry", {join_inquiry: type, best_goods_ids: best_goods_ids.join(',')}).then(res => {
if (res.code === 0) {
this.$message({
message: res.msg,
type: 'success',
duration: 2000,
onClose() {
self.getData();
}
});
} else {
this.$message({
message: res.msg,
type: 'warning'
});
}
})
},
//批次关闭
clear(type, index) {
if (type == 1) {
......@@ -697,10 +738,8 @@ export default {
}
},
getData() {
this.$http('GET', "/api/bestgoods/getBestGoodsList", {
page: this.page,
limit: this.limit
}).then(res => {
var params = Object.assign({}, {page: this.page, limit: this.limit}, this.formParam);
this.$http('GET', "/api/bestgoods/getBestGoodsList", params).then(res => {
if (res.code === 0) {
this.list = res.data.list || [];
this.total = Number(res.data.count) || 0;
......@@ -709,6 +748,7 @@ export default {
}
})
},
//型号
querySearchAsync(queryString, cb) {
this.$http('get', "/api/search/getspu", {
spu_name: queryString
......@@ -729,6 +769,7 @@ export default {
}
})
},
//品牌
querySearchAsyncBrand(queryString, cb) {
this.$http('get', "/api/brand/get_stand_brand", {
brand: queryString
......
......@@ -12,7 +12,7 @@
</span>
</div>
<div class="data-box" v-if="tableData">
<el-table :data="tableData" border style="width: 100%">
<el-table :data="tableData" border max-height="600">
<el-table-column fixed prop="item_id" label="ID" width="75">
</el-table-column>
<el-table-column prop="status" fixed label="状态" width="120">
......
......@@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="http://yunxin.liexindev.net/favicon.ico">
<title>猎芯云芯商家</title>
<link href="http://yunxin.liexindev.net/static/js/0.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/1.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/10.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/11.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/12.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/13.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/14.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/15.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/16.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/17.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/18.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/19.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/2.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/20.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/21.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/22.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/23.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/24.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/25.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/26.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/27.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/28.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/29.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/3.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/30.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/31.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/32.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/33.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/4.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/5.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/6.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/7.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/8.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/9.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/app.1663813342121.js" rel="preload" as="script"></head>
<link href="http://yunxin.liexindev.net/static/js/0.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/1.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/10.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/11.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/12.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/13.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/14.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/15.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/16.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/17.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/18.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/19.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/2.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/20.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/21.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/22.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/23.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/24.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/25.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/26.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/27.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/28.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/29.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/3.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/30.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/31.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/32.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/33.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/4.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/5.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/6.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/7.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/8.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/9.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/app.1663821732443.js" rel="preload" as="script"></head>
<body>
<noscript>
<strong>网络异常,请稍后加载</strong>
......@@ -16,5 +16,5 @@
<script>
window.userInfo=""
</script>
<script type="text/javascript" src="http://yunxin.liexindev.net/static/js/app.1663813342121.js"></script></body>
<script type="text/javascript" src="http://yunxin.liexindev.net/static/js/app.1663821732443.js"></script></body>
</html>
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 sign in to comment