Commit 784d05d2 by 李长胜

会员中心小修改

1 parent 407378ea
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<el-form-item label="售价" size="small" prop="price" style="width: 300px"> <el-form-item label="售价" size="small" prop="price" style="width: 300px">
<el-input v-model="ruleForm.price" size="small" placeholder="请输入合理价格" @keyup.native="ruleForm.price = oninput(ruleForm.price)"> <el-input v-model="ruleForm.price" size="small" placeholder="请输入合理价格" @keyup.native="ruleForm.price = oninput(ruleForm.price)">
<!-- <template slot="append">元</template> --> <!-- <template slot="append">元</template> -->
<span slot="suffix">元</span> <span slot="suffix" class="suffix-label">元</span>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label="市场价" prop="marketPrice" size="small" style="width: 300px"> <el-form-item label="市场价" prop="marketPrice" size="small" style="width: 300px">
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
</span> </span>
<span class="table-btns" slot="auth-button" slot-scope="scope" :data="scope.scope"> <span class="table-btns" slot="auth-button" slot-scope="scope" :data="scope.scope">
<template v-if="scope.scope.state === 0"> <template v-if="scope.scope.state === 0">
<el-button type="text" @click="handleEdit(scope.scope)">编辑</el-button>
<el-button type="text" @click="handleUpOption(scope.scope)">上架</el-button> <el-button type="text" @click="handleUpOption(scope.scope)">上架</el-button>
<el-button type="text" @click="handleDelete(scope.scope)">删除</el-button> <el-button type="text" @click="handleDelete(scope.scope)">删除</el-button>
</template> </template>
...@@ -20,6 +21,7 @@ ...@@ -20,6 +21,7 @@
<el-button type="text" @click="handleEdit(scope.scope)">编辑</el-button> <el-button type="text" @click="handleEdit(scope.scope)">编辑</el-button>
</template> </template>
<template v-else> <template v-else>
<el-button type="text" @click="handleEdit(scope.scope)">编辑</el-button>
<el-button type="text" @click="handleUpOption(scope.scope)">上架</el-button> <el-button type="text" @click="handleUpOption(scope.scope)">上架</el-button>
<el-button type="text" @click="handleDelete(scope.scope)">删除</el-button> <el-button type="text" @click="handleDelete(scope.scope)">删除</el-button>
</template> </template>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!