123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210 |
- @charset "UTF-8";
- /**
- * 这里是uni-app内置的常用样式变量
- *
- * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
- * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
- *
- */
- /**
- * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
- *
- * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
- */
- .my-fontsize-normal {
- font-size: 30rpx;
- color: #ffffff;
- }
- .my-fontsize-Large {
- font-size: 34rpx;
- }
- .my-fontsize-Small {
- font-size: 24rpx;
- }
- .my-fontsize-title {
- font-size: 36rpx;
- }
- .my-flex {
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .flex-column {
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- align-items: flex-start;
- }
- .flex-column-center {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- }
- .flex-between {
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .flex-around {
- display: flex;
- justify-content: space-around;
- align-items: center;
- }
- .flex-start {
- display: flex;
- justify-content: flex-start;
- align-items: center;
- }
- .flex-end {
- display: flex;
- justify-content: flex-end;
- align-items: center;
- }
- .line {
- position: relative;
- }
- .line::before {
- content: '';
- position: absolute;
- top: 50%;
- left: 0;
- -webkit-transform: translateY(-50%);
- transform: translateY(-50%);
- width: 6rpx;
- height: 30rpx;
- border-radius: 2rpx;
- background-color: #3F92F9;
- }
- /* 颜色变量 */
- /* 行为相关颜色 */
- /* 文字基本颜色 */
- /* 背景颜色 */
- /* 边框颜色 */
- /* 尺寸变量 */
- /* 文字尺寸 */
- /* 图片尺寸 */
- /* Border Radius */
- /* 水平间距 */
- /* 垂直间距 */
- /* 透明度 */
- /* 文章场景相关 */
- .input {
- position: relative;
- padding: 0 5%;
- height: 72rpx;
- line-height: 72rpx;
- width: 100%;
- border-radius: 5rpx;
- border: 1px solid #6A6B6C;
- }
- .input .select-text {
- padding-right: 50rpx;
- display: flex;
- align-items: center;
- width: 100%;
- height: 100%;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .input .icon {
- position: absolute;
- right: 20rpx;
- top: 0;
- height: 100%;
- }
- .input .list-wrap {
- position: absolute;
- top: calc(100% + 10px);
- left: 0;
- z-index: 999;
- width: 100%;
- border: 1px solid #eee;
- box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
- background-color: #FFFFFF;
- }
- .input .list-wrap::before {
- content: '';
- position: absolute;
- top: -14rpx;
- left: 50rpx;
- z-index: 999;
- width: 0;
- height: 0;
- border-left: 12rpx solid transparent;
- border-right: 12rpx solid transparent;
- border-bottom: 14rpx solid #eee;
- }
- .input .list-wrap::after {
- content: '';
- position: absolute;
- top: -13rpx;
- left: 52rpx;
- z-index: 999;
- width: 0;
- height: 0;
- border-left: 11rpx solid transparent;
- border-right: 11rpx solid transparent;
- border-bottom: 13rpx solid #fff;
- }
- .input .list-wrap .list {
- padding: 10rpx 0;
- max-height: 300rpx;
- height: 300rpx;
- overflow: auto;
- border-radius: 5rpx;
- }
- .input .list-wrap .list .item {
- padding: 0 5%;
- }
- .input .animate-open-rotate {
- -webkit-transform: rotate(180deg);
- transform: rotate(180deg);
- transition: all .5s ease;
- }
- .input .animate-close-rotate {
- -webkit-transform: rotate(0);
- transform: rotate(0);
- transition: all .5s ease;
- }
- .input .fadeShow {
- -webkit-animation: fadeShow .2s linear;
- animation: fadeShow .2s linear;
- }
- .input .fadeHidden {
- -webkit-animation: fadeHidden .2s linear;
- animation: fadeHidden .2s linear;
- }
- @-webkit-keyframes fadeShow {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
- }
- @keyframes fadeShow {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
- }
- @-webkit-keyframes fadeHidden {
- 0% {
- opacity: 1;
- }
- 100% {
- opacity: 0;
- }
- }
- @keyframes fadeHidden {
- 0% {
- opacity: 1;
- }
- 100% {
- opacity: 0;
- }
- }
|