Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
jgdl
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-08-12 17:35:04 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8ee6f649808e553640f3e928023b11c09375f48e
8ee6f649
1 parent
d339e101
fix 修改地址选择问题, 层级显示问题修复
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
12 deletions
src/components/AddressSelector.vue
src/pages/collectionSettings/index.vue
src/components/AddressSelector.vue
View file @
8ee6f64
...
...
@@ -4,10 +4,9 @@
<nut-popup
:visible="visible"
position="bottom"
:style="{ height: '
85
%' }"
:style="{ height: '
100
%' }"
close-icon-position="top-right"
@close="closeModal"
:z-index="9999"
>
<view class="address-modal">
<view class="address-modal-header">
...
...
@@ -18,14 +17,6 @@
<!-- 省市县选择 -->
<view class="address-section">
<text class="address-section-title">选择省市县</text>
<nut-cascader
v-model="selectedAreaCodes"
v-model:visible="showAreaPicker"
:options="areaData"
@change="onAreaChange"
@path-change="onAreaPathChange"
title="请选择省市县"
/>
<view
class="area-selector"
@click="showAreaPicker = true"
...
...
@@ -62,6 +53,16 @@
</view>
</view>
</nut-popup>
<!-- 省市县级联选择器 - 放在popup外面避免层级冲突 -->
<nut-cascader
v-model="selectedAreaCodes"
v-model:visible="showAreaPicker"
:options="areaData"
@change="onAreaChange"
@path-change="onAreaPathChange"
title="请选择省市县"
/>
</view>
</template>
...
...
@@ -344,6 +345,7 @@ const findNodeByCode = (nodes, code) => {
.address-modal-content {
flex: 1;
padding: 32rpx;
padding-bottom: 120rpx; // 为底部固定按钮预留空间
overflow-y: auto;
.address-section {
...
...
src/pages/collectionSettings/index.vue
View file @
8ee6f64
<!--
* @Date: 2022-09-19 14:11:06
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-08-12 17:
05
:50
* @LastEditTime: 2025-08-12 17:
13
:50
* @FilePath: /jgdl/src/pages/collectionSettings/index.vue
* @Description: 收款设置
-->
...
...
@@ -109,7 +109,7 @@
</nut-popup>
<!-- 身份信息弹窗 -->
<nut-popup v-model:visible="showIdentityModal" position="bottom" :style="{ width: '100%', height: '
85
%' }"
<nut-popup v-model:visible="showIdentityModal" position="bottom" :style="{ width: '100%', height: '
100
%' }"
:close-on-click-overlay="false" closeable close-icon-position="top-right" @close="closeIdentityModal">
<view class="modal-content">
<view class="modal-header">
...
...
Please
register
or
login
to post a comment