123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423 |
- .content {
- :deep(.uni-card) {
- margin: 20upx !important;
- background-color: red;
- }
- .content_background {
- background: linear-gradient(180deg, #f7f8f900 0%, #f7f8f9ff 50%);
- }
- }
- /* ==================
- 通知
- ================== */
- .uni-noticebar {
- border-radius: 16upx;
- padding: 8upx 12upx !important;
- .notice_icon {
- width: 64upx;
- height: 64upx;
- border-radius: 16upx;
- margin-right: 20upx;
- }
- }
- /* ==================
- 导航
- ================== */
- .navigation_wrap {
- padding: 40upx 20upx 20upx;
- margin-bottom: 10px;
- background: #fff;
- position: sticky;
- top: 0px;
- z-index: 1;
- box-shadow: rgba(26, 26, 26, 0.1) 0px 0px 0.625rem 0px;
- .uni-scroll-view-content {
- display: flex;
- width: fit-content;
- min-width: 100%;
- uni-view {
- .tab_title {
- padding: 0 24upx;
- width: max-content;
- font-size: 26upx;
- font-weight: 400;
- color: #666666;
- line-height: 33upx;
- margin-bottom: 8upx;
- }
- .tab_line {
- width: 40upx;
- height: 4upx;
- border-radius: 2upx;
- margin: 0 auto;
- }
- &.active {
- .tab_title {
- font-weight: bold;
- color: #000000;
- }
- .tab_line {
- background: #07d69e;
- }
- }
- }
- }
- }
- /* ==================
- 卡片
- ================== */
- .card {
- width: 710upx;
- background: #ffffff;
- border-radius: 16upx;
- margin: 10upx 20upx 10upx;
- // box-shadow: 0px 5px 5px 0px rgba(130, 130, 130, 0.1);
- box-shadow: 5upx 5upx 10upx 0upx rgba(26, 26, 26, 0.1);
- }
- /* ==================
- 项目列表
- ================== */
- .service_wrap {
- margin: 0 20upx 20upx;
- padding: 30upx 20upx;
- display: flex;
- .service_thumbnail {
- width: 250upx !important;
- height: 250upx !important;
- border-radius: 8upx;
- margin-right: 30upx;
- }
- .service_title {
- font-size: 32upx;
- font-weight: bold;
- color: #333333;
- display: flex;
- justify-content: space-between;
- align-items: center;
- .service_title_extra {
- font-size: 24upx;
- font-weight: 400;
- color: #ff490e;
- &.cannel_color {
- color: #999;
- }
- &.success_color {
- color: #07d69e;
- }
- &.warning_color {
- color: #F37B1D;
- }
- }
- }
- .service_detail {
- height: 70upx;
- margin: 26upx 0 0;
- font-size: 26upx;
- font-weight: 400;
- color: #999999;
- display: -webkit-box;
- overflow: hidden;
- text-overflow: ellipsis;
- word-wrap: break-word;
- white-space: normal !important;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- }
- .service_extra {
- margin: 16upx 0;
- display: flex;
- align-items: center;
- .service_extra_image {
- width: 30upx;
- height: 30upx;
- margin-right: 5upx;
- }
- .service_extra_text {
- width: 114upx;
- font-size: 26upx;
- font-weight: 400;
- color: #07d69e;
- display: -webkit-box;
- overflow: hidden;
- text-overflow: ellipsis;
- overflow-wrap: break-word;
- white-space: normal !important;
- -webkit-line-clamp: 1;
- -webkit-box-orient: vertical;
- }
- .service_extra_order {
- font-size: 26upx;
- font-weight: 400;
- color: #999999;
- .service_extra_order_num {
- font-size: 24upx;
- padding: 0 2upx;
- }
- }
- .service_extra_price {
- font-size: 42upx;
- font-weight: 400;
- color: #ff490e;
- .service_extra_price_prefix {
- font-size: 24upx;
- }
- }
- }
- .service_tag {
- .uni-tag {
- border: 0;
- background-color: #D2F1F0 !important;
- color: #1CBBB4 !important;
- margin-right: 20upx;
- &:nth-child(3n+2) {
- background-color: #FADBD9 !important;
- color: #E54D42 !important;
- }
- &:nth-child(3n) {
- background-color: #FDE6D2 !important;
- color: #F37B1D !important;
- }
- }
- }
- .service_footer {
- display: flex;
- justify-content: space-between;
- align-items: center;
- .service_footer_price {
- font-size: 42upx;
- font-weight: 400;
- color: #ff490e;
- .service_footer_price_prefix {
- font-size: 24upx;
- }
- }
- }
- }
- /* ==================
- 按键
- ================== */
- .submit_btn,
- .cancel_btn,
- .disabled_btn,
- .busy_btn {
- width: 180upx;
- height: 56upx;
- background: linear-gradient(88deg, #37ecba 0%, #72afd3 100%);
- border-radius: 28upx;
- padding: 4upx 0 0;
- display: flex;
- align-items: center;
- justify-content: center;
- color: white !important;
- font-size: 28upx;
- margin: 0 6upx;
- box-shadow: 0 0 0.625rem 0 rgba(26, 26, 26, 0.1);
- &::after {
- border: 0;
- }
- }
- .cancel_btn {
- background: white;
- color: #666 !important;
- border: 1upx solid #999;
- }
- .disabled_btn {
- background: #ccc !important;
- }
- .busy_btn {
- background: #f49191
- }
- /* ==================
- 头像
- ==================== */
- .avatar {
- font-variant: small-caps;
- margin: 0;
- padding: 0;
- display: inline-flex;
- text-align: center;
- justify-content: center;
- align-items: center;
- color: #ffffff;
- white-space: nowrap;
- position: relative;
- width: 64upx;
- height: 64upx;
- background-size: cover;
- background-position: center;
- vertical-align: middle;
- font-size: 1.5em;
- .big {
- width: 240upx;
- height: 240upx;
- font-size: 2.5em;
- }
- }
- /* ==================
- 表单
- ================== */
- .uni-form {
- .uni-form-item {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin: 0 20upx;
- min-height: 90upx;
- border-bottom: 1upx solid #EEEEEE;
- padding-right: 20upx;
- &:last-child {
- border-bottom: 0;
- }
- .title {
- font-size: 26upx;
- font-weight: 400;
- color: #333333;
- display: flex;
- align-items: center;
- .form_item_icon {
- width: 40upx;
- height: 40upx;
- margin-right: 10upx;
- }
- }
- .uni-input {
- text-align: right;
- font-size: 26upx;
- width: 480upx;
- }
- .form_item_btn_icon {
- width: 28upx;
- height: 28upx;
- margin: 0 6upx 0 69upx;
- }
- }
- }
- /* ==================
- 底部按钮
- ================== */
- .footer_btn_wrap {
- width: 750upx;
- // height: 140upx;
- background: #ffffff;
- z-index: 9;
- position: sticky;
- bottom: 0;
- box-shadow: 5upx -5upx 10upx 0upx rgba(26, 26, 26, 0.1);
- padding: 20upx 0;
- /* 兼容 iOS 设备 */
- padding-bottom: calc(20upx + constant(safe-area-inset-bottom));
- /* 兼容 iPhone X 及以上设备 */
- padding-bottom: calc(20upx + env(safe-area-inset-bottom));
- .footer_btn {
- width: 630upx;
- height: 80upx;
- background: linear-gradient(90deg, #37ecba 0%, #72afd3 100%);
- border-radius: 16upx;
- margin: 0 auto;
- display: flex;
- align-items: center;
- justify-content: center;
- font-weight: bold;
- color: #ffffff;
- margin-bottom: 20upx;
- &:last-child {
- margin-bottom: 0;
- }
- }
- .footer_btn_disabled {
- background: #CCCCCC;
- }
- .footer_btn_busy {
- background: #f49191
- }
- }
- /* ==================
- 底部
- ================== */
- .footer {
- display: flex;
- justify-content: center;
- padding: 100upx 0 80upx;
- background: #F7F8F9;
- uni-image {
- width: 594upx;
- height: 107upx;
- margin: 0 auto;
- }
- }
- /* ==================
- 警报
- ================== */
- .call_alarm_back {
- position: fixed;
- right: 20upx;
- bottom: 300upx;
- opacity: 0.6;
- z-index: 2;
- uni-image {
- width: 100upx;
- height: 100upx;
- }
- }
|