1002884655 4 vuotta sitten
vanhempi
commit
19aaad5024
2 muutettua tiedostoa jossa 60 lisäystä ja 0 poistoa
  1. 20
    0
      src/pages/WuYe/BaoXiuDetail/index.jsx
  2. 40
    0
      src/pages/WuYe/BaoXiuDetail/index.less

+ 20
- 0
src/pages/WuYe/BaoXiuDetail/index.jsx Näytä tiedosto

@@ -142,6 +142,26 @@ export default function BaoXiuDetail () {
142 142
                         <text>{toolclass.FormatDate(item.createDate)}</text>
143 143
                       </view>
144 144
                       <view className='Text'>{item.content}</view>
145
+                      {
146
+                        item.ticketRecordCommentList.map((subItem, subIndex) => (
147
+                          <view className='ReplyList' key={`Reply-${subIndex}`}>
148
+                            <view className='flex-h'>
149
+                              <view>
150
+                                <text>{subItem.userName}</text>
151
+                              </view>
152
+                              <view className='flex-item'>
153
+                                <text>回复:</text>
154
+                              </view>
155
+                              <view>
156
+                                <text>{toolclass.FormatDate(subItem.createDate)}</text>
157
+                              </view>
158
+                            </view>
159
+                            <view className='ReplyContent'>
160
+                              <text>{subItem.content}</text>
161
+                            </view>
162
+                          </view>
163
+                        ))
164
+                      }
145 165
                       {/* <view className='Text'>您的报修正在分配物业处理人员,若长时间无人处理,请联系物业。<text className='Blue'>物业电话薄</text><text className='Blue iconfont iconjiantouright'></text></view> */}
146 166
                       {/* <view className='ImgList'>
147 167
                       <view></view>

+ 40
- 0
src/pages/WuYe/BaoXiuDetail/index.less Näytä tiedosto

@@ -159,6 +159,38 @@
159 159
               }
160 160
             }
161 161
 
162
+            >.ReplyList {
163
+              margin-top: 20px;
164
+
165
+              >.flex-h {
166
+                align-items: center;
167
+
168
+                >view {
169
+                  margin-left: 10px;
170
+                  &:first-child {
171
+                    margin-left: 0;
172
+                    >text {
173
+                      color: #14DC05;
174
+                    }
175
+                  }
176
+
177
+                  >text {
178
+                    font-size: 24px;
179
+                    color: #666;
180
+                    line-height: 40px;
181
+                  }
182
+                }
183
+              }
184
+
185
+              >.ReplyContent {
186
+                >text {
187
+                  font-size: 24px;
188
+                  color: #333;
189
+                  line-height: 40px;
190
+                }
191
+              }
192
+            }
193
+
162 194
             >.ImgList {
163 195
               font-size: 0;
164 196
 
@@ -249,17 +281,20 @@
249 281
       }
250 282
     }
251 283
   }
284
+
252 285
   .PinJiaPopup,
253 286
   .ReplyPopup {
254 287
     padding: 0 30px;
255 288
     position: relative;
256 289
     overflow: hidden;
290
+
257 291
     >.Title {
258 292
       display: block;
259 293
       font-size: 26px;
260 294
       color: #666;
261 295
       line-height: 40px;
262 296
     }
297
+
263 298
     textarea {
264 299
       font-size: 26px;
265 300
       line-height: 40px;
@@ -269,25 +304,30 @@
269 304
       border: 2px solid rgba(0, 0, 0, 0.08);
270 305
       margin-top: 60px;
271 306
     }
307
+
272 308
     >.StarLine {
273 309
       font-size: 0;
274 310
       white-space: nowrap;
275 311
       text-align: center;
276 312
       margin-top: 20px;
313
+
277 314
       text {
278 315
         display: inline-block;
279 316
         vertical-align: middle;
280 317
         font-size: 40px;
281 318
         color: #666;
282 319
         margin-left: 20px;
320
+
283 321
         &:first-child {
284 322
           margin-left: 0;
285 323
         }
324
+
286 325
         &.active {
287 326
           color: #fcdc1e;
288 327
         }
289 328
       }
290 329
     }
330
+
291 331
     >.Btn {
292 332
       font-size: 28px;
293 333
       line-height: 80px;