c73c922a by lttnew

选择单位

1 parent 3a3694c6
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 "easycom": { 2 "easycom": {
3 "autoscan": true, 3 "autoscan": true,
4 "custom": { 4 "custom": {
5 "^uni-(.*)": "uni_modules/uni-$1/components/uni-$1/uni-$1.vue" 5 "^uni-(.*)": "@/uni_modules/uni-$1/components/uni-$1/uni-$1.vue"
6 } 6 }
7 }, 7 },
8 "pages": [ 8 "pages": [
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
61 </uni-forms-item> 61 </uni-forms-item>
62 </uni-forms> 62 </uni-forms>
63 <view class="fixedBottom"> 63 <view class="fixedBottom">
64 <button class="btn-red" @click="submitStep1()">提交,下一步</button> 64 <button class="btn-red" @click="submitStep1()">下一步</button>
65 </view> 65 </view>
66 </view> 66 </view>
67 67
...@@ -1691,14 +1691,14 @@ ...@@ -1691,14 +1691,14 @@
1691 :deep(.uni-forms-item__content) { 1691 :deep(.uni-forms-item__content) {
1692 width: 100% !important; 1692 width: 100% !important;
1693 max-width: 100% !important; 1693 max-width: 100% !important;
1694 overflow: hidden; 1694 // overflow: hidden;
1695 box-sizing: border-box; 1695 box-sizing: border-box;
1696 } 1696 }
1697 1697
1698 :deep(.uni-forms-item) { 1698 :deep(.uni-forms-item) {
1699 width: 100%; 1699 width: 100%;
1700 max-width: 100%; 1700 max-width: 100%;
1701 overflow: hidden; 1701 // overflow: hidden;
1702 } 1702 }
1703 1703
1704 :deep(.uni-forms) { 1704 :deep(.uni-forms) {
...@@ -1712,22 +1712,22 @@ ...@@ -1712,22 +1712,22 @@
1712 } 1712 }
1713 1713
1714 /* 强制限制所有输入框宽度 */ 1714 /* 强制限制所有输入框宽度 */
1715 :deep(input) { 1715 // :deep(input) {
1716 max-width: 100% !important; 1716 // max-width: 100% !important;
1717 width: 100% !important; 1717 // width: 100% !important;
1718 } 1718 // }
1719 1719
1720 /* 限制 uni-data-select 下拉框 */ 1720 /* 限制 uni-data-select 下拉框 */
1721 :deep(.uni-data-select) { 1721 // :deep(.uni-data-select) {
1722 max-width: 100% !important; 1722 // max-width: 100% !important;
1723 width: 100% !important; 1723 // width: 100% !important;
1724 overflow: hidden; 1724 // overflow: hidden;
1725 } 1725 // }
1726 1726
1727 :deep(.uni-data-select .uni-select) { 1727 // :deep(.uni-data-select .uni-select) {
1728 max-width: 100% !important; 1728 // max-width: 100% !important;
1729 width: 100% !important; 1729 // width: 100% !important;
1730 } 1730 // }
1731 1731
1732 /* picker 样式 */ 1732 /* picker 样式 */
1733 .picker-view { 1733 .picker-view {
...@@ -1764,24 +1764,22 @@ ...@@ -1764,24 +1764,22 @@
1764 width: 100%; 1764 width: 100%;
1765 max-width: 100%; 1765 max-width: 100%;
1766 box-sizing: border-box; 1766 box-sizing: border-box;
1767 overflow: hidden; 1767 // overflow: hidden;
1768 } 1768 }
1769 1769
1770 /* 修复uni-data-picker 文字靠左 + 样式统一(合并重复样式) */ 1770 /* 修复uni-data-picker 文字靠左 + 样式统一(合并重复样式) */
1771 :deep(.uni-data-picker) { 1771 :deep(.uni-data-picker) {
1772 width: 100%; 1772 width: 100%;
1773 display: block; 1773 display: block;
1774 overflow: hidden; 1774 // overflow: hidden;
1775 } 1775 }
1776 :deep(.uni-data-picker .selected-area) { 1776 :deep(.uni-data-picker .selected-area) {
1777 width: 100%; 1777 width: 100%;
1778 max-width: 100%;
1779 padding: 0 20rpx; 1778 padding: 0 20rpx;
1780 box-sizing: border-box; 1779 box-sizing: border-box;
1781 display: flex; 1780 display: flex;
1782 justify-content: flex-start; 1781 justify-content: flex-start;
1783 text-align: left; 1782 align-items: center;
1784 overflow: hidden;
1785 } 1783 }
1786 :deep(.uni-data-picker .selected-text) { 1784 :deep(.uni-data-picker .selected-text) {
1787 font-size: 28rpx; 1785 font-size: 28rpx;
...@@ -1833,22 +1831,7 @@ ...@@ -1833,22 +1831,7 @@
1833 font-size: 32rpx !important; 1831 font-size: 32rpx !important;
1834 } 1832 }
1835 1833
1836 /* 修复uni-forms-item中内容超出问题 */
1837 /* 暂时移除 overflow: hidden 以避免影响下拉组件 */
1838 /*
1839 :deep(.uni-forms-item__content) {
1840 overflow: hidden;
1841 width: 100%;
1842 }
1843 */
1844 1834
1845 /* 确保所有表单元素不超出父容器 */
1846 /*
1847 :deep(uni-forms-item) {
1848 width: 100%;
1849 overflow: hidden;
1850 }
1851 */
1852 1835
1853 /* 修复选择器容器宽度问题 */ 1836 /* 修复选择器容器宽度问题 */
1854 .picker-wrapper { 1837 .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!