🎨 style: 优化文案展示

This commit is contained in:
wangsongsole 2024-02-01 14:06:19 +08:00
parent 32e3876293
commit 9e2e857573
2 changed files with 17 additions and 23 deletions

View File

@ -994,7 +994,9 @@ export default class orderList extends React.Component {
<Menu onClick={(e, key) => this.menuItemClick(key, rowData.order_number)}> <Menu onClick={(e, key) => this.menuItemClick(key, rowData.order_number)}>
{rowData.notifyEvent && {rowData.notifyEvent &&
rowData.notifyEvent.map((item) => ( rowData.notifyEvent.map((item) => (
<MenuItem key={item.event}>{item.name}</MenuItem> <MenuItem disabled={item.disable == 2} key={item.event}>
{item.name}
</MenuItem>
))} ))}
{rowData.type === 2 && {rowData.type === 2 &&
rowData.orderVoucher && rowData.orderVoucher &&

View File

@ -5,7 +5,7 @@ import FormItem from "@/components/form-item/main"
import Form from "@/components/form/main" import Form from "@/components/form/main"
import { map } from "lodash-es" import { map } from "lodash-es"
import React from "react" import React from "react"
import { RadioButton, RadioGroup, Select } from "zent" import { RadioButton, RadioGroup, Select, Icon, Pop } from "zent"
import "./add.less" import "./add.less"
export default class accList extends React.Component { export default class accList extends React.Component {
@ -173,20 +173,6 @@ export default class accList extends React.Component {
新建落地页 新建落地页
</a> </a>
</FormItem> </FormItem>
<FormItem labelname="兑换入口交互" prop="use">
<RadioGroup
onChange={(e) => {
this.onLinkChange(e)
}}
value={this.state.model.use}
>
<RadioButton value={2} disabled>
二维码
</RadioButton>
<RadioButton value={1}>链接</RadioButton>
</RadioGroup>
</FormItem>
<FormItem labelname="域名选择" prop="link"> <FormItem labelname="域名选择" prop="link">
<RadioGroup <RadioGroup
onChange={(e) => { onChange={(e) => {
@ -194,13 +180,19 @@ export default class accList extends React.Component {
}} }}
value={this.state.model.link} value={this.state.model.link}
> >
<RadioButton value={1}>大客户</RadioButton> <Pop trigger="hover" content="22233.cn ">
<RadioButton value={2} disabled={this.state.keyType === "2"}> <RadioButton value={1}>大客户</RadioButton>
普通商户 </Pop>
</RadioButton> <Pop trigger="hover" content="83323.cn">
<RadioButton value={3} disabled={this.state.keyType === "2"}> <RadioButton value={2} disabled={this.state.keyType === "2"}>
备用 普通商户
</RadioButton> </RadioButton>
</Pop>
<Pop trigger="hover" content="86885.cn">
<RadioButton value={3} disabled={this.state.keyType === "2"}>
备用
</RadioButton>
</Pop>
</RadioGroup> </RadioGroup>
</FormItem> </FormItem>
</Form> </Form>