From 985a938757283995201b819ee6deeb84f84f1142 Mon Sep 17 00:00:00 2001 From: zpc Date: Mon, 16 Jun 2025 18:01:32 +0800 Subject: [PATCH] 333 --- components/rule-pop/rule-pop.vue | 54 ++-- components/xw-CountDown2/index - 副本.vue | 96 ------ components/xw-CountDown2/index.vue | 107 ------- style/common.scss | 29 -- style/input.scss | 317 -------------------- style/mixin.scss | 49 --- style/table.scss | 54 ---- 7 files changed, 29 insertions(+), 677 deletions(-) delete mode 100644 components/xw-CountDown2/index - 副本.vue delete mode 100644 components/xw-CountDown2/index.vue delete mode 100644 style/common.scss delete mode 100644 style/input.scss delete mode 100644 style/mixin.scss delete mode 100644 style/table.scss diff --git a/components/rule-pop/rule-pop.vue b/components/rule-pop/rule-pop.vue index 05be13a..124cff3 100644 --- a/components/rule-pop/rule-pop.vue +++ b/components/rule-pop/rule-pop.vue @@ -7,16 +7,18 @@ {{ ruleData.title }} - - + + + + + - - @@ -31,6 +33,7 @@ - - diff --git a/components/xw-CountDown2/index.vue b/components/xw-CountDown2/index.vue deleted file mode 100644 index 1a01d2e..0000000 --- a/components/xw-CountDown2/index.vue +++ /dev/null @@ -1,107 +0,0 @@ - - - - - diff --git a/style/common.scss b/style/common.scss deleted file mode 100644 index dee4c17..0000000 --- a/style/common.scss +++ /dev/null @@ -1,29 +0,0 @@ -@import '@/style/mixin.scss'; -view, -page, -text, -button, -image, -textarea, -scroll-view,input { - box-sizing: border-box; -} -image { - display: block; -} -button { - margin: 0; - padding: 0; - background-color: #FFFF; -} -button::after { - border: none; -} -// 主题背景色 -.themeBgColor { - background-color: $themeColor; -} -// 主题字体色 -.themeFontColor { - color: $themeColor !important; -} \ No newline at end of file diff --git a/style/input.scss b/style/input.scss deleted file mode 100644 index caea9fb..0000000 --- a/style/input.scss +++ /dev/null @@ -1,317 +0,0 @@ -.input_form_box { - .input_title { - font-size: 32upx; - color: #333333; - padding: 30upx; - &.required::before { - content: '*'; - font-size: 30upx; - color: #f73333; - } - } - - .input_box { - display: flex; - flex-wrap: wrap; - align-items: center; - padding: 0 30upx; - background-color: #fff; - &.line { - border-top: 1upx solid #f7f7f7; - } - &.btm_line { - border-bottom: 1upx solid #f7f7f7; - } - .name { - font-size: 30upx; - color: #666666; - min-width: 120upx; - flex-shrink: 0; - padding: 30upx 0; - - &.required::before { - content: '*'; - font-size: 30upx; - color: #f73333; - } - } - .prompt { - width: 100%; - padding-bottom: 20upx; - font-size: 28upx; - color: #999999; - transform: translateY(-10upx); - } - - picker { - flex: 1; - } - } - .input_info { - padding: 30upx 0; - display: flex; - flex: 1; - align-items: center; - > text { - font-size: 24upx; - color: #555555; - margin-left: 10upx; - flex-shrink: 0; - } - input { - width: 100%; - text-align: right; - font-size: 30upx; - } - button { - flex-shrink: 0; - min-width: 146upx; - padding: 0 30upx; - height: 60upx; - line-height: 60upx; - background-color: $themeColor; - border-radius: 8upx; - font-size: 24upx; - color: #ffffff; - margin-left: 20upx; - } - } - .switch { - flex: 1; - display: flex; - justify-content: flex-end; - align-items: center; - - &::after { - content: ""; - @include bis('https://qn.kemean.cn/upload/201908/05/5f85ccc4de404cafb30b15dedef41e8b', 100% 100%); - width: 108upx; - height: 58upx; - } - - &.active::after { - background-image: url('https://qn.kemean.cn/upload/201908/05/eef318fa5c9f4692a1bd6ef6edd9be10'); - } - } - .radio_box { - padding: 30upx 0; - flex: 1; - display: flex; - justify-content: flex-end; - - view { - display: flex; - align-items: center; - font-size: 28upx; - color: #333333; - margin-left: 90upx; - - &:first-child { - margin-left: 0; - } - - &::before { - content: ''; - width: 38upx; - height: 38upx; - margin-right: 15upx; - border: 2upx solid #eee; - border-radius: 50%; - box-sizing: border-box; - } - - &.active::before { - border: 12upx solid $themeColor; - } - } - } - - .select_info { - padding: 30upx 0; - flex: 1; - display: flex; - justify-content: flex-end; - align-items: center; - - .value { - font-size: 30upx; - color: #333; - text-align: right; - } - - .select { - font-size: 30upx; - color: #999999; - } - - .head_img { - width: 100upx; - height: 100upx; - border-radius: 10upx; - } - - &::after { - content: ''; - @include bis('http://qn.kemean.cn/upload/201907/23/me_lise_more.png', 100% 100%); - width: 15upx; - height: 26upx; - margin-left: 20upx; - flex-shrink: 0; - } - } - - .upload_info { - width: 100%; - display: flex; - flex-wrap: wrap; - padding-bottom: 10upx; - - .upload_img { - width: 200upx; - height: 200upx; - background-color: #ffffff; - border-radius: 4upx; - margin-right: 16upx; - margin-bottom: 16upx; - overflow: hidden; - position: relative; - - &:nth-child(3n) { - margin-right: 0; - } - - image { - width: 100%; - height: 100%; - } - - .delete { - position: absolute; - top: 0upx; - right: 0upx; - width: 44upx; - height: 44upx; - background-image: url('https://qn.kemean.cn/upload/201908/05/df40b98b77fc4c42a5e0327c62975e29'); - background-position: center center; - background-repeat: no-repeat; - background-size: 100% 100%; - } - - &.upload { - border: 1upx dashed #b2b2b2; - background-image: url('https://qn.kemean.cn/upload/201908/05/d68df2873cd04f18a70104e340a14884'); - background-position: center center; - background-repeat: no-repeat; - background-size: 60% 60%; - } - } - } - .textarea_info { - width: 100%; - padding-bottom: 30upx; - font-size: 28upx; - color: #333; - - textarea { - width: 100%; - height: 154upx; - font-size: 30upx; - line-height: 150%; - } - } -} - -.protocol { - margin-top: 20upx; - display: flex; - justify-content: center; - align-items: center; - font-size: 28upx; - color: #666; - - text { - color: $themeColor; - } - view { - @include theme('unselected_img', './'); - background-repeat: no-repeat; - background-position: center center; - background-size: cover; - width: 34upx; - height: 34upx; - margin-right: 10upx; - &.active { - @include theme('radio_img', './'); - } - } -} - -.form_but { - margin-top: 80upx; - padding: 30upx; - display: flex; - justify-content: center; - button { - flex: 1; - height: 88upx; - background-color: #f0f0f0; - border-radius: 8upx; - line-height: 88upx; - font-size: 34upx; - color: #cccccc; - - &.active { - @include theme("btn_bg"); - color: #ffffff; - } - - &::after { - border: none; - } - } -} -// -----------------------导航条------------------------------- -.cell_list { - background-color: #fff; - padding: 30upx; - display: flex; - justify-content: space-between; - align-items: center; - border-bottom: 1upx solid #f5f5f5; - &:active { - background-color: #f5f5f5; - } - &.interval { - margin-bottom: 20upx; - border-bottom: 0; - } - .cell_left { - font-size: 28upx; - color: #333333; - display: flex; - align-items: center; - image { - width: 30upx; - height: 30upx; - margin-right: 20upx; - } - } - .cell_right { - font-size: 28upx; - color: #333333; - display: flex; - align-items: center; - &.arrow::after { - content: ''; - @include bis('./static/icon/me_lise_more.png', 100% 100%); - width: 12upx; - height: 22upx; - margin-left: 20upx; - } - image { - width: 36upx; - height: 36upx; - margin-left: 20upx; - } - } -} \ No newline at end of file diff --git a/style/mixin.scss b/style/mixin.scss deleted file mode 100644 index af1fb0a..0000000 --- a/style/mixin.scss +++ /dev/null @@ -1,49 +0,0 @@ -@charset "utf-8"; -//主题色 -$themeColor: #ea552d; - -@mixin theme($type,$path:''){ - @if $type == "btn_bg" { - background-image: linear-gradient(90deg, #ea552d 0%, #f19837 100%); - } @else if $type == "unselected_img" { - background-image: url($path + "static/icon/ic_gender_unselected.png"); - } @else if $type == "check_img" { - background-image: url($path + "static/icon/ic_agreed.png"); - } @else if $type == "radio_img" { - background-image: url($path + "static/icon/ic_gender_selected.png"); - } -} -// 背景图片地址和大小 -@mixin bis($url, $size: cover) { - background-image: url($url); - background-repeat: no-repeat; - background-position: center center; - background-size: $size; -} - -// 头像 -@mixin ic($width, $height) { - display: flex; - align-items: center; - justify-content: center; - overflow: hidden; - flex-shrink: 0; - width: $width; - height: $height; -} - -// 单行省略号 -@mixin toe() { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap -} - -// 多行省略号 -@mixin bov($num:2) { - overflow: hidden; - text-overflow: ellipsis; - display: -webkit-box; - -webkit-line-clamp: $num; - -webkit-box-orient: vertical; -} diff --git a/style/table.scss b/style/table.scss deleted file mode 100644 index f0bb5ca..0000000 --- a/style/table.scss +++ /dev/null @@ -1,54 +0,0 @@ -.table_box { - background-color: #FFFFFF; - .table_title { - padding: 0rpx 20rpx; - font-size: 30rpx; - height: 60rpx; - line-height: 60rpx; - color: #FFF; - text-align: center; - font-weight: bold; - background-color: rgba($color: $themeColor, $alpha: 1); - } - .table_head { - display: flex; - align-content: center; - background-color: rgba($color: $themeColor, $alpha: 0.35); - text { - padding: 15rpx 20rpx; - display: flex; - align-items: center; - justify-content: center; - flex: 1; - flex-shrink: 0; - font-size: 28rpx; - color: #333; - font-weight: bold; - border-right: 2rpx solid rgba($color: $themeColor, $alpha: 0.2); - &:last-child { - border-right: 0; - flex: 2; - } - } - } - .table_content { - display: flex; - align-content: center; - border-top: 2rpx solid rgba($color: $themeColor, $alpha: 0.2); - background-color: rgba($color: $themeColor, $alpha: 0.2); - text { - padding: 15rpx 20rpx; - display: flex; - align-items: center; - justify-content: center; - flex: 1; - font-size: 28rpx; - color: #999; - border-right: 2rpx solid rgba($color: $themeColor, $alpha: 0.3); - &:last-child { - border-right: 0; - flex: 2; - } - } - } -} \ No newline at end of file