Blame view

lvdao-miniapp/pages/details/details.scss 3.21 KB
3f535f30   杨鑫   '初始'
1
  .page {
e5b57447   杨鑫   '分包问卷'
2
  	position: relative;
3f535f30   杨鑫   '初始'
3
4
5
6
7
  	width: 100%;
  	// height: 100%;
  	overflow-x: hidden;
  	// overflow-y: auto;
  }
e5b57447   杨鑫   '分包问卷'
8
9
  // 图片
  .banner-img {
3f535f30   杨鑫   '初始'
10
  	width: 100%;
e5b57447   杨鑫   '分包问卷'
11
  	height: 30vh;
3f535f30   杨鑫   '初始'
12
  }
e5b57447   杨鑫   '分包问卷'
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
  // 商铺信息
  .banner {
  	position: absolute;
  	top: calc(30vh - 30rpx);
  	width: 100%;
  	margin-top: -20rpx;
  	border-radius: 30rpx;
  	background-color: #fff;
  	padding: 26rpx 34rpx 100rpx;
  	.banner-item {
  		border-bottom: 2rpx solid #EBEBEB;
  		padding-bottom: 32rpx;
  		.banner-item-title {
  			font-size: 28rpx;
  			font-weight: 700;
  			line-height: 48rpx;
  			margin-top: 30rpx;
3f535f30   杨鑫   '初始'
30
  		}
e5b57447   杨鑫   '分包问卷'
31
32
33
34
35
36
37
38
39
40
41
42
  		.banner-item-form {
  			.form-item {
  				line-height: 30rpx;
  				font-size: 24rpx;
  				display: flex;
  				justify-content: flex-start;
  				align-items: top;
  				padding: 14rpx 0;
  			}
  		}
  		&:last-child {
  			border-bottom: unset;
3f535f30   杨鑫   '初始'
43
44
  		}
  	}
e5b57447   杨鑫   '分包问卷'
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
  	// 基础信息
  	.info {
  		.info-title {
  			font-weight: bold;
  			font-size: 32rpx;
  			margin-bottom: 24rpx;
  			span {
  				display: inline-block;
  				padding: 0 8rpx;
  			}
  		}
  		.info-text {
  			margin-bottom: 30rpx;
  		}
  		.info-racord {
3f535f30   杨鑫   '初始'
60
  			display: flex;
e5b57447   杨鑫   '分包问卷'
61
  			justify-content: space-between;
3f535f30   杨鑫   '初始'
62
  			align-items: center;
e5b57447   杨鑫   '分包问卷'
63
64
65
66
67
68
69
  			.info-price {
  				color: #31AA6A;
  				span {
  					font-size: 40rpx;
  					font-weight: 700;
  					margin-right: 4rpx;
  				}
3f535f30   杨鑫   '初始'
70
71
  			}
  		}
e5b57447   杨鑫   '分包问卷'
72
73
74
75
76
  	}
  	// 场地信息
  	// 位置信息
  	.position {
  		.position-info {
3f535f30   杨鑫   '初始'
77
78
  			display: flex;
  			align-items: center;
e5b57447   杨鑫   '分包问卷'
79
80
81
82
83
84
85
86
87
  			flex-direction: row;
  			margin: 38rpx 22rpx;
  			background-color: #fff;
  			font-size: 24rpx;
  			padding: 20rpx 16rpx;
  			line-height: 30rpx;
  			border-radius: 14rpx;
  			text {
  				margin-left: 10rpx;
3f535f30   杨鑫   '初始'
88
89
90
  			}
  		}
  	}
e5b57447   杨鑫   '分包问卷'
91
92
93
94
  	// 周边商铺
  	.other-business {
  		.scroll-view_H {
  			white-space: nowrap;
3f535f30   杨鑫   '初始'
95
  			width: 100%;
e5b57447   杨鑫   '分包问卷'
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
  		}
  		.scroll-view-item_H {
  			display: inline-block;
  			width: 210rpx;
  			margin-right: 22rpx;
  			&:last-child {
  				margin-right: 0;
  			}
  			.business-card {
  				width: 100%;
  				.u-image {
  					overflow: hidden !important;
  					border-radius: 20rpx !important;
  				}
  				.business-card-title {
  					width: 100%;
  					overflow : hidden;/*必须结合的属性,当内容溢出元素框时发生的事情*/
  					text-overflow: ellipsis;/*可以用来多行文本的情况下,用省略号“…”隐藏超出范围的文本 。*/
  					// display: -webkit-box;/*必须结合的属性 ,将对象作为弹性伸缩盒子模型显示 。*/
  					// -webkit-line-clamp: 2;/*用来限制在一个块元素显示的文本的行数。*/
  					// -webkit-box-orient: vertical;/*必须结合的属性 ,设置或检索伸缩盒对象的子元素的排*/
  					line-height: 30rpx;
  					margin: 10rpx 0;
  					padding: 0 10rpx;
  				}
  				.business-card-item {
  					padding: 0 10rpx;
  					font-weight: 400;
  					font-size: 20rpx;
  					color: #676767;
  					line-height: 1.5;
  					span {
  						font-weight: 700;
  						font-size: 30rpx;
  						color: #000000;
  					}
3f535f30   杨鑫   '初始'
132
133
134
135
136
  				}
  			}
  		}
  	}
  }
e5b57447   杨鑫   '分包问卷'
137
  
3f535f30   杨鑫   '初始'
138
139
140
141
142
143
  /* 底部 */
  .page-footer{
  	position: fixed;
  	left: 0;
  	bottom: 0;
  	display: flex;
e5b57447   杨鑫   '分包问卷'
144
145
  	align-items: center;
  	justify-content: center;
3f535f30   杨鑫   '初始'
146
  	width: 100%;
e5b57447   杨鑫   '分包问卷'
147
  	height: 125rpx;
3f535f30   杨鑫   '初始'
148
149
150
  	background-color: #FFFFFF;
  	padding-bottom: constant(safe-area-inset-bottom);
  	padding-bottom: env(safe-area-inset-bottom);
e5b57447   杨鑫   '分包问卷'
151
  	.footer-btn {
3f535f30   杨鑫   '初始'
152
  		display: flex;
e5b57447   杨鑫   '分包问卷'
153
154
155
156
  	}
  	.footer-service {
  		display: flex;
  		flex-direction: column;
3f535f30   杨鑫   '初始'
157
  		align-items: center;
e5b57447   杨鑫   '分包问卷'
158
159
160
  		text {
  			margin-top: 6rpx;
  			line-height: 32rpx;
3f535f30   杨鑫   '初始'
161
162
  		}
  	}
e5b57447   杨鑫   '分包问卷'
163
  }