Baozhangchao 3 年之前
父節點
當前提交
4530bde074
共有 2 個文件被更改,包括 42 次插入16 次删除
  1. 4
    1
      src/components/BuildingSelect/index.jsx
  2. 38
    15
      src/components/BuildingSelect/style.css

+ 4
- 1
src/components/BuildingSelect/index.jsx 查看文件

104
                     <Button className='checkBtn' onClick={() => setVisible(false)}  >取消</Button>
104
                     <Button className='checkBtn' onClick={() => setVisible(false)}  >取消</Button>
105
                     <Button className='okBtn' disabled={!val.buildingId} onClick={handleSubmit}> 确定</Button>
105
                     <Button className='okBtn' disabled={!val.buildingId} onClick={handleSubmit}> 确定</Button>
106
                   </view>
106
                   </view>
107
-
107
+                  {/* <view className='Btn'>
108
+                    <Button onClick={() => setVisible(false)} >取消</Button>
109
+                    <Button disabled={!val.buildingId} onClick={handleSubmit}>确定</Button>
110
+                  </view> */}
108
                 </view>
111
                 </view>
109
               </view>
112
               </view>
110
             </view>
113
             </view>

+ 38
- 15
src/components/BuildingSelect/style.css 查看文件

31
   align-items: center;
31
   align-items: center;
32
   text-align: center;
32
   text-align: center;
33
 }
33
 }
34
-.title-wrapper-dark {
35
-  color: white;
36
-  justify-content: space-between;
37
-  text-align: center;
38
-  height: 28px;
39
-  font-size: 35px;
40
-  font-weight: 700;
41
-  /* margin-bottom: 5.9vw; */
42
-  border-bottom: #999 1px solid;
43
-}
34
+
44
 .radio-list__text-dark {
35
 .radio-list__text-dark {
45
   width: 100%;
36
   width: 100%;
46
   align-items: center;
37
   align-items: center;
75
   /* margin-bottom: 5.9vw; */
66
   /* margin-bottom: 5.9vw; */
76
   /* margin: 1.5em auto; */
67
   /* margin: 1.5em auto; */
77
   line-height: 80px;
68
   line-height: 80px;
69
+  padding-bottom: 2.9vw;
70
+
78
   border-bottom: 1px solid rgba(99, 99, 99, 0.2);
71
   border-bottom: 1px solid rgba(99, 99, 99, 0.2);
79
 }
72
 }
80
 .title-wrapper > image {
73
 .title-wrapper > image {
95
 
88
 
96
 .checkBtn {
89
 .checkBtn {
97
   display: inline-block;
90
   display: inline-block;
98
-  width: 35%;
91
+  /* width: 35%;
99
 
92
 
100
   background-color: white;
93
   background-color: white;
101
   color: #57bd6a;
94
   color: #57bd6a;
102
   text-align: center;
95
   text-align: center;
103
   height: 10vw;
96
   height: 10vw;
104
   font-size: 26px;
97
   font-size: 26px;
105
-  box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
98
+  box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12); */
99
+
100
+  width: 35%;
101
+  text-align: center;
102
+  font-size: 32px;
103
+  line-height: 92px;
104
+  background: #193c83;
105
+  color: #fff;
106
+  font-weight: bold;
107
+  border-radius: 92px;
106
 }
108
 }
107
 
109
 
108
 .okBtn {
110
 .okBtn {
109
-  width: 35%;
111
+  /* width: 35%;
110
   background-color: #57bd6a;
112
   background-color: #57bd6a;
111
   color: white;
113
   color: white;
112
   text-align: center;
114
   text-align: center;
113
   height: 10vw;
115
   height: 10vw;
114
-  font-size: 26px;
116
+  font-size: 26px; */
117
+  width: 35%;
118
+  text-align: center;
119
+  font-size: 32px;
120
+  line-height: 92px;
121
+  background: #193c83;
122
+  color: #fff;
123
+  font-weight: bold;
124
+  border-radius: 92px;
115
 }
125
 }
116
 .radio-list__label {
126
 .radio-list__label {
117
   display: flex;
127
   display: flex;
118
   align-items: center;
128
   align-items: center;
119
   margin: 1.5em auto;
129
   margin: 1.5em auto;
120
 }
130
 }
121
-.radio-list__RadioGroup {
131
+.Btn {
132
+  padding: 40px;
133
+  position: relative;
134
+  overflow: hidden;
135
+}
136
+button {
137
+  /* display: block; */
138
+  text-align: center;
139
+  font-size: 32px;
140
+  line-height: 92px;
141
+  background: #193c83;
142
+  color: #fff;
143
+  font-weight: bold;
144
+  border-radius: 92px;
122
 }
145
 }
123
 .radio-list__radio {
146
 .radio-list__radio {
124
   display: flex;
147
   display: flex;