修改样式
This commit is contained in:
parent
c84501d5bf
commit
cf6a4b6350
|
@ -46,8 +46,8 @@
|
|||
|
||||
.flex {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 50%);
|
||||
|
||||
grid-template-columns: repeat(1, 100%);
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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 }) => {
|
|||
<h3>可用时间</h3>
|
||||
<ul className='timeList flex'>
|
||||
{data.irregularDate?.map((item) => (
|
||||
<li style={{ textAlign: 'center' }}>
|
||||
<li>
|
||||
{item.join(' 至 ')}
|
||||
{data.irregularTime.map((item1) => {
|
||||
if (item1[1])
|
||||
return (
|
||||
<p style={{ textAlign: 'center', marginTop: '5px' }}>
|
||||
<p style={{ marginTop: '5px' }}>
|
||||
{item1[0]}~{item1[1]}
|
||||
</p>
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue