Commit 3c3dad61 by LJM

css

parent 88b607a8
......@@ -15,7 +15,7 @@ export let NODE_ENVS = "/";
switch (envs) {
case 'development':
//开发环境
NODE_ENVS = 'http://192.168.1.30:8080';
NODE_ENVS = 'http://cloud.liexindev.net';
break;
case 'test':
//测试环境
......
......@@ -312,77 +312,96 @@ body {
//表格样式重写
.el-input__inner{color:#333!important;}
.el-input__inner {
color: #333 !important;
}
input::-webkit-input-placeholder {
color: #A1ACC1!important;
}
.placehoload input::-webkit-input-placeholder {
color: #333!important;
}
.el-table,.el-table thead {
color: #A1ACC1 !important;
}
.placehoload input::-webkit-input-placeholder {
color: #333 !important;
}
.el-table, .el-table thead {
color: #333;
}
.el-checkbox__input.is-checked .el-checkbox__inner,
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
background-color: #1969F9;
border-color: #1969F9;
}
.el-select .el-input__inner:focus{
.el-select .el-input__inner:focus {
border-color: #C0C4CC;
}
.el-table__header {
th {
font-weight: normal;
}
}
.el-table__header {
th {
background-color: #F1F4FA
}
}
.el-table--enable-row-hover .el-table__body tr:hover>td,.el-table__body tr.hover-row.current-row>td, .el-table__body tr.hover-row.el-table__row--striped.current-row>td, .el-table__body tr.hover-row.el-table__row--striped>td, .el-table__body tr.hover-row>td{
background: #F1F8FF!important;
.el-table--enable-row-hover .el-table__body tr:hover > td, .el-table__body tr.hover-row.current-row > td, .el-table__body tr.hover-row.el-table__row--striped.current-row > td, .el-table__body tr.hover-row.el-table__row--striped > td, .el-table__body tr.hover-row > td {
background: #F1F8FF !important;
}
.el-table__body-wrapper::-webkit-scrollbar {
width: 18px;
::-webkit-scrollbar {
width: 10px;
height: 10px;
background: transparent
}
.el-table__body-wrapper::-webkit-scrollbar-thumb {
border-radius: 8px;
background: #fff;
width: 18px;
-webkit-box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.2);
::-webkit-scrollbar-track {
background: transparent
}
.el-table__body-wrapper::-webkit-scrollbar-track {
border-radius: 0;
background: #D2D9E7;
::-webkit-scrollbar-thumb {
border-radius: 5px;
background-color: #c1c1c1
}
.el-table td, .el-table th.is-leaf,.el-table--border, .el-table--group{
border-color: #D2D9E7;
::-webkit-scrollbar-thumb:hover {
background-color: #a8a8a8
}
.el-table td, .el-table th.is-leaf, .el-table--border, .el-table--group {
border-color: #D2D9E7;
}
.el-table--border::after, .el-table--group::after, .el-table::before{
.el-table--border::after, .el-table--group::after, .el-table::before {
background-color: #D2D9E7;
}
.el-table__fixed-body-wrapper{
.el-table__fixed-body-wrapper {
z-index: 4;
}
}
.zdypop{
.zdypop {
.el-form-item__label {
color: #333;
}
.el-input.is-disabled{
.el-input.is-disabled {
background-color: #F1F4FA;
border-color: #F1F4FA;
}
.el-input.is-disabled .el-input__inner{
.el-input.is-disabled .el-input__inner {
background-color: #F1F4FA;
border-color: #F1F4FA;
}
......@@ -428,16 +447,19 @@ body {
.el-tooltip__popper[x-placement="bottom"] .popper__arrow {
border-bottom-color: #387FFF !important;
}
.el-tooltip__popper.is-light[x-placement^=top] .popper__arrow{
.el-tooltip__popper.is-light[x-placement^=top] .popper__arrow {
border-top-color: #387FFF !important;
}
.el-tooltip__popper.is-light[x-placement^=bottom] .popper__arrow{
.el-tooltip__popper.is-light[x-placement^=bottom] .popper__arrow {
border-bottom-color: #387FFF !important;
}
.el-tooltip__popper.is-light[x-placement^=left] .popper__arrow{
.el-tooltip__popper.is-light[x-placement^=left] .popper__arrow {
border-left-color: #387FFF !important;
}
//弹窗公共样式
.el-dialog__body {
padding: 20px !important;
......@@ -534,6 +556,7 @@ body {
.p-text {
margin-bottom: 6px;
em {
width: 56px;
text-align: left;
......@@ -552,8 +575,8 @@ body {
}
}
.popper-class-box{
.popper__arrow{
.popper-class-box {
.popper__arrow {
left: 20px !important;
}
}
\ 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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BAAA;;AAGF,wBAAyB;EACvB,WAAA;EACA,eAAA;;AAGF,uBAAuB;EACrB,cAAA;EACA,0BAAA;;AAGF,sBAAsB;EACpB,SAAS,OAAT;;AAGF,qBAGE;AAFF,cAEE;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,OAEE;EACE,WAAA;EACA,gBAAA;;AAJJ,OAOE;EACE,YAAA;EACA,YAAA;EACA,mBAAA;EACA,kBAAA;EACA,eAAA;EACA,cAAA;EACA,iBAAA;EACA,gBAAA;EACA,gBAAA;;AAIJ,iBACE;EACE,qBAAA","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;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;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AAA;;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","file":"common.min.css"}
\ No newline at end of file
......@@ -16,6 +16,7 @@ Vue.config.productionTip = false;
import '@/assets/css/public/common.min.css'
import '@/assets/css/font/iconfont.css'
Vue.prototype.$ELEMENT = { size: 'mini', zIndex: 3000 };
//加载过滤器
Object.keys(filters).forEach(key => Vue.filter(key, filters[key]));
......@@ -64,7 +65,6 @@ router.afterEach((to, from, next) => {
}
});
axios.interceptors.request.use((config) => {
if(config.loading){
showLoading();
......
......@@ -17,6 +17,8 @@ const Message = resolve => require(['@/views/Info/message.vue'], resolve);
const Login = resolve => require(['@/views/User/login.vue'], resolve);
const notfound = resolve => require(['@/views/User/notfound.vue'], resolve);
const BindError = resolve => require(['@/views/User/bindError.vue'], resolve);
const OrderTrackGoods = resolve => require(['@/views/OrderTrack/goods.vue'], resolve);
const OrderTrackInvoice = resolve => require(['@/views/OrderTrack/invoice.vue'], resolve);
const routes = [
......@@ -50,7 +52,7 @@ const routes = [
name: 'Quote',
meta: {
title: '报价管理'
},
component: Quote
},
......@@ -59,7 +61,7 @@ const routes = [
name: 'Brand',
meta: {
title: '品牌列表'
},
component: Brand
},
......@@ -68,7 +70,7 @@ const routes = [
name: 'List',
meta: {
title: '库存列表'
},
component: List
},
......@@ -77,18 +79,18 @@ const routes = [
name: 'ListDetail',
meta: {
title: '导入详情'
},
component: ListDetail
},
{
path: '/enter',
name: 'Enter',
meta: {
title: '库存导入'
},
component: Enter
},
......@@ -97,7 +99,7 @@ const routes = [
name: 'Goods',
meta: {
title: '商品列表'
},
component: Goods
},
......@@ -106,27 +108,45 @@ const routes = [
name: 'Message',
meta: {
title: '基本信息'
},
component: Message
},
{
path: '/orderTrackGoods',
name: '',
meta: {
title: '已采购订单'
},
component: OrderTrackGoods
},
{
path: '/orderTrackInvoice',
name: '',
meta: {
title: '发货单'
},
component: OrderTrackInvoice
},
{
path: '/login',
name: 'Login',
meta: {
title: '猎芯云芯商家-登录',
},
component:Login
component: Login
},
{
path: '/notfound',
name: 'notfound',
meta: {
title: '猎芯网',
},
component:notfound
component: notfound
},
{
path: '/bindError',
......@@ -135,16 +155,13 @@ const routes = [
title: '微信重新绑定',
},
component:BindError
component: BindError
},
/**错误页面重定向到首页**/
{
path: '*',
redirect: '/',
}
]
const router = new VueRouter({
......
<template>
<section class="goods pagex">
<div class="goods-con">
<el-form :inline="true" :model="formInline" class="demo-form-inline">
<el-form-item label="询价日期">
<el-input v-model="formInline.keyword" placeholder="请输入关键词" @keyup.enter.native="submit"></el-input>
</el-form-item>
</el-form>
<div class="btn-nav clr">
<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-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>
<el-table-column prop="encap" label="封装" min-width="15%">
</el-table-column>
<el-table-column prop="pdf" label="规格书" min-width="15%">
<template slot-scope="scope" v-if="scope.row.pdf">
<a :href="scope.row.pdf" target="_blank" class="pdf"><span class="icon iconfont"></span></a>
</template>
</el-table-column>
<el-table-column prop="images_l" label="图片" min-width="15%">
<template slot-scope="scope" v-if="scope.row.images_l">
<img :src="scope.row.images_l" class="brand-img" alt="">
</template>
</el-table-column>
<el-table-column prop="remark" label="商品备注" min-width="15%">
</el-table-column>
<el-table-column prop="create_time" label="创建时间" min-width="15%">
</el-table-column>
<el-table-column prop="update_time" label="更新时间" min-width="15%">
</el-table-column>
</el-table>
<el-pagination layout="prev, pager, next,jumper" :page-size="limit" :total="total" @current-change="handleCurrentChange" :current-page="page"></el-pagination>
</div>
</div>
<Menu/>
</section>
</template>
<script>
import Vue from 'vue';
import Menu from "@/components/menu.vue";
import {Form, FormItem, Select, Option, Input, Button, Table, TableColumn, Message, Dialog, Pagination, Autocomplete, Cascader} from 'element-ui'
Vue.prototype.$message = Message;
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",
data() {
return {
dialogVisible: false,
updateGoodsdata: [],
total: 0,
limit: 10,
page: 1,
downHref: "",
formInline: {
goods_name: '',
brand_name: '',
brand_id: '',
keyword: '',
class_id2: '',
class_id1: ''
},
disabled: false,
timer: null,
tableData: "",
multipleSelection: [],
options: [],
selectedOptions: []
};
},
created() {
this.getData();
},
computed: {},
methods: {
getData() {
this.$http('get', "/api/spu/get_spu_list", {
page: this.page,
limit: this.limit,
brand_id: this.formInline.brand_id,
brand_name: this.formInline.brand_name,
spu_name: this.formInline.goods_name,
keyword: this.formInline.keyword,
class_id2: this.formInline.class_id2,
class_id1: this.formInline.class_id1
}).then(res => {
if (res.code === 0) {
this.tableData = res.data.list || [];
this.total = Number(res.data.count) || 0;
} else {
this.$message(res.msg);
}
})
},
handleCurrentChange(val) {
this.page = val;
this.getData();
},
handleSelectionChange(val) {
this.multipleSelection = val;
},
submit() {
if (this.formInline.keyword && this.formInline.keyword.length == 1) {
this.$message("关键词不能少于2个字符");
return
}
this.page = 1;
this.getData();
},
},
components: {
Menu
}
};
</script>
<style scoped>
@import "../../assets/css/goods/goods.min.css";
</style>
\ No newline at end of file
const env = process.env.NODE_ENV;
const url = 'http://cloud.liexindev.net';
//const url = 'http://192.168.1.237:3000/mock/49';
switch (env) {
case 'development':
......
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