![]()
@@ -80,6 +80,11 @@ let next = () => {
carousel.value.next()
}
+//点击预览图
+let watchSet=(num)=>{
+ carousel.value.setActiveItem(num)
+}
+
watchEffect(()=>{
show=props.show
list.value= props.list
@@ -184,6 +189,7 @@ img {
border: 1px solid transparent;
border-radius: 8px;
margin-left: 5px;
+ cursor: pointer;
.img-s{
height:60px;
border-radius: 8px;
@@ -196,6 +202,7 @@ img {
border: 1px solid transparent;
margin-left: 5px;
border-radius: 8px;
+ cursor: pointer;
.icon-box {
width: 60px;