| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 | <template>	<view class="browse">		<view class="left">			<view class="icon">				<uni-icons type="staff" size="32" color="#009FE8"></uni-icons>			</view>			<view class="text">浏览记录</view>		</view>		<view class="right" @click="go_browse()">			<view class="list" v-for="(item,index) in browse" :key="index">				<view class="item" v-if="item.img">					<image :src="item.img" mode=""></image>				</view>				<view v-if="!item.img" class="item" :style="{backgroundColor:bgColor[index]}">					{{item.name.split('').pop()}}				</view>			</view>			<view class="text">				更多记录			</view>			<view class="icon">				<uni-icons type="arrowright" size="22"></uni-icons>			</view>		</view>	</view></template><script>	export default {		props: [			"browse",			"bgColor",			"mine_code",			"pageId"		],		data() {			return {			};		},		methods: {			go_browse() {				uni.navigateTo({					url: "../../index/record/record-browse/record-browse?mine_code=" + this.mine_code + "&pageId=" +						this.pageId				})			}		}	}</script><style lang="scss">	.browse {		display: flex;		justify-content: space-between;		align-items: center;		height: 110rpx;		font-size: 32rpx;		.left {			height: 110rpx;			display: flex;			align-items: center;			.icon {				margin-right: 10rpx;			}		}		.right {			height: 110rpx;			display: flex;			align-items: center;			.list {				display: flex;				.item {					width: 70rpx;					height: 70rpx;					border-radius: 50%;					overflow: hidden;					text-align: center;					line-height: 70rpx;					font-size: 28rpx;					color: #fff;					margin-right: 10rpx;					image {						width: 30rpx;						height: 30rpx;					}				}			}		}	}</style>
 |