self-order-detail.vue 7.5 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 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 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421
<template>
	<view class="content">
		<!-- <view class="topBj"> -->
		<view class="topTitle">
			<image src="../../static/ic_21_1@2x.png" mode="" class="pageIcon"></image>
			订单详情
		</view>
		<!-- </view> -->
		<view class="orderBox">
			<view class="addressBox">
				<view class="status">
					待支付
				</view>
				<view class="address">
					<view class="addressLeft">
						<image src="../../static/ic_38@2x.png" mode="" class="adsressIcon"></image>
						<view class="" style="margin-left: 32rpx;flex: 1;">
							<view class="" style="display: flex;">
								<view class="name">
									张筱雨
								</view>
							</view>
							<view class="detaiAdd">
								广东省广州市大华区明理路科
							</view>
						</view>
					</view>
				</view>
				<view class="address" style="margin-bottom: 0;">
					<view class="addressLeft">
						<view class="">
							<view class="shopName">
								店铺名称
								<text style="padding-left: 60rpx;box-sizing: border-box;">来伊店铺</text>
							</view>
							<view class="shopName">
								联系方式
								<text style="padding-left: 60rpx;box-sizing: border-box;">18236362356</text>
							</view>
						</view>
					</view>
				</view>
			</view>
		</view>
		<!-- 订单详情 -->
		<view class="goodDetail">
			<view class="goodDeatilIner">
				<image src="../../static/ic_28@2x.png" mode="" class="godImg"></image>
				<view class="" style="margin-left: 16rpx;flex: 1;">
					<view class="goodName">
						科麦斯无油静音空吗压力小型气550W-8L便捷吹尘木工打钉枪气泵空气压缩机
					</view>
					<view class="goodDesc">
						55W-8L经典款标配:整机
					</view>
					<view class="price">
						<text style="font-size: 24rpx;">¥</text>
						50.00
					</view>
				</view>
			</view>
			<view class="detailItem">
				<view class="leftTitle">
					备注
				</view>
				<view class="rightContent">
					建议留言前先与商家沟通
				</view>
			</view>
			<view class="detailItem">
				<view class="leftTitle">
					商品总价:
				</view>
				<view class="rightContent">
					¥50.00
				</view>
			</view>
			<view class="detailItem">
				<view class="leftTitle">
					运费:
				</view>
				<view class="rightContent">
					0.00
				</view>
			</view>
			<view class="detailItem">
				<view class="leftTitle">
					优惠金额
				</view>
				<view class="rightContent" style="color: #f6902b;">
					<text style="font-size: 20rpx;">¥</text>
					5.00
				</view>
			</view>
			<view class="detailItem">
				<view class="leftTitle">
					需付款
				</view>
				<view class="rightContent" style="color:#ff2f2f;">
					<text style="font-size: 24rpx;">¥</text>
					45.00
				</view>
			</view>
		</view>
		<!-- 支付详情 -->
		<view class="payBox">
			<view class="payItem" style="border-bottom: 2rpx solid ebedf0;">
				配送方式
				<view class="payRight">
					快递
				</view>
			</view>
			<view class="payItem">
				支付方式
				<view class="payRight">
					微信支付
				</view>
			</view>
		</view>
		<!-- 订单详情 -->
		<view class="orderTime">
			<view class="payItem" style="border-bottom: 2rpx solid ebedf0;">
				订单编号
				<view class="copyText">
					复制
				</view>
				<view class="payRight">
					213447878
				</view>
			</view>
			<view class="payItem">
				创建时间
				<view class="payRight">
					2021-04-01 13:00:00
				</view>
			</view>
			<view class="payItem">
				付款时间(非待支付状态)
				<view class="payRight">
					2021-04-01 13:00:00
				</view>
			</view>
		</view>
		<!-- 底部按钮 -->
		<view class="bottomBox">
			<view class="linkBtn">
				<image src="../../static/ic_34@2x.png" mode="" style="width: 28rpx;height: 28rpx;margin-right: 6rpx;">
				</image>
				联系客户
			</view>
			<view class="concelBtn">
				取消订单
			</view>
			<view class="completedBtn">
				完成拣货
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {}
		}
	}
</script>

