npm install
npm run serve
npm run build
npm run test
npm run lint
a vuejs supermall
License: MIT License
npm install
npm run serve
npm run build
npm run test
npm run lint
谢谢
老师您好,有点轮播图的问题想请教一下
<div class="swiper">
<slot></slot>
</div>
在html中会被加上transition和transform
<div data-v-bc58910a="" class="swiper" style="transform: translate3d(-415px, 0px, 0px); transition: all 0ms ease 0s;">
请问下这边的style是怎么加上的呢?
因为template中没有v-bind,而script中关于transform和transition的内容都被赋值给了data中的swiperStyle
变量,所以不太清楚最终怎么反应到了style上
老师您好,请问在开发轮播图的时候您的代码swipe组件中有两个同名具名插槽,这段代码没看懂为什么需要两个同名插槽,并且在后续的使用组件的过程中homeswiper好像并没有使用插槽?这里插槽的作用是什么呢?
老师你把这个完整的代码提交了呀
完整项目有吗?
打包之后,打开index之后,页面是空白的,我试着解决了一下,在vue.config.js里面添加一个publicPath: "./",如果是低版本的cli把publicPath: "./"改成baseUrl:"./"
但是解决完这个问题之后,页面打开主页和分类页面还有购物车和我的页面都可以显示了
但是点击主页商品详情之后,进来商品详情页面,轮播图图片不会显示,一直报轮播图图片的错误,说找不到图标地址。
目前我还没有找到方法
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.