提交 3f943891 作者: 余乾开

Update index.vue

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