Commit 7a594803 authored by xd's avatar xd

修改优惠券样式

parent 6a318166
......@@ -89,7 +89,7 @@ export default {
background-color: #F39B00;
height: 60%;
display: flex;
padding: 20px;
padding: 10px;
align-items: center;
margin-bottom: 38px;
}
......@@ -123,13 +123,13 @@ export default {
.left {
display: flex;
align-items: center;
width: 35%;
height: 100%;
border-right: 1px dashed #f0f0f0;
}
.price {
font-size: 32px;
font-size: 30px;
font-weight: 800;
margin-right: 8px;
}
.right {
width: 65%;
......
......@@ -36,15 +36,18 @@ export default {
},
mounted() {
this.deptId = sessionStorage.getItem('oyStallCode')
// this.deptId = 3
this.getList()
},
methods: {
getList() {
console.log(11);
let params = {
deptId: this.deptId
deptId: 10
}
getCouponList(params).then(res => {
console.log(2);
this.list = res.data
res.data.forEach(item => {
item.begin_date = item.begin_date.substr(0,4)+'-'+item.begin_date.substr(4,2)+'-'+item.begin_date.substr(6,2)
......@@ -74,6 +77,7 @@ export default {
flex-direction: column;
justify-content: flex-start;
align-items: center;
min-height: 100%;
}
.left,.right {
font-size: 16px;
......
......@@ -121,9 +121,7 @@ export default {
// })
// console.log(this.zlist.voucher,'111')
// })
let arr = res.data.map( item => {
let arr = res.data.map( item => {
return this.getVoucherList(item.oyStallCode)
})
console.log();
......@@ -134,10 +132,10 @@ export default {
return obj
})
])
console.log(promiseAll,'promiseAll');
console.log(promiseAll,'promiseAll')
promiseAll.then(res =>{
console.log(res,'sss');
console.log(res,'sss')
})
......
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