shopEvaluate.vue 3.7 KB
<template>
	<view class="page">
		<view class="item">
			<view class="infobox">
				<image src="../../static/cai.png" mode="widthFix" class="left"></image>
				<view class="info">
					<view class="word">商品名称名称名称商品名称名称名称商品名称名称名称名称</view>
					<view class="score">
						商品评分:
						<view class="num">
							<image src="../../static/star.png" mode="widthFix" class="star"></image>
							<image src="../../static/star.png" mode="widthFix" class="star"></image>
							<image src="../../static/star.png" mode="widthFix" class="star"></image>
							<image src="../../static/star.png" mode="widthFix" class="star"></image>
							<image src="../../static/nostar.png" mode="widthFix" class="star" style="margin-right: 0;"></image>
						</view>
					</view>
				</view>
			</view>
			<textarea name="" id="" cols="30" rows="10" class="fill" placeholder="请填写评价内容….."></textarea>
			<view class="imgarr"><image src="../../static/add.png" mode="widthFix" class="imagItem"></image></view>
		</view>
		<view class="item">
			<view class="infobox">
				<image src="../../static/cai.png" mode="widthFix" class="left"></image>
				<view class="info">
					<view class="word">商品名称名称名称商品名称名称名称商品名称名称名称名称</view>
					<view class="score">
						商品评分:
						<view class="num">
							<image src="../../static/star.png" mode="widthFix" class="star"></image>
							<image src="../../static/star.png" mode="widthFix" class="star"></image>
							<image src="../../static/star.png" mode="widthFix" class="star"></image>
							<image src="../../static/star.png" mode="widthFix" class="star"></image>
							<image src="../../static/nostar.png" mode="widthFix" class="star" style="margin-right: 0;"></image>
						</view>
					</view>
				</view>
			</view>
			<textarea name="" id="" cols="30" rows="10" class="fill" placeholder="请填写评价内容….."></textarea>
			<view class="imgarr"><image src="../../static/add.png" mode="widthFix" class="imagItem"></image></view>
		</view>
		<view class="btnbox">
			<view class="submit">发表评价</view>
		</view>
		
		
	</view>
</template>

<script>
export default {
	data() {
		return {};
	},
	methods: {}
};
</script>

<style>
.item {
	padding: 32rpx;
	border-bottom: 16rpx solid #F7F7F7;
	box-sizing: border-box;
	background: #fff;
	margin-bottom: 16rpx;
	overflow: hidden;
}
.infobox {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.left {
	width: 140rpx;
}
.info {
	width: 530rpx;
}
.word {
	font-size: 30rpx;
	font-family: PingFangSC-Medium, PingFang SC;
	font-weight: 500;
	color: rgba(61, 69, 76, 1);
	line-height: 40rpx;
}
.score {
	margin-top: 22rpx;
	display: flex;
	align-items: center;
	font-size: 28rpx;
	font-family: PingFangSC-Regular, PingFang SC;
	font-weight: 400;
	color: rgba(61, 68, 76, 1);
}
.num {
	display: flex;
	align-items: center;
}
.star {
	width: 32rpx;
	margin-right: 24rpx;
}
.fill {
	width: 686rpx;
	height: 192rpx;
	padding: 24rpx;
	box-sizing: border-box;
	background: rgba(247, 247, 247, 1);
	border-radius: 16rpx;
	font-size: 28rpx;
	font-family: PingFangSC-Regular, PingFang SC;
	font-weight: 400;
	color: rgba(189, 196, 206, 1);
	line-height: 42rpx;
	margin-top: 66rpx;
}
.imgarr {
	padding: 32rpx 0;
	box-sizing: border-box;
}
.imagItem {
	width: 160rpx;
	margin-right: 16rpx;
}
.btnbox{
	padding: 14rpx 32rpx;
	box-sizing: border-box;
	background: #fff;
}
.submit{
	width:686rpx;
	height:88rpx;
	background:rgba(194,148,69,1);
	border-radius:16rpx;
	font-size:28rpx;
	font-family:PingFangSC-Medium,PingFang SC;
	font-weight:500;
	color:rgba(255,255,255,1);
	display: flex;
	align-items: center;
	justify-content: center;
}
	
	
</style>