From 109dc41604470ed7d6d04be4072303dcf11f5a75 Mon Sep 17 00:00:00 2001 From: aihe <961836564@qq.com> Date: Mon, 11 Dec 2023 03:04:55 +0800 Subject: [PATCH] uu --- common/custom.scss | 11 ++ .../buns-country-sheet/buns-country-sheet.vue | 14 +- .../buns-paytype-sheet/buns-paytype-sheet.vue | 15 +- .../buns-revtime-sheet/buns-revtime-sheet.vue | 11 -- .../buns-stockroom-sheet.vue | 13 +- components/buns-way-sheet/buns-way-sheet.vue | 13 +- components/tpx-select/content-items.vue | 90 ++++++++++++ .../tpx-select/default-select-input.vue | 75 ++++++++++ components/tpx-select/tpx-select.vue | 131 ++++++++++++++++++ pages/user/certification.vue | 9 +- 10 files changed, 321 insertions(+), 61 deletions(-) create mode 100644 components/tpx-select/content-items.vue create mode 100644 components/tpx-select/default-select-input.vue create mode 100644 components/tpx-select/tpx-select.vue diff --git a/common/custom.scss b/common/custom.scss index 35fc7e6..65b0e5c 100644 --- a/common/custom.scss +++ b/common/custom.scss @@ -12,6 +12,17 @@ flex-direction: column; align-items: center; } +.com-chk-icon{ + position: relative; + &::after { + position: absolute; + content: ' '; + top: 0; + right: 0; + bottom: 0; + left: 0; + } +} .com-section{ position: relative; font-size: 32rpx; diff --git a/components/buns-country-sheet/buns-country-sheet.vue b/components/buns-country-sheet/buns-country-sheet.vue index 1f15836..3c4e145 100644 --- a/components/buns-country-sheet/buns-country-sheet.vue +++ b/components/buns-country-sheet/buns-country-sheet.vue @@ -18,7 +18,7 @@ - + @@ -99,15 +99,5 @@ .shet-cont{ padding: 10rpx 0 30rpx 0; } - .chk-icon{ - position: relative; - &::after { - position: absolute; - content: ' '; - top: 0; - right: 0; - bottom: 0; - left: 0; - } - } + \ No newline at end of file diff --git a/components/buns-paytype-sheet/buns-paytype-sheet.vue b/components/buns-paytype-sheet/buns-paytype-sheet.vue index ab08443..71eed94 100644 --- a/components/buns-paytype-sheet/buns-paytype-sheet.vue +++ b/components/buns-paytype-sheet/buns-paytype-sheet.vue @@ -14,7 +14,7 @@ - + @@ -36,7 +36,7 @@ {{caCurrent.item.title}} - + @@ -156,17 +156,6 @@ .shet-cont{ padding: 10rpx 0 30rpx 0; } - .chk-icon{ - position: relative; - &::after { - position: absolute; - content: ' '; - top: 0; - right: 0; - bottom: 0; - left: 0; - } - } .pay-item { margin-bottom: 30rpx; padding: 20rpx 30rpx; diff --git a/components/buns-revtime-sheet/buns-revtime-sheet.vue b/components/buns-revtime-sheet/buns-revtime-sheet.vue index 316e29b..331a9ee 100644 --- a/components/buns-revtime-sheet/buns-revtime-sheet.vue +++ b/components/buns-revtime-sheet/buns-revtime-sheet.vue @@ -167,17 +167,6 @@ display: flex; flex-direction: column; } - .chk-icon{ - position: relative; - &::after { - position: absolute; - content: ' '; - top: 0; - right: 0; - bottom: 0; - left: 0; - } - } .day-item{ height: 100rpx; line-height: 100rpx; diff --git a/components/buns-stockroom-sheet/buns-stockroom-sheet.vue b/components/buns-stockroom-sheet/buns-stockroom-sheet.vue index 5657f92..2a40ec3 100644 --- a/components/buns-stockroom-sheet/buns-stockroom-sheet.vue +++ b/components/buns-stockroom-sheet/buns-stockroom-sheet.vue @@ -21,7 +21,7 @@ - + @@ -137,17 +137,6 @@ .shet-cont{ padding: 10rpx 0 30rpx 0; } - .chk-icon{ - position: relative; - &::after { - position: absolute; - content: ' '; - top: 0; - right: 0; - bottom: 0; - left: 0; - } - } .w-tem { margin-top: 20rpx; position: relative; diff --git a/components/buns-way-sheet/buns-way-sheet.vue b/components/buns-way-sheet/buns-way-sheet.vue index 27ed84f..2a4bf9c 100644 --- a/components/buns-way-sheet/buns-way-sheet.vue +++ b/components/buns-way-sheet/buns-way-sheet.vue @@ -18,7 +18,7 @@ - + @@ -100,15 +100,4 @@ min-height: 500rpx; padding: 10rpx 0 30rpx 0; } - .chk-icon{ - position: relative; - &::after { - position: absolute; - content: ' '; - top: 0; - right: 0; - bottom: 0; - left: 0; - } - } \ No newline at end of file diff --git a/components/tpx-select/content-items.vue b/components/tpx-select/content-items.vue new file mode 100644 index 0000000..7bba628 --- /dev/null +++ b/components/tpx-select/content-items.vue @@ -0,0 +1,90 @@ + + + + + \ No newline at end of file diff --git a/components/tpx-select/default-select-input.vue b/components/tpx-select/default-select-input.vue new file mode 100644 index 0000000..42a2ea7 --- /dev/null +++ b/components/tpx-select/default-select-input.vue @@ -0,0 +1,75 @@ + + + + + \ No newline at end of file diff --git a/components/tpx-select/tpx-select.vue b/components/tpx-select/tpx-select.vue new file mode 100644 index 0000000..9bb02db --- /dev/null +++ b/components/tpx-select/tpx-select.vue @@ -0,0 +1,131 @@ + + + + + \ No newline at end of file diff --git a/pages/user/certification.vue b/pages/user/certification.vue index 9c4dc66..5b5dfd3 100644 --- a/pages/user/certification.vue +++ b/pages/user/certification.vue @@ -9,7 +9,9 @@ - + @@ -47,6 +49,11 @@ }, data() { return { + typeList: [ + { title: '身份证', val: 1 }, + { title: '护照', val: 2 }, + { title: '港台证', val: 3 } + ], // 基础表单数据 baseFormData: { name: '',