c73c922a by lttnew

选择单位

1 parent 3a3694c6
......@@ -2,7 +2,7 @@
"easycom": {
"autoscan": true,
"custom": {
"^uni-(.*)": "uni_modules/uni-$1/components/uni-$1/uni-$1.vue"
"^uni-(.*)": "@/uni_modules/uni-$1/components/uni-$1/uni-$1.vue"
}
},
"pages": [
......
......@@ -61,7 +61,7 @@
</uni-forms-item>
</uni-forms>
<view class="fixedBottom">
<button class="btn-red" @click="submitStep1()">提交,下一步</button>
<button class="btn-red" @click="submitStep1()">下一步</button>
</view>
</view>
......@@ -1691,14 +1691,14 @@
:deep(.uni-forms-item__content) {
width: 100% !important;
max-width: 100% !important;
overflow: hidden;
// overflow: hidden;
box-sizing: border-box;
}
:deep(.uni-forms-item) {
width: 100%;
max-width: 100%;
overflow: hidden;
// overflow: hidden;
}
:deep(.uni-forms) {
......@@ -1712,22 +1712,22 @@
}
/* 强制限制所有输入框宽度 */
:deep(input) {
max-width: 100% !important;
width: 100% !important;
}
// :deep(input) {
// max-width: 100% !important;
// width: 100% !important;
// }
/* 限制 uni-data-select 下拉框 */
:deep(.uni-data-select) {
max-width: 100% !important;
width: 100% !important;
overflow: hidden;
}
// :deep(.uni-data-select) {
// max-width: 100% !important;
// width: 100% !important;
// overflow: hidden;
// }
:deep(.uni-data-select .uni-select) {
max-width: 100% !important;
width: 100% !important;
}
// :deep(.uni-data-select .uni-select) {
// max-width: 100% !important;
// width: 100% !important;
// }
/* picker 样式 */
.picker-view {
......@@ -1764,24 +1764,22 @@
width: 100%;
max-width: 100%;
box-sizing: border-box;
overflow: hidden;
// overflow: hidden;
}
/* 修复uni-data-picker 文字靠左 + 样式统一(合并重复样式) */
:deep(.uni-data-picker) {
width: 100%;
display: block;
overflow: hidden;
// overflow: hidden;
}
:deep(.uni-data-picker .selected-area) {
width: 100%;
max-width: 100%;
padding: 0 20rpx;
box-sizing: border-box;
display: flex;
justify-content: flex-start;
text-align: left;
overflow: hidden;
width: 100%;
padding: 0 20rpx;
box-sizing: border-box;
display: flex;
justify-content: flex-start;
align-items: center;
}
:deep(.uni-data-picker .selected-text) {
font-size: 28rpx;
......@@ -1833,22 +1831,7 @@
font-size: 32rpx !important;
}
/* 修复uni-forms-item中内容超出问题 */
/* 暂时移除 overflow: hidden 以避免影响下拉组件 */
/*
:deep(.uni-forms-item__content) {
overflow: hidden;
width: 100%;
}
*/
/* 确保所有表单元素不超出父容器 */
/*
:deep(uni-forms-item) {
width: 100%;
overflow: hidden;
}
*/
/* 修复选择器容器宽度问题 */
.picker-wrapper {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!