通过微信开发者工具 商城模板 创建新小程序
This commit is contained in:
39
mini-program/model/swiper.js
Normal file
39
mini-program/model/swiper.js
Normal file
@@ -0,0 +1,39 @@
|
||||
// const images = [
|
||||
// {
|
||||
// img: 'https://cdn-we-retail.ym.tencent.com/tsr/home/v2/banner1.png',
|
||||
// text: '1',
|
||||
// },
|
||||
// {
|
||||
// img: 'https://cdn-we-retail.ym.tencent.com/tsr/home/v2/banner2.png',
|
||||
// text: '2',
|
||||
// },
|
||||
// {
|
||||
// img: 'https://cdn-we-retail.ym.tencent.com/tsr/home/v2/banner3.png',
|
||||
// text: '3',
|
||||
// },
|
||||
// {
|
||||
// img: 'https://cdn-we-retail.ym.tencent.com/tsr/home/v2/banner4.png',
|
||||
// text: '4',
|
||||
// },
|
||||
// {
|
||||
// img: 'https://cdn-we-retail.ym.tencent.com/tsr/home/v2/banner5.png',
|
||||
// text: '5',
|
||||
// },
|
||||
// {
|
||||
// img: 'https://cdn-we-retail.ym.tencent.com/tsr/home/v2/banner6.png',
|
||||
// text: '6',
|
||||
// },
|
||||
// ];
|
||||
|
||||
const images = [
|
||||
'https://cdn-we-retail.ym.tencent.com/tsr/home/v2/banner1.png',
|
||||
'https://cdn-we-retail.ym.tencent.com/tsr/home/v2/banner2.png',
|
||||
'https://cdn-we-retail.ym.tencent.com/tsr/home/v2/banner3.png',
|
||||
'https://cdn-we-retail.ym.tencent.com/tsr/home/v2/banner4.png',
|
||||
'https://cdn-we-retail.ym.tencent.com/tsr/home/v2/banner5.png',
|
||||
'https://cdn-we-retail.ym.tencent.com/tsr/home/v2/banner6.png',
|
||||
];
|
||||
|
||||
export function genSwiperImageList() {
|
||||
return images;
|
||||
}
|
Reference in New Issue
Block a user