Baozhangchao 3 年之前
父節點
當前提交
6b807459c2
共有 2 個檔案被更改,包括 17 行新增8 行删除
  1. 2
    2
      src/components/BottomMoadl/index.jsx
  2. 15
    6
      src/components/BottomMoadl/style.css

+ 2
- 2
src/components/BottomMoadl/index.jsx 查看文件

119
         <view className={darkMode == 'dark' ? 'frame-dark' : 'frame'}>
119
         <view className={darkMode == 'dark' ? 'frame-dark' : 'frame'}>
120
           {/* 标题  */}
120
           {/* 标题  */}
121
           <view className={darkMode == 'dark' ? 'title-wrapper-dark' : 'title-wrapper'}>
121
           <view className={darkMode == 'dark' ? 'title-wrapper-dark' : 'title-wrapper'}>
122
-            <view>{frameTitle}</view>
122
+            <view style={{ marginLeft: '-8vw' }}>{frameTitle}</view>
123
           </view>
123
           </view>
124
           {/* 内容 */}
124
           {/* 内容 */}
125
           <view style='overflow-x: hidden;'>
125
           <view style='overflow-x: hidden;'>
127
               <View className='radio-list' >
127
               <View className='radio-list' >
128
                 <scroll-view
128
                 <scroll-view
129
                   scrollY
129
                   scrollY
130
-                  style={{ height: '30vh', overflow: 'hidden' }}
130
+                  style={{ height: '40vh', overflow: 'hidden' }}
131
                   catchMove
131
                   catchMove
132
                 >
132
                 >
133
                   <RadioGroup className='radio-list__RadioGroup' onChange={buildingConten} onClick={e => e.stopPropagation()}>
133
                   <RadioGroup className='radio-list__RadioGroup' onChange={buildingConten} onClick={e => e.stopPropagation()}>

+ 15
- 6
src/components/BottomMoadl/style.css 查看文件

36
   height: 28px;
36
   height: 28px;
37
   font-size: 35px;
37
   font-size: 35px;
38
   font-weight: 700;
38
   font-weight: 700;
39
-  margin-bottom: 5.9vw;
39
+  /* margin-bottom: 5.9vw; */
40
+  border-bottom: #999 1px solid;
40
 }
41
 }
41
 .radio-list__text-dark {
42
 .radio-list__text-dark {
42
   width: 100%;
43
   width: 100%;
57
   align-items: center;
58
   align-items: center;
58
   text-align: center;
59
   text-align: center;
59
 }
60
 }
61
+.page-section {
62
+  padding-top: 1em;
63
+}
60
 .title-wrapper {
64
 .title-wrapper {
65
+  -webkit-justify-content: space-between;
66
+  -ms-flex-pack: justify;
61
   justify-content: space-between;
67
   justify-content: space-between;
62
   text-align: center;
68
   text-align: center;
63
-  height: 28px;
69
+  /* height: 28rpx; */
64
   font-size: 35px;
70
   font-size: 35px;
65
   font-weight: 700;
71
   font-weight: 700;
66
   color: #202020;
72
   color: #202020;
67
-  margin-bottom: 5.9vw;
68
-  margin: 1.5em auto;
73
+  /* margin-bottom: 5.9vw; */
74
+  /* margin: 1.5em auto; */
75
+  line-height: 80px;
76
+  border-bottom: 1px solid rgba(99, 99, 99, 0.2);
69
 }
77
 }
70
 .title-wrapper > image {
78
 .title-wrapper > image {
71
   width: 3.5vw;
79
   width: 3.5vw;
106
 .radio-list__label {
114
 .radio-list__label {
107
   display: flex;
115
   display: flex;
108
   align-items: center;
116
   align-items: center;
117
+  margin: 1.5em auto;
109
 }
118
 }
110
 .radio-list__RadioGroup {
119
 .radio-list__RadioGroup {
111
 }
120
 }
112
 .radio-list__radio {
121
 .radio-list__radio {
113
   display: flex;
122
   display: flex;
114
 
123
 
115
-  margin-top: 1em;
116
-  margin-bottom: 0.2em;
124
+  /* margin-top: 1em; */
125
+  /* margin-bottom: 0.2em; */
117
 }
126
 }
118
 .radio-list__text {
127
 .radio-list__text {
119
   width: 100%;
128
   width: 100%;