Commit 83e68a3a by zhangquan

添加loading

1 parent 3ffa0056
......@@ -194,7 +194,15 @@ export default {
effectiveDays,
equityCouponRequestList
}
const loading = this.$loading({
lock: true,
text: 'Loading...',
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.5)',
customClass:'loadingClass'
})
this.$apis.goodsCouponApi.createCoupons(params).then(res => {
loading.close()
if (res && res.length === 0) {
this.$message.success('创建成功')
this.$router.push({ path: '/goodsCoupon/index' })
......@@ -212,7 +220,7 @@ export default {
.container {
background-color: #fff;
padding: 32px 30px;
min-height: calc(100vh - 150px);
min-height: calc(100vh - 190px);
position: relative;
/deep/ .glsx-combi-form {
padding-bottom: 30px;
......
......@@ -307,7 +307,7 @@ export default {
.container {
background-color: #fff;
padding: 20px;
height: calc(100vh - 120px);
height: calc(100vh - 170px);
.good_name {
.coupon_type {
width: 40px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!