@charset "UTF-8"; /** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ .uni-flex, .uni-flex-row, .uni-list-box, .uni-media-box, .uni-footer, .uni-flex-column, .uni-content { display: flex; } .uni-flex-row, .uni-list-box, .uni-media-box, .uni-footer { flex-direction: row; box-sizing: border-box; } .uni-flex-column, .uni-content { flex-direction: column; } .uni-color-gary { color: #3b4144; } /* 标题 */ .uni-title { display: flex; margin-bottom: 8px; font-size: 16; font-weight: bold; color: #3b4144; } .uni-title-sub { display: flex; font-size: 14px; font-weight: 500; color: #3b4144; } /* 描述 额外文本 */ .uni-note { margin-top: 10px; color: #999; font-size: 12px; } /* 列表内容 */ .uni-list-box { flex: 1; margin-top: 10px; } /* 略缩图 */ .uni-thumb { flex-shrink: 0; margin-right: 10px; width: 125px; height: 75px; border-radius: 6px; overflow: hidden; border: 1px #f5f5f5 solid; } .uni-thumb image { width: 100%; height: 100%; } .uni-media-box { border-radius: 6px; overflow: hidden; } .uni-media-box .uni-thumb { margin: 0; margin-left: 4px; flex-shrink: 1; width: 33%; border-radius: 0; } .uni-media-box .uni-thumb:first-child { margin: 0; } /* 内容 */ .uni-content { justify-content: space-between; } /* 列表footer */ .uni-footer { justify-content: space-between; margin-top: 12px; } .uni-footer-text { font-size: 12px; color: #999; margin-left: 5px; } /* 标签 */ .uni-tag { flex-shrink: 0; padding: 0 5px; border: 1px #c8c7cc solid; margin-right: 5px; border-radius: 3px; background: #f8f8f8; color: #333; font-size: 12px; } /* 链接 */ .uni-link { margin-left: 10px; color: #333; text-decoration: underline; } page { display: flex; flex-direction: column; box-sizing: border-box; background-color: #efeff4; min-height: 100%; height: auto; } .tips { color: #67c23a; font-size: 14px; line-height: 40px; text-align: center; background-color: #f0f9eb; height: 0; opacity: 0; -webkit-transform: translateY(-100%); transform: translateY(-100%); transition: all 0.3s; } .tips-ani { -webkit-transform: translateY(0); transform: translateY(0); height: 40px; opacity: 1; } .shop { flex: 1; display: flex; flex-direction: column; justify-content: space-between; } .list .uni-list--waterfall .uni-list { display: flex; flex-direction: row; flex-wrap: wrap; padding: 5rpx; box-sizing: border-box; } .list .uni-list--waterfall .uni-list .uni-list-item--waterfall { width: 50%; box-sizing: border-box; } .list .uni-list--waterfall .uni-list .uni-list-item--waterfall .uni-list-item__container { padding: 0rpx; flex-direction: column; } .item_content { background: white; width: 100%; height: 390rpx; margin-right: 20rpx; padding-top: 20rpx; padding-bottom: 20rpx; } .mainimage { width: 100%; height: 300rpx; display: block; border-radius: 0rpx; } .viewinrow { display: flex; flex-direction: row; justify-content: center; align-items: center; } .buyBTact { display: flex; flex-direction: row; justify-content: space-between; align-items: center; } .title { padding-top: 8rpx; width: 100%; text-align: left; font-size: 32rpx; line-height: 32rpx; font-weight: initial; } .Dishes { width: 100%; text-align: left; font-size: 28rpx; line-height: 28rpx; color: darkgray; } .price { width: 100%; text-align: left; font-size: 28rpx; line-height: 28rpx; color: #E02F73; } .xingxing { width: 40rpx; height: 40rpx; } .pingfentext { width: 100%; text-align: left; font-size: 28rpx; line-height: 28rpx; color: black; }