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..f0695cda 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:17:03 * @Description: * @FilePath: \frontend\src\components\knockGold\mobileCmponent.jsx */ @@ -49,12 +49,12 @@ export default ({ data }) => {
+
{item1[0]}~{item1[1]}
)