|
@@ -1,6 +1,10 @@
|
|
|
<template>
|
|
|
<div id="index">
|
|
|
<data-form :span="24" :fields="fields" :rules="rules" v-model="form" labelWidth="150px" @save="toSave">
|
|
|
+ <template #buyPoint>
|
|
|
+ <el-input v-model="form.buyPoint" type="number" placeholder="请输入购物赠送积分"></el-input>
|
|
|
+ <p style="color: #999">金额:积分=10:1</p>
|
|
|
+ </template>
|
|
|
<template #agree>
|
|
|
<editor v-model="form.agree" url="/files/point/config/upload" />
|
|
|
</template>
|
|
@@ -20,7 +24,7 @@ export default {
|
|
|
fields: [
|
|
|
{ label: '系统名称', model: 'title' },
|
|
|
{ label: 'logo', model: 'logo', type: 'upload', limit: 1, url: '/files/point/config/upload' },
|
|
|
- // { label: '购物赠送积分', model: 'buyPoint', type: 'number' },
|
|
|
+ { label: '购物赠送积分', model: 'buyPoint', custom: true },
|
|
|
// { label: '积分计划', model: 'pointPlan' },
|
|
|
{ label: '底部文字', model: 'bottom_title' },
|
|
|
{ label: '分享图片', model: 'share', type: 'upload', limit: 1, url: '/files/point/config/upload' },
|