提交 3f943891 作者: 余乾开

Update index.vue

上级 aa6e7fce
......@@ -17,7 +17,7 @@
<pick-region @getRegion="handleGetRegion">
<view class="location-select">
<view>深圳</view>
<image src="../../static/images/icon-down.png" />
<image src="../../static/images/icon-down.png" />
</view
></pick-region>
<view class="search-content">
......@@ -57,7 +57,7 @@
nation: "中国",
nation_code: "156",
province: "广东省",
},
isHeight:false,
websitHeight:0,
......@@ -72,10 +72,14 @@
onLoad(option) {
let str = this.getQueryString("location") || JSON.stringify(this.locationData);
this.location = JSON.parse(str);
uni.showToast({
title:this.location.location.lng+'',
icon:'none'
})
},
filters:{
getPhoneStr(value){
let str=String(value)
let str=String(value)
return str.substring(0,3)+'****'+str.substring(str.length-4,str.length)
}
},
......@@ -109,7 +113,7 @@
}
return null;
},
}
}
</script>
......@@ -414,6 +418,6 @@
display: none !important;
}
}
</style>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论