diff --git a/src/pages/exchangepage/couponTemplate/goodsPage/config/bottomBar.js b/src/pages/exchangepage/couponTemplate/goodsPage/config/bottomBar.js index bcfdf969..674ac056 100644 --- a/src/pages/exchangepage/couponTemplate/goodsPage/config/bottomBar.js +++ b/src/pages/exchangepage/couponTemplate/goodsPage/config/bottomBar.js @@ -1,10 +1,13 @@ import React from 'react'; -import { ColorPicker, Notify, RadioGroup, RadioButton } from 'zent'; +import { ColorPicker, Notify, RadioGroup, RadioButton, Switch, ImageUpload } from 'zent'; import "@/assets/comm.css" import Form from "@/components/form/main" import FormItem from "@/components/form-item/main" import { uploadImg, handelResponse } from "@/assets/api.js" import Ipt from "@/components/input/main" +import '@/assets/comm.css' +import './comm.less' + export default class edittemplate extends React.Component { constructor(props) { super(props) @@ -14,7 +17,8 @@ export default class edittemplate extends React.Component { list: "2", font_color: "#f1f2f3", button_color: "#FACD6A", - describe: { type: "", content: "", bg_image: '' } + describe: { type: "", content: "", bg_image: '' }, + checkedLarge: false } } } @@ -63,12 +67,8 @@ export default class edittemplate extends React.Component { } }; - //悬浮富文本 - getsusEditext(c) { - let model1 = this.state.model; - model1.describe.content = c; - this.setState({ model: model1 }); - this.props.seteditorHtml(c); + handleChangeLarge = checked => { + this.setState({ checkedLarge: checked }); } //富文本 getEditext(c) { @@ -196,7 +196,7 @@ export default class edittemplate extends React.Component { } render() { return ( -