app.wxss 2.32 KB
/**app.wxss**/

.container {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 200rrpx 0;
  box-sizing: border-box;
}

.kg-text-title {
  font-size: 32rpx;
  font-weight: bold;
}

.kg-text-normal-gray {
  font-size: 33rpx;
  color: rgb(78, 78, 78);
}

.kg-text-normal-dark {
  font-size: 32rpx;
  color: black;
}

.kg-separater {
  background-color: #f2f6f9;
  height: 20rpx;
  width: auto;
}

.kg-operate-btn-bg {
  bottom: 0rpx;
  /* background-color: red; */
  height: 136rpx;
  width: 100vh;
  display: flex;
  align-items: center;
}

.kg-operate-btn {
  width: calc(100vw - 160rpx);
  margin-left: 80rpx;
  background-color: #f9aa76;
  color: white;
  font-size: 36rpx;
}

.kg-btn-no-border::after {
  border: none;
}

.kg-section-header {
  display: flex;
  flex-direction: row;
  height: 60rpx;
  align-items: center;
  justify-content: space-between;
}

.kg-quantity-cell {
  /* height: 120rpx; */
  width: auto;
  border-radius: 6rpx;
  box-shadow: 0rpx 0rpx 8rpx 8rpx #f2f6f9;
  padding: 30rpx 20rpx;
  margin-bottom: 20rpx;
  display: flex;
  flex-direction: column;

}

/* 横向对齐布局样式 两边对齐 */
.kg-flex-row {
  justify-content: space-between;
  display: flex;
  flex-direction: row;
  align-items: center;
}

/* 纵向对齐布局样式 默认对齐方式*/
.kg-flex-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* 使这个样式可以拉伸 */
  /* flex-grow: 1;
  margin-left: 16rpx;
  height: 120rpx; */
}

.kg-border {
  border: 2rpx solid rgb(190, 190, 190);
  border-radius: 6rpx;
}


.eat_category_btn {
  display: flex;
  align-items: center;
  justify-content: center;
	border: 2rpx solid rgb(190, 190, 190);
  border-radius: 6rpx;
	width: calc((100vw - 40rpx - 92rpx) / 3);
	margin-right: 40rpx;
  margin-bottom: 20rpx;
	height: 70rpx;
	line-height: 70rpx;
	color: rgb(190, 190, 190);
  font-size: 16px;
}

.eat_category_btn.selected {
  border-color: #f9aa76;
	color: #f9aa76;
}

/* 首页顶部 */
.kg-home-header {
  height: 180rpx;
  margin-left: 32rpx;
  margin-right: 32rpx;
}

/* 用户图片 */
.kg-user-icon {
  height: 120rpx;
  width: 120rpx;
  border-radius: 60rpx;
  /* background-color: blueviolet; */
}

/* 性别图标 */
.kg-sex-icon {
  height: 35rpx;
  width: 30rpx;
  margin-left: 8rpx;
}