<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi ...
                            
                            
                                分类:
其他好文   时间:
2021-04-01 13:23:28   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    HTML: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" conte ...
                            
                            
                                分类:
其他好文   时间:
2021-03-29 12:53:35   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    需求 实现React轮播图 使用库 swiper官网 https://swiperjs.com/react 实现方法 /** 组件:图片轮播*/ import React, { Component } from "react"; import SwiperCore, { Navigation, Pa ...
                            
                            
                                分类:
其他好文   时间:
2021-03-29 11:45:53   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    一首页热点数据放到缓存(不经常修改的数据) 1.轮播图 2.热门课程 3.名师 代码实现 1.导入依赖 <!-- redis --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-st ...
                            
                            
                                分类:
其他好文   时间:
2021-03-12 12:15:40   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                可修改性: 刺激源:程序员 刺激:修改主题、轮播图、活动等等 制品:淘宝主界面活动展示等。 环境:淘宝正常运行 响应:程序员修改对应的程序,不影响其他部分 响应度量:程序员后台更新,用户登录即可使用 性能: 刺激源:淘宝用户 刺激:购买商品 制品:生成订单 环境:淘宝正常运行 响应:生成订单,提示用 ...
                            
                            
                                分类:
其他好文   时间:
2021-03-11 20:53:24   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    var index=1; left.onclick=function () { index++ if (index>3) { index=0 } one.style.left=-index*800+"px" } right.onclick=function () { index-- if (inde ...
                            
                            
                                分类:
其他好文   时间:
2021-03-08 13:34:42   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    轮播图 <!DOCTYPE html> <html lang="ch-zn"> <head> <meta charset="UTF-8"> <link rel="" href=""> <meta name="viewport" content="width=device-width, initial ...
                            
                            
                                分类:
其他好文   时间:
2021-03-01 13:31:47   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    <!-- 导航组件 navigator 0 块级元素 默认会换行 可以直接加宽度和高度 1 url 要跳转的页面路径 绝对路径 相对路径 2 target 要跳转到当前的小程序 还是其他的小程序的页面 self 默认值 自己 小程序的页面 miniProgram 其他的小程序的页面 3 open-t ...
                            
                            
                                分类:
其他好文   时间:
2021-01-19 11:47:53   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    swiper:https://www.swiper.com.cn/usage/index.html 安装swiper cnpm i -S swiper 在功能组件中定义Swiper组件并设置好插槽 <template> <div class="swiper-container"> <div clas ...
                            
                            
                                分类:
其他好文   时间:
2021-01-13 11:31:56   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    ScrollView组件常用于轮播图或引导页,那么水平滚动则比较常用 自定义水平的CKScrollView.js组件类 1 import React,{Component} from 'react'; 2 import { 3 View, 4 Text, 5 StyleSheet, 6 Scroll ...
                            
                            
                                分类:
其他好文   时间:
2021-01-12 11:05:38   
                                阅读次数:
0