效果预览:
所需素材:满星 和 未满星各一张
因为考虑到复用问题,所以将其写成组件,子组件代码如下
<template>
<ul>
<li v-for="(item, index) in starArr" :key=&#
效果预览:
所需素材:满星 和 未满星各一张
因为考虑到复用问题,所以将其写成组件,子组件代码如下
<template>
<ul>
<li v-for="(item, index) in starArr" :key=&#