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 (
@@ -49,12 +45,12 @@ export default ({ data }) => {

可用时间