/** * 系统级别: 全局样式 * * @site https://www.jeequan.com * @date 2022/11/22 07:29 */ /** 已整理 **/ // 通用 列表页样式 .page-wrapper { min-height: calc(100vh - 70rpx); /** 最小高度 **/ padding-bottom: 70rpx; /** 安全距离(防止home条遮挡文字) **/ background-color: $v-color-bgrey; /** 全局背景灰 **/ } // 底部 固定的按钮, 比如: 创建门店, 创建员工等按钮。 .list-footer{ height: 100rpx; background: transparent; .button-wrapper { border-top: 1rpx solid rgba(0,0,0, 0.07); background-color: rgba(252, 252, 252, 0.85); backdrop-filter: blur(20rpx); position: fixed; left: 0; right: 0; bottom: 0; padding: 30rpx; } } /** 详情页 覆写:list-item */ .list-item-by-detail { padding: 60rpx 60rpx 10rpx 60rpx !important; background-color: transparent !important; /** 背景透明 **/ .list-title{ color: #fff !important; } .list-subtitle{ color: rgba(251,252,253,0.7) !important; } .list-info { image { margin-right: 0 !important; } } } /**列表条目渲染, 比如: 头像、 主标题, **/ .list-item { display: flex; align-items: center; padding: 0 40rpx; height: 170rpx; background-color: #FFF; /** 背景 白色 **/ image { flex-shrink: 0; flex-grow: 0; width: 100rpx; height: 100rpx; margin-right: 30rpx; } .list-info { flex: 1; .list-title { display: flex; justify-content: space-between; align-items: center; height: 40rpx; color: rgba(77,77,77,1); .list-name { width: auto; flex: 1; display: flex; align-items: center; font-size: 30rpx; font-weight: 400; } } .list-subtitle { color: rgba(153, 153, 153, 1); margin-top: 25rpx; font-size: 26rpx; font-weight: 400; width: 430rpx; } } } /** 状态小圆点 **/ .state-dot { display: flex; align-items: center; font-size: 30rpx; font-weight: 400; &::after { content: ''; display: block; margin-left: 20rpx; width: 20rpx; height: 20rpx; border-radius: 50%; } } /** 状态小圆点 **/ .state-dot-enable { &::after { background-color: #168FFF; } } /** 状态小圆点 **/ .state-dot-disable { &::after { background-color: #D9D9D9; } } /** 状态小圆点 **/ .state-dot-error { &::after { background-color: red; } } /** * 描述预览图, 参考: app详情 * 第一个最后一个距离上下 40rpx, 中间间距20rpx */ .desc-view { .desc-view-item { display: flex; justify-content: space-between; padding: 20rpx 40rpx; font-size: 30rpx; font-weight: 400; .title { color: #808080; } .desc { color: #000; } &:first-child { margin-top: 20rpx; } &:last-child { margin-bottom: 20rpx; } } } /** 已整理 **/ //容器内部元素上下左右居中 .flex-center { display: flex; justify-content: center; align-items: center; } // 触摸反馈样式 .touch-hover { background-color: #f7f8fa !important ; } .touch-button { opacity: 0.5; } /* 单行文本超出省略号 */ .single-text-beyond { overflow: hidden; /*超出部分隐藏*/ white-space: nowrap; /*禁止换行*/ text-overflow: ellipsis; /*省略号*/ } // 按钮背景样式 .footer-button-style { border-top: 1rpx solid #fcfcfc; background-color: rgba(252, 252, 252, 0.85); backdrop-filter: blur(20rpx); } // 搜素框 提示语样式 .input-placeholder { font-size: 32rpx; color: rgba(0, 0, 0, 0.35); } // 表单分割线 .line { height: 20rpx; background-color: $v-color-bgrey; } /** * jeepay-btn 通用btn样式。 * 用法: */ .jeepay-btn { display: flex; justify-content: center; align-items: center; height: 110rpx; font-size: 33rpx; font-weight: 500; color: $J-color-tff; border-radius: 20rpx; background: linear-gradient(270deg, rgba(35,143,252,1) 0%, rgba(26,102,255,1) 100%); box-shadow: 0 20rpx 60rpx -20rpx rgba(0,84,210,0.5); &.hover-button { opacity: 0.5; } } /** 输入框icon **/ .input-icon{ width: 36rpx; height: 36rpx; }