feat:初始提交uni-app项目
This commit is contained in:
130
unpackage/dist/dev/mp-weixin/pages/index/index.wxss
vendored
Normal file
130
unpackage/dist/dev/mp-weixin/pages/index/index.wxss
vendored
Normal file
@@ -0,0 +1,130 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.homeLayout .banner.data-v-1cf27b2a {
|
||||
width: 750rpx;
|
||||
padding: 30rpx 0;
|
||||
}
|
||||
.homeLayout .banner swiper.data-v-1cf27b2a {
|
||||
width: 750rpx;
|
||||
height: 340rpx;
|
||||
}
|
||||
.homeLayout .banner swiper swiper-item.data-v-1cf27b2a {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 0 30rpx;
|
||||
}
|
||||
.homeLayout .banner swiper swiper-item .like.data-v-1cf27b2a {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.homeLayout .banner swiper swiper-item .like image.data-v-1cf27b2a {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.homeLayout .notice.data-v-1cf27b2a {
|
||||
width: 690rpx;
|
||||
margin: 0 auto;
|
||||
height: 80rpx;
|
||||
background: #f9f9f9;
|
||||
line-height: 80rpx;
|
||||
border-radius: 80rpx;
|
||||
display: flex;
|
||||
}
|
||||
.homeLayout .notice .left.data-v-1cf27b2a {
|
||||
width: 140rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.homeLayout .notice .left .text.data-v-1cf27b2a {
|
||||
color: #000;
|
||||
font-size: 28rpx;
|
||||
font-weight: 600;
|
||||
}
|
||||
.homeLayout .notice .center.data-v-1cf27b2a {
|
||||
flex: 1;
|
||||
}
|
||||
.homeLayout .notice .center swiper.data-v-1cf27b2a {
|
||||
height: 100%;
|
||||
}
|
||||
.homeLayout .notice .center swiper swiper-item.data-v-1cf27b2a {
|
||||
height: 100%;
|
||||
font-size: 30rpx;
|
||||
color: #666;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.homeLayout .notice .right.data-v-1cf27b2a {
|
||||
width: 70rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.homeLayout .select.data-v-1cf27b2a {
|
||||
padding-top: 50rpx;
|
||||
}
|
||||
.homeLayout .select .date.data-v-1cf27b2a {
|
||||
color: #28B389;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.homeLayout .select .content.data-v-1cf27b2a {
|
||||
width: 720rpx;
|
||||
margin-left: 30rpx;
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
.homeLayout .select .content scroll-view.data-v-1cf27b2a {
|
||||
white-space: nowrap;
|
||||
}
|
||||
.homeLayout .select .content scroll-view .box.data-v-1cf27b2a {
|
||||
display: inline-block;
|
||||
width: 200rpx;
|
||||
height: 430rpx;
|
||||
margin-right: 15rpx;
|
||||
}
|
||||
.homeLayout .select .content scroll-view .box image.data-v-1cf27b2a {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.homeLayout .select .content scroll-view .box.data-v-1cf27b2a:last-child {
|
||||
margin-right: 30rpx;
|
||||
}
|
||||
.homeLayout .theme.data-v-1cf27b2a {
|
||||
padding: 50rpx 0;
|
||||
}
|
||||
.homeLayout .theme .more.data-v-1cf27b2a {
|
||||
font-size: 32rpx;
|
||||
color: #888;
|
||||
}
|
||||
.homeLayout .theme .content.data-v-1cf27b2a {
|
||||
margin-top: 30rpx;
|
||||
padding: 0 30rpx;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 15rpx;
|
||||
}
|
||||
Reference in New Issue
Block a user