2024-10-18 07:53:00 +00:00
|
|
|
|
/**
|
|
|
|
|
* 这里是uni-app内置的常用样式变量
|
|
|
|
|
*
|
|
|
|
|
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
|
|
|
|
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
/**
|
|
|
|
|
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
|
|
|
|
*
|
|
|
|
|
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
|
|
|
|
*/
|
|
|
|
|
/* 颜色变量 */
|
|
|
|
|
/* 行为相关颜色 */
|
|
|
|
|
/* 文字基本颜色 */
|
|
|
|
|
/* 背景颜色 */
|
|
|
|
|
/* 边框颜色 */
|
|
|
|
|
/* 尺寸变量 */
|
|
|
|
|
/* 文字尺寸 */
|
|
|
|
|
/* 图片尺寸 */
|
|
|
|
|
/* Border Radius */
|
|
|
|
|
/* 水平间距 */
|
|
|
|
|
/* 垂直间距 */
|
|
|
|
|
/* 透明度 */
|
|
|
|
|
/* 文章场景相关 */
|
|
|
|
|
.navbar {
|
|
|
|
|
background-color: #4095e5;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
padding: 10px;
|
|
|
|
|
}
|
|
|
|
|
.navbar .search {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
padding: 0 10rpx 0 26rpx;
|
|
|
|
|
height: 0.64rem;
|
|
|
|
|
color: #fff;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
border-radius: 32rpx;
|
|
|
|
|
background-color: rgba(255, 255, 255, 0.5);
|
|
|
|
|
width: 70%;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
}
|
|
|
|
|
.navbar .icon-search {
|
|
|
|
|
margin-right: 10rpx;
|
|
|
|
|
}
|
2025-04-11 06:42:29 +00:00
|
|
|
|
.navbar .search-button {
|
|
|
|
|
margin-left: auto;
|
|
|
|
|
height: 0.64rem;
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
color: #4095e5;
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 32rpx;
|
|
|
|
|
padding: 0 20rpx;
|
|
|
|
|
line-height: 0.64rem;
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
}
|
|
|
|
|
.navbar .transparent-input {
|
|
|
|
|
background-color: transparent;
|
|
|
|
|
border: none;
|
|
|
|
|
color: #fff;
|
|
|
|
|
outline: none;
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 0 10rpx;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
}
|
2024-10-18 07:53:00 +00:00
|
|
|
|
.navigator,
|
|
|
|
|
.image {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
.category {
|
|
|
|
|
margin: 20rpx 0 0;
|
|
|
|
|
padding: 10rpx 0;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
min-height: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
.category .category-item {
|
|
|
|
|
width: 150rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
.category .category-item .icon {
|
2025-04-11 06:42:29 +00:00
|
|
|
|
width: 80rpx;
|
|
|
|
|
height: 80rpx;
|
|
|
|
|
margin-bottom: 5px;
|
2024-10-18 07:53:00 +00:00
|
|
|
|
}
|
|
|
|
|
.category .category-item .text {
|
|
|
|
|
font-size: 26rpx;
|
2025-04-11 06:42:29 +00:00
|
|
|
|
color: #111;
|
2024-10-18 07:53:00 +00:00
|
|
|
|
}
|
|
|
|
|
.IPtext {
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
}
|
|
|
|
|
.notice {
|
|
|
|
|
height: 40px;
|
2025-04-11 06:42:29 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 取餐吗 */
|
|
|
|
|
.content {
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
.movableArea {
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
z-index: 999;
|
|
|
|
|
}
|
|
|
|
|
.movableView {
|
|
|
|
|
pointer-events: auto;
|
|
|
|
|
width: 60rpx;
|
|
|
|
|
height: 60rpx;
|
|
|
|
|
padding: 10rpx;
|
|
|
|
|
border-radius: 100%;
|
|
|
|
|
border: 2px solid #33A3DC;
|
|
|
|
|
background-color: #eed43e;
|
|
|
|
|
}
|
|
|
|
|
.iconImage {
|
|
|
|
|
display: block;
|
|
|
|
|
width: 60rpx;
|
|
|
|
|
height: 60rpx;
|
|
|
|
|
}
|
|
|
|
|
.contact {
|
|
|
|
|
width: 50px;
|
|
|
|
|
height: 50px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 0px;
|
|
|
|
|
top: 0px;
|
|
|
|
|
border-radius: 100%;
|
|
|
|
|
opacity: 0;
|
2024-10-18 07:53:00 +00:00
|
|
|
|
}
|