代码修正

This commit is contained in:
catchonme 2019-05-16 16:54:36 +08:00
parent a03b6c737d
commit 9e2f080943
3 changed files with 1 additions and 11 deletions

View File

@ -23,7 +23,7 @@ module.exports = function(req, res) {
list: repeat(() => ({
title: '{{name.title}}',
description: '{{lorem.words}}'
}), Math.round(Math.random() * 3)),
}), Math.round(Math.random() * 10)),
carousel: [
{
image: 'https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3893101144,2877209892&fm=23&gp=0.jpg'

View File

@ -75,15 +75,6 @@ export const pauseIcon = (
/>
</svg>
);
export const dotIcon = (
<svg className="icon" viewBox="0 0 1024 1024" version="1.1">
<path
d="M512.006827 3.413333C792.855893 3.413333 1020.586667 231.10656 1020.586667 511.993173 1020.586667 792.8832 792.855893 1020.586667 512.006827 1020.586667S3.413333 792.85248 3.413333 511.993173 231.120213 3.413333 512.006827 3.413333z"
p-id="4070"
fill="#ffffff"
/>
</svg>
);
export const leftArrowIcon = (
<svg className="icon" viewBox="0 0 1024 1024" version="1.1">
<path

View File

@ -159,7 +159,6 @@ export class Carousel extends React.Component<CarouselProps, CarouselState> {
<div
className={cx('Carousel-dotsControl')}
onMouseEnter={this.handleMouseEnter}
onMouseMove={this.handleMouseEnter}
onMouseLeave={this.handleMouseLeave}
>
{Array.from({length: options.length}).map((_, i) =>