/** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ .container.data-v-da48f91d { padding: 20rpx 18rpx; min-height: 100vh; font-size: 28rpx; } .container .top.data-v-da48f91d { display: flex; justify-content: space-between; } .container .top .top_search.data-v-da48f91d { display: flex; align-items: center; padding: 0 25rpx; width: 491rpx; height: 80rpx; border-radius: 145rpx; border: 2rpx solid #e5e5e5; background-color: #f5f5f5; } .container .top .top_search .input.data-v-da48f91d { margin-left: 20rpx; font-size: 28rpx; } .container .top .top_btn.data-v-da48f91d { display: flex; align-items: center; justify-content: space-between; padding: 18rpx; width: 196rpx; height: 70rpx; color: #fff; border-radius: 68rpx; background-color: #007aff; } .container .control.data-v-da48f91d { margin-top: 15rpx; } .container .list.data-v-da48f91d { margin-top: 20rpx; } .container .list .list_box.data-v-da48f91d { display: flex; flex-direction: column; justify-content: space-between; padding: 30rpx 25rpx; margin-bottom: 20rpx; width: 714rpx; height: 344rpx; border-radius: 28rpx; box-shadow: 0 4rpx 35rpx #d3d3d3; background-color: #fff; } .container .list .list_box .box_top.data-v-da48f91d { display: flex; justify-content: space-between; } .container .list .list_box .box_top .img.data-v-da48f91d { margin-right: 24rpx; width: 249rpx; height: 168rpx; border-radius: 8rpx; } .container .list .list_box .box_top .top_msg.data-v-da48f91d { display: flex; flex-direction: column; justify-content: space-between; flex: 1; font-size: 24rpx; color: #808080; overflow: hidden; } .container .list .list_box .box_top .top_msg .msg_title.data-v-da48f91d { font-size: 28rpx; font-weight: bold; color: #000; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } .container .list .list_box .box_top .top_msg .msg_name.data-v-da48f91d { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .container .list .list_box .box_bottom.data-v-da48f91d { display: flex; justify-content: center; align-items: center; width: 661rpx; height: 80rpx; border-radius: 8rpx; } .container .list .list_box .on.data-v-da48f91d { color: #fff; background-color: #007aff; } .container .list .list_box .off.data-v-da48f91d { color: #a6a6a6; background-color: #e5e5e5; }