Commit 6c10f135 by 肖康

x

parent 62424e24
html {
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
-ms-text-size-adjust : 100%;
}
html * {
outline: 0;
-webkit-text-size-adjust: none !important;
outline : 0;
-webkit-text-size-adjust : none !important;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}
html, body {
font-family: PingFangSC-Regular, PingFang SC, 'Microsoft Yahei', sans-serif;
font-style: normal;
-webkit-font-smoothing: antialiased;
html,
body {
font-family : PingFangSC-Regular, PingFang SC, 'Microsoft Yahei', sans-serif;
font-style : normal;
-webkit-font-smoothing : antialiased;
-moz-osx-font-smoothing: grayscale;
font-size: 14px;
color:#646B78;
}
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, hr, button, article, aside, details, figcaption, figure, footer, header, menu, nav, section {
margin: 0;
font-size : 14px;
color : #646B78;
}
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td,
hr,
button,
article,
aside,
details,
figcaption,
figure,
footer,
header,
menu,
nav,
section {
margin : 0;
padding: 0;
}
button, input, select, textarea {
font-size: 100%;
border: none;
button,
input,
select,
textarea {
font-size : 100%;
border : none;
-webkit-appearance: none;
}
input[type=button], input[type=file], input[type=submit] {
input[type=button],
input[type=file],
input[type=submit] {
cursor: pointer;
}
table {
border-collapse: collapse;
border-spacing: 0;
border-spacing : 0;
}
ol, ul, dl {
ol,
ul,
dl {
list-style: none;
}
h1, h2, h3, h4, h5, h6 {
font-size: 100%;
h1,
h2,
h3,
h4,
h5,
h6 {
font-size : 100%;
font-weight: 500;
}
em, b, i {
em,
b,
i {
font-style: normal;
}
......@@ -65,20 +116,20 @@ img {
}
.clr:after {
content: ".";
clear: both;
height: 0;
content : ".";
clear : both;
height : 0;
visibility: hidden;
display: block;
display : block;
}
.fl {
float: left;
float : left;
_display: inline;
}
.fr {
float: right;
float : right;
_display: inline;
}
......@@ -96,38 +147,38 @@ img {
.lineBlock {
display: inline-block;
*display: inline;
zoom: 1;
display : inline-block;
*display : inline;
zoom : 1;
letter-spacing: normal;
word-spacing: normal;
word-spacing : normal;
}
.lbBox {
font-size: 0 !important;
font-size : 0 !important;
*word-spacing: -1px !important;
}
.emptys {
margin-left: -1px;
width: 1px;
height: 100%;
font-size: 0;
margin-left : -1px;
width : 1px;
height : 100%;
font-size : 0;
vertical-align: middle;
}
.boxsiz {
-webkit-box-sizing: border-box;
box-sizing: border-box;
box-sizing : border-box;
}
.column {
display: flex;
display : flex;
flex-direction: column;
}
.row {
display: flex;
display : flex;
flex-direction: row;
}
......@@ -153,16 +204,17 @@ img {
.boxFlex {
-webkit-box-flex: 1;
-moz-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
-moz-box-flex : 1;
-webkit-flex : 1;
-ms-flex : 1;
flex : 1;
}
html, body {
width: 100%;
height: 100%;
html,
body {
width : 100%;
height : 100%;
-webkit-overflow-scrolling: touch;
}
......@@ -171,77 +223,170 @@ body {
background: #F1F4FA;
}
/**页面盒子**/ /**element-ui 样式重写**/
/**页面盒子**/
/**element-ui 样式重写**/
.pagex {
padding: 20px;
//表单样式重写
.el-input__inner{
height: 38px;
.el-input__inner {
height : 38px;
border-radius: 2px;
border: 1px solid #BEC9DF;
font-size: 14px;
&:focus{
border : 1px solid #BEC9DF;
font-size : 14px;
&:focus {
border: 1px solid #387FFF;
}
}
.el-form-item__label{
color:#666;
.el-form-item__label {
color: #666;
}
.el-range-editor.el-input__inner{width:257px}
.el-select .el-input.is-focus .el-input__inner,.el-range-editor.is-active, .el-range-editor.is-active:hover{
.el-range-editor.el-input__inner {
width: 257px
}
.el-select .el-input.is-focus .el-input__inner,
.el-range-editor.is-active,
.el-range-editor.is-active:hover {
border-color: #387FFF;
}
.el-select{
width:100px;
}
.el-form--inline .el-form-item{
margin-right: 30px;
}
}
.el-select {
width: 100px;
}
.el-form--inline .el-form-item {
margin-right: 30px;
}
.el-message--info {
min-width: auto !important;
border: 0px !important;
min-width : auto !important;
border : 0px !important;
background: rgba(0, 0, 0, 0.4) !important;
.el-icon-info {
display: none;
}
.el-message__content {
color: #fff !important;
}
}
//表格样式重写
.el-table{color:#646B78;}
.el-table__header{
th{
.el-table {
color: #646B78;
}
.el-table__header {
th {
font-weight: normal;
}
.el-table__body tr.hover-row>td {
background-color: #F1F8FF;
}
}
.el-table__fixed{
.el-table__header{
th{
.el-table__fixed {
.el-table__header {
th {
background-color: #F1F4FA
}
}
box-shadow: 1px 2px 10px 3px rgba(119, 135, 145, 0.5);
}
.el-table td,.el-table th.is-leaf{
.el-table td,
.el-table th.is-leaf {
border-bottom: 1px solid #D2D9E7;
}
.el-table--border td, .el-table--border th, .el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed {
}
.el-table--border td,
.el-table--border th,
.el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed {
border-right: 1px solid #D2D9E7;
}
.el-table--border, .el-table--group{
.el-table--border,
.el-table--group {
border: 1px solid #D2D9E7;
}
.el-table--scrollable-x .el-table__body-wrapper{}
}
.el-table__body-wrapper::-webkit-scrollbar {
width: 18px;
}
.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);
}
.el-table__body-wrapper::-webkit-scrollbar-track {
border-radius: 0;
background : #D2D9E7;
}
}
//弹窗公共样式
.el-message-box__headerbtn:focus .el-message-box__close, .el-message-box__headerbtn:hover .el-message-box__close{
color:#1969F9;
}
.el-message-box__container{
text-align: center;
padding:15px 0px;
}
.el-message-box__message{
display: inline-block;
}
.el-message-box__message p{
color:#333;
font-size: 16px;
}
.el-message-box__status.el-icon-error{
color:#FC1F00!important;
font-size: 25px!important;
}
.el-message-box__close:before{
content:"\E609";
}
.el-message-box__btns{
.el-button{
width: 76px;
height: 34px;
text-align: center;
line-height: 34px;
background: #E8ECF4;
border:1px solid #E8ECF4;
border-radius: 2px;
color:#8391AD;
font-size: 14px;
padding:0px;
&:hover,&:focus{
color:#8391AD;
background: #E8ECF4;
border:1px solid #E8ECF4
}
&.el-button--primary{
border:1px solid #1969F9;
color:#fff;
background: #1969F9;
&:hover,&:focus{
color:#fff;
background: #1969F9;
border:1px solid #1969F9
}
}
}
}
\ No newline at end of file
html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}html *{outline:0;-webkit-text-size-adjust:none !important;-webkit-tap-highlight-color:rgba(0,0,0,0) !important}html,body{font-family:PingFangSC-Regular,PingFang SC,'Microsoft Yahei',sans-serif;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:14px;color:#646B78}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,hr,button,article,aside,details,figcaption,figure,footer,header,menu,nav,section{margin:0;padding:0}button,input,select,textarea{font-size:100%;border:none;-webkit-appearance:none}input[type=button],input[type=file],input[type=submit]{cursor:pointer}table{border-collapse:collapse;border-spacing:0}ol,ul,dl{list-style:none}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:500}em,b,i{font-style:normal}a{text-decoration:none}img{border:none}.clr{*zoom:1;clear:both}.clr:after{content:".";clear:both;height:0;visibility:hidden;display:block}.fl{float:left;_display:inline}.fr{float:right;_display:inline}.va-t{vertical-align:top}.va-m{vertical-align:middle}.va-b{vertical-align:bottom}.lineBlock{display:inline-block;*display:inline;zoom:1;letter-spacing:normal;word-spacing:normal}.lbBox{font-size:0 !important;*word-spacing:-1px !important}.emptys{margin-left:-1px;width:1px;height:100%;font-size:0;vertical-align:middle}.boxsiz{-webkit-box-sizing:border-box;box-sizing:border-box}.column{display:flex;flex-direction:column}.row{display:flex;flex-direction:row}.bothSide{justify-content:space-between}.avarage{justify-content:space-around}.rowCenter{justify-content:center}.verCenter{align-items:center}.boxFlex{-webkit-box-flex:1;-moz-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}html,body{width:100%;height:100%;-webkit-overflow-scrolling:touch}body{overflow-x:hidden;background:#F1F4FA}.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:100px}.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-table{color:#646B78}.pagex .el-table__header th{font-weight:normal}.pagex .el-table__header .el-table__body tr.hover-row>td{background-color:#F1F8FF}.pagex .el-table__fixed{box-shadow:1px 2px 10px 3px rgba(119,135,145,0.5)}.pagex .el-table__fixed .el-table__header th{background-color:#F1F4FA}.pagex .el-table td,.pagex .el-table th.is-leaf{border-bottom:1px solid #D2D9E7}.pagex .el-table--border td,.pagex .el-table--border th,.pagex .el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed{border-right:1px solid #D2D9E7}.pagex .el-table--border,.pagex .el-table--group{border:1px solid #D2D9E7}
\ No newline at end of file
html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}html *{outline:0;-webkit-text-size-adjust:none !important;-webkit-tap-highlight-color:rgba(0,0,0,0) !important}html,body{font-family:PingFangSC-Regular,PingFang SC,'Microsoft Yahei',sans-serif;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:14px;color:#646B78}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,hr,button,article,aside,details,figcaption,figure,footer,header,menu,nav,section{margin:0;padding:0}button,input,select,textarea{font-size:100%;border:none;-webkit-appearance:none}input[type=button],input[type=file],input[type=submit]{cursor:pointer}table{border-collapse:collapse;border-spacing:0}ol,ul,dl{list-style:none}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:500}em,b,i{font-style:normal}a{text-decoration:none}img{border:none}.clr{*zoom:1;clear:both}.clr:after{content:".";clear:both;height:0;visibility:hidden;display:block}.fl{float:left;_display:inline}.fr{float:right;_display:inline}.va-t{vertical-align:top}.va-m{vertical-align:middle}.va-b{vertical-align:bottom}.lineBlock{display:inline-block;*display:inline;zoom:1;letter-spacing:normal;word-spacing:normal}.lbBox{font-size:0 !important;*word-spacing:-1px !important}.emptys{margin-left:-1px;width:1px;height:100%;font-size:0;vertical-align:middle}.boxsiz{-webkit-box-sizing:border-box;box-sizing:border-box}.column{display:flex;flex-direction:column}.row{display:flex;flex-direction:row}.bothSide{justify-content:space-between}.avarage{justify-content:space-around}.rowCenter{justify-content:center}.verCenter{align-items:center}.boxFlex{-webkit-box-flex:1;-moz-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}html,body{width:100%;height:100%;-webkit-overflow-scrolling:touch}body{overflow-x:hidden;background:#F1F4FA}.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:100px}.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-table{color:#646B78}.pagex .el-table__header th{font-weight:normal}.pagex .el-table__header .el-table__body tr.hover-row>td{background-color:#F1F8FF}.pagex .el-table__fixed{box-shadow:1px 2px 10px 3px rgba(119,135,145,0.5)}.pagex .el-table__fixed .el-table__header th{background-color:#F1F4FA}.pagex .el-table td,.pagex .el-table th.is-leaf{border-bottom:1px solid #D2D9E7}.pagex .el-table--border td,.pagex .el-table--border th,.pagex .el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed{border-right:1px solid #D2D9E7}.pagex .el-table--border,.pagex .el-table--group{border:1px solid #D2D9E7}.pagex .el-table__body-wrapper::-webkit-scrollbar{width:18px}.pagex .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)}.pagex .el-table__body-wrapper::-webkit-scrollbar-track{border-radius:0;background:#D2D9E7}.el-message-box__headerbtn:focus .el-message-box__close,.el-message-box__headerbtn:hover .el-message-box__close{color:#1969F9}.el-message-box__container{text-align:center;padding:15px 0px}.el-message-box__message{display:inline-block}.el-message-box__message p{color:#333;font-size:16px}.el-message-box__status.el-icon-error{color:#FC1F00 !important;font-size:25px!important}.el-message-box__close:before{content:"\E609"}.el-message-box__btns .el-button{width:76px;height:34px;text-align:center;line-height:34px;background:#E8ECF4;border:1px solid #E8ECF4;border-radius:2px;color:#8391AD;font-size:14px;padding:0px}.el-message-box__btns .el-button:hover,.el-message-box__btns .el-button:focus{color:#8391AD;background:#E8ECF4;border:1px solid #E8ECF4}.el-message-box__btns .el-button.el-button--primary{border:1px solid #1969F9;color:#fff;background:#1969F9}.el-message-box__btns .el-button.el-button--primary:hover,.el-message-box__btns .el-button.el-button--primary:focus{color:#fff;background:#1969F9;border:1px solid #1969F9}
\ No newline at end of file
......@@ -40,7 +40,7 @@
</div>
<div class="fl dcg">导出</div>
<div class="fl dcg heti">上架</div>
<div class="fl dcg heti xjk">下架</div>
<div class="fl dcg heti xjk" @click="handleClose">下架</div>
</div>
<div class="data-box">
<el-table :data="tableData" border style="width: 100%">
......@@ -69,6 +69,27 @@
</el-table>
</div>
<!--修改库存弹窗-->
<el-dialog title="修改库存" :visible.sync="dialogVisible" width="30%" :before-close="handleClose">
<div class="kc-mask">
修改库存
</div>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisible = false">取 消</el-button>
<el-button type="primary" @click="dialogVisible = false">确 定</el-button>
</span>
</el-dialog>
<!--修改库存弹窗-->
<el-dialog title="修改交期" :visible.sync="dialogVisible2" width="30%" :before-close="handleClose">
<div class="kc-mask">
修改货期
</div>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisible2 = false">取 消</el-button>
<el-button type="primary" @click="dialogVisible2 = false">确 定</el-button>
</span>
</el-dialog>
</div>
<Menu />
</div>
......@@ -86,21 +107,24 @@
Input,
DatePicker,
Button,
Icon,
Dropdown,
DropdownMenu,
DropdownItem,
Table,
TableColumn,
Message
Message,
MessageBox,
Dialog
} from 'element-ui'
Vue.use(Button).use(Form).use(Select).use(Option).use(Input).use(FormItem)
Vue.use(DatePicker).use(Icon).use(Dropdown).use(DropdownMenu).use(DropdownItem).use(TableColumn).use(Table)
Vue.use(Button).use(Form).use(Select).use(Option).use(Input).use(FormItem).use(Dialog)
Vue.use(DatePicker).use(Dropdown).use(DropdownMenu).use(DropdownItem).use(TableColumn).use(Table)
export default {
name: "list",
data() {
return {
dialogVisible:false,
dialogVisible2:false,
formInline: {
goods_name: '',
status: '',
......@@ -166,6 +190,24 @@
},
handleCommand(command) {
console.log(command)
if (command == 1) {
//修改库存弹窗
this.dialogVisible=true
} else {
//修改货期弹窗
this.dialogVisible2=true
}
},
handleClose(done) {
MessageBox.confirm('确认关闭?', {
type: 'error'
})
.then(_ => {
done();
})
.catch(_ => {});
},
onSubmit() {
console.log('submit!');
......
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