Browse Source

苹果浏览器图标丢失,房屋脱敏隐藏

feature
mk 3 years ago
parent
commit
0152fbdc23
  1. 2
      src/assets/scss/common.scss
  2. 2
      src/assets/scss/variables.scss
  3. 4
      src/views/components/resiInfo.vue
  4. 24
      src/views/modules/base/community/roomDetail.vue
  5. 32
      src/views/modules/shequ/chaxun.vue

2
src/assets/scss/common.scss

@ -440,7 +440,7 @@ img {
img {
position: relative;
display: block;
left: -100px;
// left: -100px;
width: 24px;
height: 24px;
filter: drop-shadow(100px 0px rgba(#000, 0.85));

2
src/assets/scss/variables.scss

@ -5,7 +5,7 @@ $base--line-height: 1.15;
$navbar--height: 64px;
// Sidebar
$sidebar--width: 230px;
$sidebar--width: 251px;
$sidebar--width-fold: 64px;
$sidebar--background-color-dark: #263238;
$sidebar--text-color-dark: #8a979e;

4
src/views/components/resiInfo.vue

@ -37,7 +37,7 @@
<div class="f-label">联系电话:</div> <div class="f-left8 f-font-color">
{{resiDetailObj.showMobile?resiDetailObj.showMobile:resiDetailObj.mobile?`${resiDetailObj.mobile.substr(0,3)}`+ "****" +`${resiDetailObj.mobile.substr(7,5)}`:'--'}}
</div>
<img v-show="this.showFlagMobileBtn" src="../../assets/img/yanjing1.png" alt="" width="14px" style="margin-left: 10px">
<img v-show="this.showFlagMobileBtn && resiDetailObj.mobile" src="../../assets/img/yanjing1.png" alt="" width="14px" style="margin-left: 10px">
<img v-show="!this.showFlagMobileBtn" src="../../assets/img/yanjing2.png" alt="" width="14px" style="margin-left: 10px">
<el-button v-if="resiDetailObj.mobile"
type="text"
@ -49,7 +49,7 @@
<div class="f-label">证件号: </div>
<div class="f-left8 f-font-color">{{resiDetailObj.showIdNum?resiDetailObj.showIdNum:resiDetailObj.idNum?`${resiDetailObj.idNum.substr(0, 11)}` +"******" +`${resiDetailObj.idNum.substr(16, 2)}`:'--'}}
</div>
<img v-show="this.showFlagIdCardBtn" src="../../assets/img/yanjing1.png" alt="" width="14px" style="margin-left: 10px">
<img v-show="this.showFlagIdCardBtn &&resiDetailObj.idNum" src="../../assets/img/yanjing1.png" alt="" width="14px" style="margin-left: 10px">
<img v-show="!this.showFlagIdCardBtn" src="../../assets/img/yanjing2.png" alt="" width="14px" style="margin-left: 10px">
<el-button v-if="resiDetailObj.idNum"

24
src/views/modules/base/community/roomDetail.vue

@ -44,26 +44,26 @@
<span class="info-mingan">{{
dataForm.showOwnerPhone ? dataForm.showOwnerPhone : "--"
}}</span>
<img v-show="showFlagMobileBtn &&dataForm.showOwnerPhone" src="../../../../assets/img/yanjing1.png" alt="" style="margin-left: 10px">
<img v-show="!showFlagMobileBtn" src="../../../../assets/img/yanjing2.png" alt="" style="margin-left: 10px">
<el-button v-if="view_real_data && dataForm.showOwnerPhone"
style="margin-left: 10px"
type="text"
class="div-table-button--blue"
icon="el-icon-view"
size="small"
@click="handleTuomin('phone')">显示</el-button>
@click="handleTuomin('phone')">{{this.showFlagMobileBtn == true?'显示':'隐藏'}}</el-button>
</div>
<div class="m-info-prop">
<span class="u-info-title u-info-title-80">证件号</span>
<span class="info-mingan">{{
dataForm.showOwnerIdCard ? dataForm.showOwnerIdCard : "--"
}}</span>
<img v-show="showFlagIdCardBtn &&dataForm.showOwnerIdCard" src="../../../../assets/img/yanjing1.png" alt="" width="14px" style="margin-left: 10px">
<img v-show="!showFlagIdCardBtn" src="../../../../assets/img/yanjing2.png" alt="" width="14px" style="margin-left: 10px">
<el-button v-if="view_real_data && dataForm.showOwnerIdCard"
style="margin-left: 10px"
type="text"
class="div-table-button--blue"
icon="el-icon-view"
size="small"
@click="handleTuomin('idcard')">显示</el-button>
@click="handleTuomin('idcard')">{{this.showFlagIdCardBtn?'显示':'隐藏'}}</el-button>
</div>
<div class="m-info-prop">
<span class="u-info-title u-info-title-80">备注</span>
@ -133,8 +133,10 @@ export default {
sysCoding: "",
neighborHoodName: "",
buildingName: "",
},
showFlagIdCardBtn:true,
showFlagMobileBtn:true,
keyWords: "",
};
},
@ -169,9 +171,17 @@ export default {
if (code === 0) {
if (type === "phone") {
this.$set(this.dataForm, "showOwnerPhone", data.mobile);
this.showFlagMobileBtn = !this.showFlagMobileBtn
if(this.showFlagMobileBtn){
this.$set(this.dataForm, 'showOwnerPhone', data.mobile.substr(0,3) +'****'+ data.mobile.substr(7,4) )
}
}
if (type === "idcard") {
this.$set(this.dataForm, "showOwnerIdCard", data.idCard);
this.showFlagIdCardBtn = !this.showFlagIdCardBtn
if(this.showFlagIdCardBtn){
this.$set(this.dataForm, 'showOwnerIdCard', data.idCard.substr(0,11) +'****'+ data.idCard.substr(16,2) )
}
}
} else {
this.$message.error(msg);

32
src/views/modules/shequ/chaxun.vue

@ -8,13 +8,13 @@
<div class="tabs">
<div
:class="{ 'z-on': searchData.type == 'jumin' }"
:class="searchData.type == 'jumin'?'z-on':''"
@click="handelClickTab('jumin')"
>
查居民
</div>
<div
:class="{ 'z-on': searchData.type == 'fangwu' }"
:class="searchData.type == 'fangwu'?'z-on':''"
@click="handelClickTab('fangwu')"
>
查房屋
@ -959,24 +959,24 @@ export default {
}
&.z-on {
color: #ffffff;
background: $c1;
background: #0056d6;
&:hover {
color: #ffffff;
}
&::after {
content: "";
display: block;
position: absolute;
bottom: -10px;
left: 0;
right: 0;
margin: 0 auto;
width: 0;
height: 0;
border: 5px solid transparent;
border-top: 5px solid $c1;
}
// &::after {
// content: "";
// display: block;
// position: absolute;
// bottom: -10px;
// left: 0;
// right: 0;
// margin: 0 auto;
// width: 0;
// height: 0;
// border: 5px solid transparent;
// border-top: 5px solid $c1;
// }
}
}
}

Loading…
Cancel
Save