app.wxss 2.32 KB
Newer Older
张杰's avatar
张杰 committed
1 2 3 4 5 6 7 8
/**app.wxss**/

.container {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
张杰's avatar
张杰 committed
9
  padding: 200rrpx 0;
张杰's avatar
张杰 committed
10 11 12 13
  box-sizing: border-box;
}

.kg-text-title {
张杰's avatar
张杰 committed
14
  font-size: 32rpx;
张杰's avatar
张杰 committed
15 16 17 18
  font-weight: bold;
}

.kg-text-normal-gray {
张杰's avatar
张杰 committed
19
  font-size: 33rpx;
张杰's avatar
张杰 committed
20 21 22 23
  color: rgb(78, 78, 78);
}

.kg-text-normal-dark {
张杰's avatar
张杰 committed
24
  font-size: 32rpx;
张杰's avatar
张杰 committed
25 26 27 28 29
  color: black;
}

.kg-separater {
  background-color: #f2f6f9;
张杰's avatar
张杰 committed
30
  height: 20rpx;
张杰's avatar
张杰 committed
31
  width: auto;
张杰's avatar
张杰 committed
32 33 34
}

.kg-operate-btn-bg {
张杰's avatar
张杰 committed
35
  bottom: 0rpx;
张杰's avatar
张杰 committed
36
  /* background-color: red; */
张杰's avatar
张杰 committed
37
  height: 136rpx;
张杰's avatar
张杰 committed
38 39 40 41 42 43
  width: 100vh;
  display: flex;
  align-items: center;
}

.kg-operate-btn {
张杰's avatar
张杰 committed
44 45
  width: calc(100vw - 160rpx);
  margin-left: 80rpx;
张杰's avatar
张杰 committed
46 47
  background-color: #f9aa76;
  color: white;
张杰's avatar
张杰 committed
48
  font-size: 36rpx;
张杰's avatar
张杰 committed
49 50 51 52 53
}

.kg-btn-no-border::after {
  border: none;
}
张杰's avatar
张杰 committed
54 55 56 57

.kg-section-header {
  display: flex;
  flex-direction: row;
张杰's avatar
张杰 committed
58
  height: 60rpx;
张杰's avatar
张杰 committed
59
  align-items: center;
张杰's avatar
张杰 committed
60
  justify-content: space-between;
张杰's avatar
张杰 committed
61
}
张杰's avatar
张杰 committed
62 63

.kg-quantity-cell {
张杰's avatar
张杰 committed
64
  /* height: 120rpx; */
张杰's avatar
张杰 committed
65 66 67
  width: auto;
  border-radius: 6rpx;
  box-shadow: 0rpx 0rpx 8rpx 8rpx #f2f6f9;
张杰's avatar
张杰 committed
68
  padding: 30rpx 20rpx;
张杰's avatar
张杰 committed
69
  margin-bottom: 20rpx;
张杰's avatar
张杰 committed
70 71 72
  display: flex;
  flex-direction: column;

张杰's avatar
张杰 committed
73 74
}

张杰's avatar
张杰 committed
75
/* 横向对齐布局样式 两边对齐 */
张杰's avatar
张杰 committed
76
.kg-flex-row {
张杰's avatar
张杰 committed
77
  justify-content: space-between;
张杰's avatar
张杰 committed
78 79 80 81 82
  display: flex;
  flex-direction: row;
  align-items: center;
}

张杰's avatar
张杰 committed
83 84 85 86 87 88 89 90 91 92 93
/* 纵向对齐布局样式 默认对齐方式*/
.kg-flex-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* 使这个样式可以拉伸 */
  /* flex-grow: 1;
  margin-left: 16rpx;
  height: 120rpx; */
}

张杰's avatar
张杰 committed
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
.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);
张杰's avatar
张杰 committed
112
  font-size: 16px;
张杰's avatar
张杰 committed
113 114 115 116 117
}

.eat_category_btn.selected {
  border-color: #f9aa76;
	color: #f9aa76;
张杰's avatar
张杰 committed
118 119 120
}

/* 首页顶部 */
张杰's avatar
张杰 committed
121
.kg-home-header {
张杰's avatar
张杰 committed
122 123 124 125 126 127 128 129 130 131
  height: 180rpx;
  margin-left: 32rpx;
  margin-right: 32rpx;
}

/* 用户图片 */
.kg-user-icon {
  height: 120rpx;
  width: 120rpx;
  border-radius: 60rpx;
张杰's avatar
张杰 committed
132
  /* background-color: blueviolet; */
张杰's avatar
张杰 committed
133 134 135 136 137 138 139
}

/* 性别图标 */
.kg-sex-icon {
  height: 35rpx;
  width: 30rpx;
  margin-left: 8rpx;
张杰's avatar
张杰 committed
140
}