超出换行

This commit is contained in:
shijingjing
2022-01-14 18:03:26 +08:00
parent 4819b792d2
commit b001ed1740
2 changed files with 3 additions and 3 deletions

View File

@@ -29,7 +29,7 @@
<span class="user-tel">{{item.phone}}</span>
</div>
<div class="idCard">{{item.idNumber && item.idNumber.replace(/^(\d{6})\d{8}(.{4}$)/g, `$1${Array(9).join('*')}$2`)}}</div>
<div class="address">{{item.currentAreaName || '' + item.currentAddress}}</div>
<div class="address">{{item.currentAreaName || '' }}{{item.currentAddress || ''}}</div>
</div>
</div>
</div>

View File

@@ -15,7 +15,7 @@
<span class="user-tel">{{item.phone}}</span>
</div>
<div class="idCard">{{item.idNumber && item.idNumber.replace(/(.{6}).*(.{4})/,"$1********$2")}}</div>
<div class="address">{{item.currentAreaName || '' + item.currentAddress}}</div>
<div class="address">{{item.currentAreaName || ''}} {{ item.currentAddress || '' }}</div>
</div>
</div>
</li>
@@ -117,7 +117,7 @@ export default {
}
.address {
max-width: 100%;
word-wrap:break-word;
word-break:break-all;
margin-bottom: 18px;
font-size: 26px;
color: #999999;