|
@@ -41,8 +41,8 @@
|
|
|
this.cityArray.splice(0,1,getProvinces());
|
|
|
this.cityArray.splice(1,1,getMyCity(this.cityValue[0]));
|
|
|
// 默认地址
|
|
|
- this.requestParam.province = this.cityArray[0][this.cityValue[0]]
|
|
|
- this.requestParam.city = this.cityArray[1][this.cityValue[1]];
|
|
|
+ // this.requestParam.province = this.cityArray[0][this.cityValue[0]]
|
|
|
+ // this.requestParam.city = this.cityArray[1][this.cityValue[1]];
|
|
|
},
|
|
|
onShow(){
|
|
|
// 登录信息
|
|
@@ -52,6 +52,22 @@
|
|
|
toApply(){
|
|
|
// 登录信息
|
|
|
if( !this.$checkAccess.alterLogin() ) return ;
|
|
|
+ // 提示信息
|
|
|
+ if( !this.requestParam.province ){
|
|
|
+ uni.showToast({
|
|
|
+ title:"请选择所在城市",
|
|
|
+ icon:"none"
|
|
|
+ })
|
|
|
+ return ;
|
|
|
+ }
|
|
|
+ // 提示信息
|
|
|
+ if( !this.requestParam.city ){
|
|
|
+ uni.showToast({
|
|
|
+ title:"请选择所在城市",
|
|
|
+ icon:"none"
|
|
|
+ })
|
|
|
+ return ;
|
|
|
+ }
|
|
|
// 请求状态
|
|
|
uni.showLoading({mask:true});
|
|
|
// 授权成功以后,调用绑定
|
|
@@ -130,13 +146,15 @@
|
|
|
padding: 0rpx 20rpx;
|
|
|
line-height: 56rpx;;
|
|
|
border: 2rpx solid #DDDDDD;
|
|
|
- }
|
|
|
- .area_text{
|
|
|
- width: 446rpx;
|
|
|
- font-size: 20rpx;
|
|
|
- overflow: hidden;
|
|
|
- white-space: nowrap;
|
|
|
- text-overflow: ellipsis;
|
|
|
+ .area_text{
|
|
|
+ width: 446rpx;
|
|
|
+ height: 56rpx;
|
|
|
+ font-size: 20rpx;
|
|
|
+ overflow: hidden;
|
|
|
+ white-space: nowrap;
|
|
|
+ line-height: 56rpx;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ }
|
|
|
}
|
|
|
.group_image{
|
|
|
width: 200rpx;
|