diff --git a/src/components/knockGold/index.less b/src/components/knockGold/index.less index 4f484d03..72e08747 100644 --- a/src/components/knockGold/index.less +++ b/src/components/knockGold/index.less @@ -46,8 +46,8 @@ .flex { display: grid; - grid-template-columns: repeat(2, 50%); - + grid-template-columns: repeat(1, 100%); + text-align: left; } } diff --git a/src/components/knockGold/mobileCmponent.jsx b/src/components/knockGold/mobileCmponent.jsx index dacd7265..19ce5562 100644 --- a/src/components/knockGold/mobileCmponent.jsx +++ b/src/components/knockGold/mobileCmponent.jsx @@ -2,7 +2,7 @@ * @Author: Wind * @Date: 2022-06-06 14:53:58 * @LastEditors: Wind - * @LastEditTime: 2022-08-15 10:23:22 + * @LastEditTime: 2022-08-15 14:18:35 * @Description: * @FilePath: \frontend\src\components\knockGold\mobileCmponent.jsx */ @@ -17,11 +17,7 @@ export default ({ data }) => { setNewWeek(sortWeeks(data.ruleWeek)) }, [data.ruleWeek]) - function createElement(type) { - { - /* irregularDate: [[]], //不规则日期 - irregularTime: [[]], //不规则时间 */ - } + function createElement() { if (data.usable_time === 'week') { return (
+
{item1[0]}~{item1[1]}
) diff --git a/src/pages/plan/key/list.js b/src/pages/plan/key/list.js index 452284e7..af544cb2 100644 --- a/src/pages/plan/key/list.js +++ b/src/pages/plan/key/list.js @@ -884,7 +884,7 @@ export default class acclist extends React.Component { /*计划已完结6,未通过2,已作废8 不可复制 key创建中1,未通过2 不可复制 */ - if ([1, 6, 7].includes(rowData.status)) { + if ([6, 7].includes(rowData.status)) { str = ( 编辑 @@ -948,8 +948,7 @@ export default class acclist extends React.Component { }>