本地商品添加标识信息
This commit is contained in:
parent
effac9fdf9
commit
72c8a25bb2
@ -1,5 +1,6 @@
|
||||
<template>
|
||||
<view class="form-area">
|
||||
<view class="text-center text-danger m-b-10 bold">* 商品添加完成,等待管理审核</view>
|
||||
<view class="basic-info">
|
||||
<view>
|
||||
<u-field v-model="formData.title" :focus="true" label="商品标题" label-width="160" placeholder="请输入商品标题"
|
||||
@ -192,15 +193,16 @@
|
||||
}, 500)
|
||||
|
||||
if (code == 1) {
|
||||
this.$toast({
|
||||
title: '添加成功'
|
||||
uni.showModal({
|
||||
title: '添加成功',
|
||||
content: '商品添加成功'
|
||||
});
|
||||
} else {
|
||||
this.$toast({
|
||||
title: '添加失败'
|
||||
uni.showModal({
|
||||
title: '添加失败',
|
||||
content: '商品添加失败'
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -317,4 +319,8 @@
|
||||
margin-left: 10rpx;
|
||||
color: #9e9e9e;
|
||||
}
|
||||
|
||||
.text-danger {
|
||||
color: #fb2d2d;
|
||||
}
|
||||
</style>
|
||||
Loading…
Reference in New Issue
Block a user