问题修复

This commit is contained in:
donqi 2022-06-23 17:32:57 +08:00
parent a0006801c3
commit e2801f18f6
4 changed files with 96 additions and 78 deletions

View File

@ -13,8 +13,8 @@
<view class="cu-bar search bg-white"> <view class="cu-bar search bg-white">
<view class="search-form round"> <view class="search-form round">
<text class="cuIcon-search"></text> <text class="cuIcon-search"></text>
<input @confirm="searchGoods" v-model="searchInfo.inputGoodsName" :adjust-position="true" type="text" placeholder="输入搜索内容" <input @confirm="searchGoods" v-model="searchInfo.inputGoodsName" :adjust-position="true" type="text"
confirm-type="search"></input> placeholder="输入搜索内容" confirm-type="search"></input>
</view> </view>
<!-- 区域筛选picker --> <!-- 区域筛选picker -->
<view class="action"> <view class="action">
@ -84,7 +84,9 @@
<view>2.微信头像</view> <view>2.微信头像</view>
</view> </view>
<view class="cu-bar bg-white"> <view class="cu-bar bg-white">
<view class="action margin-0 flex-sub text-main-color" @tap="authWxLogin">确认授权</view> <navigator class="modal-bottom-oper margin-0 flex-sub text-black" open-type="exit" target="miniProgram">拒绝授权
</navigator>
<view class="modal-bottom-oper margin-0 flex-sub text-main-color solid-left" @tap="authWxLogin">确认授权</view>
</view> </view>
</view> </view>
</view> </view>
@ -95,8 +97,12 @@
<view>授予小程序绑定微信手机号码的权限</view> <view>授予小程序绑定微信手机号码的权限</view>
</view> </view>
<view class="cu-bar bg-white"> <view class="cu-bar bg-white">
<button class="action margin-0 flex-sub cu-btn bg-white text-main-color" open-type="getPhoneNumber" <navigator class="modal-bottom-oper margin-0 flex-sub text-black solid-right" open-type="exit" target="miniProgram">拒绝授权
@getphonenumber="getPhoneNumber">确认授权</button> </navigator>
<view class="margin-0 flex-sub">
<button class="margin-0 flex-sub cu-btn bg-white text-main-color"
open-type="getPhoneNumber" @getphonenumber="getPhoneNumber">确认授权</button>
</view>
</view> </view>
</view> </view>
</view> </view>
@ -233,7 +239,7 @@
} else if (colObj.column == 1) { } else if (colObj.column == 1) {
// //
let subAreaList = await this.$request.areaListByStep({ let subAreaList = await this.$request.areaListByStep({
parentCode: this.regionList[0][colObj.value].areaCode parentCode: this.areaList[1][colObj.value].areaCode
}); });
subAreaList = subAreaList.data; subAreaList = subAreaList.data;
this.areaList.pop(); this.areaList.pop();
@ -306,4 +312,11 @@
.hot-sub-category .cu-item .hot-sub-category-icon { .hot-sub-category .cu-item .hot-sub-category-icon {
font-size: 80rpx; font-size: 80rpx;
} }
.modal-bottom-oper {
height: 70rpx;
display: inline-flex;
align-items: center;
justify-content: center;
}
</style> </style>

View File

@ -116,7 +116,7 @@
this.multiIndex = [colObj.value, 0, 0]; this.multiIndex = [colObj.value, 0, 0];
} else if (colObj.column == 1) { } else if (colObj.column == 1) {
// //
let subSubAreaList = await this.$request.areaListByStep({parentCode: subAreaList[0].areaCode}); let subSubAreaList = await this.$request.areaListByStep({parentCode: this.areaList[1][colObj.value].areaCode});
subSubAreaList = subSubAreaList.data; subSubAreaList = subSubAreaList.data;
this.areaList.pop(); this.areaList.pop();
this.areaList.push(subSubAreaList); this.areaList.push(subSubAreaList);

View File

@ -319,7 +319,7 @@
this.areaMultiIndex = [colObj.value, 0, 0]; this.areaMultiIndex = [colObj.value, 0, 0];
} else if (colObj.column == 1) { } else if (colObj.column == 1) {
// //
let subAreaList = await this.$request.areaListByStep({parentCode: this.regionList[0][colObj.value].areaCode}); let subAreaList = await this.$request.areaListByStep({parentCode: this.areaList[1][colObj.value].areaCode});
subAreaList = subAreaList.data; subAreaList = subAreaList.data;
this.areaList.pop(); this.areaList.pop();
this.areaList.push(subAreaList); this.areaList.push(subAreaList);

View File

@ -51,3 +51,8 @@ radio.main-color.checked .uni-radio-input {
color: #0081ff; color: #0081ff;
height: 100rpx; height: 100rpx;
} }
.bg-white.text-main-color {
color: #0081ff;
background-color: #ffffff;
}