xujing 5 лет назад
Родитель
Сommit
890e8ca7fc

+ 1
- 1
src/onlineSelling/pages/protocol/index.js Просмотреть файл

@@ -31,7 +31,7 @@ export default class Protocol extends Component {
31 31
     const { buildingId } = this.$router.params
32 32
     const { house } = this.props
33 33
     const { raiseDeatil } = this.state
34
-    const payProtocol = house.onlineProtocol.replace(/\${name}/ig, raiseDeatil.name || '').replace(/\${idcard}/ig, raiseDeatil.idcard || '').replace(/\${phone}/ig, raiseDeatil.tel || '').replace(/\${date}/ig, dayjs(raiseDeatil.createDate).format('YYYY/MM/DD') || '') || ''
34
+    const payProtocol = house.onlineProtocol.replace(/\${name}/ig, raiseDeatil.name || '').replace(/0.096rem/g, '').replace(/\${idcard}/ig, raiseDeatil.idcard || '').replace(/\${phone}/ig, raiseDeatil.tel || '').replace(/\${date}/ig, dayjs(raiseDeatil.createDate).format('YYYY/MM/DD') || '') || ''
35 35
 
36 36
     return (
37 37
       <View className="protocal-box">

+ 2
- 2
src/onlineSelling/pages/raiseMoney/index.js Просмотреть файл

@@ -254,7 +254,7 @@ export default class raiseMoney extends Component {
254 254
   }
255 255
   renderAgreement() {
256 256
     const { raiseProfile = {} } = this.state
257
-    const payProtocol = raiseProfile.payProtocol.replace(/\${name}/ig, '').replace(/\${idcard}/ig, '').replace(/\${phone}/ig, '').replace(/\${date}/ig, '') || ''
257
+    const payProtocol = raiseProfile.payProtocol.replace(/\${name}/ig, '').replace(/\${idcard}/ig, '').replace(/\${phone}/ig, '').replace(/\${date}/ig, '').replace(/0.096rem/g, '') || ''
258 258
     return (
259 259
       <ScrollView scrollY className="container3">
260 260
         <View className="agent-box">
@@ -454,7 +454,7 @@ export default class raiseMoney extends Component {
454 454
           )
455 455
         }
456 456
         <View className="center-title">{payTip}</View>
457
-        <RichText style="font-size: initial" nodes={showProtocal || ''} />
457
+        <RichText  nodes={showProtocal || ''} />
458 458
       </ScrollView >
459 459
     )
460 460
   }

+ 0
- 1
src/onlineSelling/pages/raiseMoney/index.scss Просмотреть файл

@@ -71,7 +71,6 @@
71 71
     .rich-text {
72 72
       width: 100%;
73 73
       overflow-x: hidden;
74
-      font-size: initial;
75 74
     }
76 75
   }
77 76
   .agent-box{