From 66d2c8d8c97e19fdbd969f97dd3d6a28f27c415f Mon Sep 17 00:00:00 2001
From: quanyawei <401863037@qq.com>
Date: Wed, 01 Nov 2023 16:07:03 +0800
Subject: [PATCH] fix:小程序分享功能和秒级数据
---
uni_modules/uview-ui/libs/css/common.scss | 97 ++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 97 insertions(+), 0 deletions(-)
diff --git a/uni_modules/uview-ui/libs/css/common.scss b/uni_modules/uview-ui/libs/css/common.scss
new file mode 100644
index 0000000..11f1e53
--- /dev/null
+++ b/uni_modules/uview-ui/libs/css/common.scss
@@ -0,0 +1,97 @@
+// ���������������������������������������������������5���
+// ������uView���������������������������������������������������������������������App.vue���style���������������lang="scss"���
+@for $i from 1 through 5 {
+ .u-line-#{$i} {
+ /* #ifdef APP-NVUE */
+ // nvue������������������������lines���������������weex������������
+ lines: $i;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ flex: 1;
+ /* #endif */
+
+ /* #ifndef APP-NVUE */
+ // vue������������������������������������������������������
+ @if $i == '1' {
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ } @else {
+ display: -webkit-box!important;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ word-break: break-all;
+ -webkit-line-clamp: $i;
+ -webkit-box-orient: vertical!important;
+ }
+ /* #endif */
+ }
+}
+
+
+// ������������!important���������������������������������������*.nvue���������������H5������
+// App.vue���������������uni-app���view���������������border���������������������������
+// ���������������uni-app������������������������������������������������������������!important
+// ���������������������������������������0.5px���������������������������������������������������
+.u-border {
+ border-width: 0.5px!important;
+ border-color: $u-border-color!important;
+ border-style: solid;
+}
+
+.u-border-top {
+ border-top-width: 0.5px!important;
+ border-color: $u-border-color!important;
+ border-top-style: solid;
+}
+
+.u-border-left {
+ border-left-width: 0.5px!important;
+ border-color: $u-border-color!important;
+ border-left-style: solid;
+}
+
+.u-border-right {
+ border-right-width: 0.5px!important;
+ border-color: $u-border-color!important;
+ border-right-style: solid;
+}
+
+.u-border-bottom {
+ border-bottom-width: 0.5px!important;
+ border-color: $u-border-color!important;
+ border-bottom-style: solid;
+}
+
+.u-border-top-bottom {
+ border-top-width: 0.5px!important;
+ border-bottom-width: 0.5px!important;
+ border-color: $u-border-color!important;
+ border-top-style: solid;
+ border-bottom-style: solid;
+}
+
+// ������button������������������������������������������������view���text������������
+.u-reset-button {
+ padding: 0;
+ background-color: transparent;
+ /* #ifndef APP-PLUS */
+ font-size: inherit;
+ line-height: inherit;
+ color: inherit;
+ /* #endif */
+ /* #ifdef APP-NVUE */
+ border-width: 0;
+ /* #endif */
+}
+
+/* #ifndef APP-NVUE */
+.u-reset-button::after {
+ border: none;
+}
+/* #endif */
+
+.u-hover-class {
+ opacity: 0.7;
+}
+
--
Gitblit v1.8.0