<style>
	.content {
		min-height: 100vh;
		background-color: #F7F8FA;
	}

	.topBj {
		width: 100%;
		height: 500rpx;
		position: fixed;
		top: 0;
		left: 0;
		background-color: #FF2F2F;
	}

	.pageIcon {
		width: 30rpx;
		height: 38rpx;
		position: fixed;
		left: 32rpx;
		top: 120rpx;

	}

	.topTitle {
		width: 100%;
		position: fixed;
		top: 0;
		left: 0;
		height: 176rpx;
		color: #ffffff;
		font-size: 34rpx;
		text-align: center;
		padding-top: 110rpx;
		box-sizing: border-box;
		background-color: #FF2F2F;
	}

	.addressBox {
		background-color: #FF2F2F;
		width: 100%;
		padding: 32rpx;
		box-sizing: border-box;
	}

	.orderBox {
		box-sizing: border-box;
		padding-top: 184rpx;
	}

	.status {
		color: #ffffff;
		font-size: 36rpx;
		padding: 32rpx 0;
		box-sizing: border-box;
	}

	.address {
		width: 100%;
		padding: 32rpx;
		box-sizing: border-box;
		background: #ffffff;
		border-radius: 16rpx;
	}

	.address {
		display: flex;
		justify-content: space-between;
		margin-bottom: 32rpx;
	}

	.addressLeft {
		display: flex;
	}

	.adsressIcon {
		width: 80rpx;
		height: 80rpx;
	}

	.name {
		color: #323233;
		font-size: 32rpx;
	}

	.addressRight {
		width: 198rpx;
		display: flex;
		justify-content: flex-end;
		align-items: center;
	}

	.changTExt {
		border: 2rpx solid #c8c9cc;
		border-radius: 48rpx;
		color: #969799;
		font-size: 26rpx;
		width: 100rpx;
		text-align: center;
	}

	.detaiAdd {
		color: #646566;
		font-size: 26rpx;
		margin-top: 10rpx;
	}

	.goodDetail {
		padding: 32rpx;
		background-color: #fff;
		margin-top: 32rpx;
	}

	.goodDeatilIner {
		display: flex;
		margin-bottom: 32rpx;
	}

	.godImg {
		width: 136rpx;
		height: 162rpx;
		border-radius: 8rpx;
	}

	.goodName {
		color: #323233;
		font-size: 26rpx;
	}

	.goodDesc {
		color: #c8c9cc;
		font-size: 24rpx;
		margin-top: 8rpx;
	}

	.price {
		color: #f85317;
		font-size: 36rpx;
		margin-top: 8rpx;
	}

	.detailItem {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 16rpx 0;
		box-sizing: border-box;
		width: 100%;
	}

	.leftTitle {
		width: 140rpx;
		color: #323233;
		font-size: 26rpx;
	}

	.rightContent {
		flex: 1;
		color: #c8c9cc;
		font-size: 26rpx;
		text-align: right;
	}

	.payBox,
	.orderTime {
		background-color: #fff;
		margin-top: 32rpx;
		padding: 0 32rpx;
		box-sizing: border-box;
	}

	.payItem {
		padding: 32rpx 0;
		color: #323233;
		font-size: 28rpx;
		display: flex;
		align-items: center;
		position: relative;
	}

	.payRight {
		color: #646566;
		font-size: 26rpx;
		margin-left: 64rpx;
	}

	.copyText {
		position: absolute;
		right: 32rpx;
		top: 32rpx;
		color: #ff2f2f;
		font-size: 26rpx;
	}

	.bottomBox {
		width: 100%;
		height: 116rpx;
		position: fixed;
		bottom: 0;
		left: 0;
		background-color: #fff;
		display: flex;
		align-items: center;
		justify-content: flex-end;
		padding-right: 32rpx;
		box-sizing: border-box;
	}

	.linkBtn {
		width: 188rpx;
		height: 60rpx;
		line-height: 60rpx;
		color: #323233;
		font-size: 26rpx;
		text-align: center;
		margin-right: 32rpx;
		border-radius: 8rpx;
		border: 2rpx solid #c8c9cc;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.concelBtn {
		width: 158rpx;
		height: 60rpx;
		line-height: 60rpx;
		text-align: center;
		border: 2rpx solid #ff2f2f;
		border-radius: 8rpx;
		margin-right: 32rpx;
		color: #ff2f2f;
		font-size: 26rpx;
	}

	.completedBtn {
		width: 158rpx;
		height: 60rpx;
		line-height: 60rpx;
		text-align: center;
		border: 2rpx solid #ff2f2f;
		border-radius: 8rpx;
		color: #ff2f2f;
		font-size: 26rpx;
	}

	.shopName {
		color: #323233;
		font-size: 28rpx;
		padding: 10rpx 0;
		box-sizing: border-box;
	}
</style>