分享36个JS滚动,29个JS进度条,12个JS日历代码,总有一款适合您
36个JS滚动29个JS进度条12个JS日历代码下载链接:https://pan.baidu.com/s/1zvSK9EAPd4dnMRl7V4Cc1g?pwd=su9i
提取码:su9i
Python采集代码下载链接:采集代码.zip - 蓝奏云
Bootstrap百分比进度条动画特效
jQuery进度条插件circleChart.js
jQuery进度条插件彩色样式代码
js+css3圆形进度条计时器特效
Canvas百分比圆形进度条特效
吹风机样式Loading进度条
HTML5预期年化收益圆形进度条代码
Canvas收益率曲线进度条动画特效
jQuery+CSS3彩色进度条动画特效
js用户反馈表格步骤向导代码
HTML5 SVG流量测速仪动画特效
CSS3 3D滑块进度条拖动动画特效
HTML5 SVG卡通进度条代码
jQuery日期时间轴自动播放代码
jQuery小说阅读导航进度条特效
Canvas边框粒子加载动画特效
jQuery商城购物步骤流程代码
jQuery带节点步骤进度条插件
jQuery带进度条滚动图片轮播代码
基于VUE步骤进度条样式代码
def sprider(self,title_name): """ 采集 图片切换 https://sc.chinaz.com/tag_jiaoben/tupianqiehuan.html 返回顶部 https://sc.chinaz.com/tag_jiaoben/fanhuidingbu.html 动画效果 https://sc.chinaz.com/tag_jiaoben/donghuaxiaoguo.html 倒计时 https://sc.chinaz.com/tag_jiaoben/daojishi.html 弹出层 https://sc.chinaz.com/tag_jiaoben/danchuceng.html 在线客服 https://sc.chinaz.com/jiaoben/kefu.html 手风琴 https://sc.chinaz.com/tag_jiaoben/shoufengqin.html 表单脚本 https://sc.chinaz.com/tag_jiaoben/biaodan.html 文字特效 https://sc.chinaz.com/tag_jiaoben/wenzitexiao.html 滚动条 https://sc.chinaz.com/tag_jiaoben/gundongtiao.html 瀑布流 https://sc.chinaz.com/tag_jiaoben/pubuliu.html 时钟代码 https://sc.chinaz.com/tag_jiaoben/shizhong.html 表单验证 https://sc.chinaz.com/tag_jiaoben/biaodanyanzheng.html 抽奖转盘 https://sc.chinaz.com/tag_jiaoben/dazhuanpan.html 进度条 https://sc.chinaz.com/jiaoben/jindutiao.html 播放器 https://sc.chinaz.com/tag_jiaoben/bofangqi.html 图片放大 https://sc.chinaz.com/tag_jiaoben/tupianfangda.html 时间轴 https://sc.chinaz.com/tag_jiaoben/shijianzhou.html 选项卡 https://sc.chinaz.com/tag_jiaoben/xuanxiangka.html 进度条 https://sc.chinaz.com/jiaoben/jindutiao.html 滚动代码 https://sc.chinaz.com/tag_jiaoben/gundongdaima.html 日历代码 https://sc.chinaz.com/tag_jiaoben/rilidaima.html :return: """ if title_name == "图片切换": self.first_column_name = "tag_jiaoben" self.folder_name = "图片切换JS特效" self.second_column_name = "tupianqiehuan" elif title_name == "日历代码": self.first_column_name = "tag_jiaoben" self.folder_name = "JS日历代码" self.second_column_name = "rilidaima" elif title_name == "滚动代码": self.first_column_name = "tag_jiaoben" self.folder_name = "JS滚动代码" self.second_column_name = "gundongdaima" elif title_name == "进度条": self.first_column_name = "jiaoben" self.folder_name = "JS进度条" self.second_column_name = "jindutiao" elif title_name == "选项卡": self.first_column_name = "tag_jiaoben" self.folder_name = "JS选项卡" self.second_column_name = "xuanxiangka" elif title_name == "时间轴": self.first_column_name = "tag_jiaoben" self.folder_name = "JS时间轴特效" self.second_column_name = "shijianzhou" elif title_name == "图片放大": self.first_column_name = "tag_jiaoben" self.folder_name = "JS图片放大特效" self.second_column_name = "tupianfangda" elif title_name == "播放器": self.first_column_name = "tag_jiaoben" self.folder_name = "JS播放器脚本" self.second_column_name = "bofangqi" elif title_name == "进度条": self.first_column_name = "jiaoben" self.folder_name = "JS进度条" self.second_column_name = "jindutiao" elif title_name == "抽奖转盘": self.first_column_name = "tag_jiaoben" self.folder_name = "JS抽奖转盘特效" self.second_column_name = "dazhuanpan" elif title_name == "表单验证": self.first_column_name = "tag_jiaoben" self.folder_name = "JS表单验证" self.second_column_name = "biaodanyanzheng" elif title_name == "时钟代码": self.first_column_name = "tag_jiaoben" self.folder_name = "JS瀑时钟代码" self.second_column_name = "shizhong" elif title_name == "瀑布流": self.first_column_name = "tag_jiaoben" self.folder_name = "JS瀑布流特效" self.second_column_name = "pubuliu" elif title_name == "滚动条": self.first_column_name = "tag_jiaoben" self.folder_name = "JS滚动条特效" self.second_column_name = "gundongtiao" elif title_name == "文字特效": self.first_column_name = "tag_jiaoben" self.folder_name = "JS文字特效" self.second_column_name = "wenzitexiao" elif title_name == "表单脚本": self.first_column_name = "tag_jiaoben" self.folder_name = "JS表单脚本" self.second_column_name = "biaodan" elif title_name == "返回顶部": self.folder_name = "JS返回顶部特效" self.second_column_name = "fanhuidingbu" elif title_name == "动画效果": self.first_column_name = "tag_jiaoben" self.folder_name = "JS特效动画效果" self.second_column_name = "donghuaxiaoguo" elif title_name == "倒计时": self.first_column_name = "tag_jiaoben" self.folder_name = "JS特效倒计时" self.second_column_name = "daojishi" elif title_name == "弹出层": self.first_column_name = "tag_jiaoben" self.folder_name = "JS特效弹出层" self.second_column_name = "danchuceng" elif title_name == "在线客服": self.first_column_name = "jiaoben" # 一级目录 self.folder_name = "JS特效在线客服" self.second_column_name = "kefu" elif title_name == "手风琴": self.first_column_name = "tag_jiaoben" self.folder_name = "JS特效手风琴" self.second_column_name = "shoufengqin" BaseFrame().right("本次采集参数:sprider_count=" + str(self.sprider_count) + "") BaseFrame().right("本次采集参数:title_name="+title_name+"") BaseFrame().right("本次采集参数:second_column_name=" + self.second_column_name + "") # self.folder_name = "JS表单验证" self.sprider_category = title_name # 一级目录self.folder_name second_folder_name = str(self.sprider_count) + "个" + self.folder_name #二级目录 self.sprider_type =second_folder_name self.merchant=int(self.sprider_start_count) //int(self.max_pager)+1 #起始页码用于效率采集 #原始路径+一级目录+二级目录 self.file_path = self.save_path + os.sep + "JS" + os.sep + self.folder_name + os.sep + second_folder_name self.save_path = self.save_path+ os.sep + "JS" + os.sep+self.folder_name +os.sep + second_folder_name+ os.sep + self.folder_name BaseFrame().debug("开始采集ChinaZJS"+self.folder_name+"源码...") sprider_url = (self.base_url + "/{1}/{0}.html".format(self.second_column_name,self.first_column_name)) down_path="D:\\Freedom\\Sprider\\ChinaZ\\JS\\"+self.folder_name +"\\"+second_folder_name+"\\Temp\\" if os.path.exists(down_path) is True: shutil.rmtree(down_path) if os.path.exists(down_path) is False: os.makedirs(down_path) if os.path.exists(self.save_path ) is True: shutil.rmtree(self.save_path ) if os.path.exists(self.save_path ) is False: os.makedirs(self.save_path ) chrome_options = webdriver.ChromeOptions() diy_prefs ={'profile.default_content_settings.popups': 0, 'download.default_directory':'{0}'.format(down_path)} # 添加路径到selenium配置中 chrome_options.add_experimental_option('prefs', diy_prefs) chrome_options.add_argument('--headless') #隐藏浏览器 # 实例化chrome浏览器时,关联忽略证书错误 driver = webdriver.Chrome(options=chrome_options) driver.set_window_size(1280, 800) # 分辨率 1280*800 # driver.get方法将定位在给定的URL的网页,get接受url可以是任何网址,此处以百度为例 driver.get(sprider_url) # content = driver.page_source element_list = driver.find_elements(By.CLASS_NAME, "picblock") # 列表页面 核心内容 #element_list = div_elem.find_elements(By.CLASS_NAME, 'item') #print(element_list.get_attribute('innerHTML')) laster_pager_div = driver.find_element(By.CLASS_NAME, "fenye") laster_pager_a =laster_pager_div.find_elements(By.TAG_NAME, 'a') laster_pager_url = laster_pager_a[len(laster_pager_a) - 2] page_end_number = int(laster_pager_url.text) self.page_count=self.merchant while self.page_count <= int(page_end_number): # 翻完停止 try: if self.page_count == 1: self.sprider_detail(driver,element_list,self.page_count,page_end_number,down_path) pass else: if self.haved_sprider_count == self.sprider_count: BaseFrame().debug("采集到达数量采集停止...") BaseFrame().debug("开始写文章...") self.builder_word(self.folder_name, self.word_content_list) BaseFrame().debug("文件编写完毕,请到对应的磁盘查看word文件和下载文件!") break #(self.base_url + "/sort/{0}/{1}/".format(url_index, self.page_count)) #http://soft.onlinedown.net/sort/177/2/ #https://sc.chinaz.com/tag_jiaoben/tupianqiehuan_2.html next_url = self.base_url + "/tag_jiaoben/{0}_{1}.html".format(self.second_column_name, self.page_count) driver.get(next_url) element_list = driver.find_elements(By.CLASS_NAME, "picblock") # 列表页面 核心内容 self.sprider_detail( driver, element_list, self.page_count, page_end_number, down_path) pass #print(self.page_count) self.page_count = self.page_count + 1 # 页码增加1 except Exception as e: print("sprider()执行过程出现错误:" + str(e)) sleep(1)
jQuery会员等级消费进度条代码
jQuery带播放进度条水平时间轴
jQuery步骤进度条样式代码
HTML5网速测试进度条代码
CSS3 SVG圆形进度条动画特效
HTML5多款圆形进度条倒计时插件
Bootstrap百分比进度条动画特效
jQuery动态百分比进度加载代码
jQuery进度条插件circleChart.js
swiper新闻内容图片滚动代码
jQuery弹幕文字滚动代码
jQuery排名文字滚动代码
jQuery限时抢购图文滚动代码
jQuery图文消息列表滚动代码
jQuery自适应三屏滚动代码
jQuery城市电梯锚点导航代码
jQuery单排卡片左右滚动代码
jQuery导航图片全屏滚动代码
jQuery卷轴式数字滚动代码
jQuery按钮控制时间轴滚动代码
jQuery新闻公告文字自动滚动代码
jQuery打开页面数字数值滚动代码
jQuery购物商城图片滚动代码
jQuery多图自适应图片滚动代码
jQuery右侧悬浮楼层滚动代码
jQuery表格顶部右侧固定滚动代码
jQuery两边固定中间滚动代码
jQuery按钮控制图片左右滚动代码
jQuery带按钮向上滚动向下滚动代码
jQuery点击锚点链接屏幕滚动代码
JS鼠标滚轮水平滚动特效
jQuery新闻循环滚动代码
jQuery鼠标滚轮控制页面滑动代码
jQ+CSS3页面滚动内容元素动画特效
def builder_filter_file(self,files): """ :param files: :return: """ for file in files: if len(self.filter_down_file)==0: self.filter_down_file.append(str(file)) for filter_file in self.filter_down_file: if str(file) in str(filter_file): BaseFrame().error(filter_file + "文件存在...") pass else: self.filter_down_file.append(str(file)) def builder_word(self, word_title, list_files): """ 输出产物是word文件 :param word_title: 文件的标题 :param save_path: 文件的保存路径 :param list_files: 文件集合(单个内容) :return: """ try: file_count = len(list_files) random_full_file_name = SpriderTools.get_word_image("js",12) document = Document() #document.add_heading(""+word_title+"", level=2) document.add_paragraph("分享"+str(file_count)+"个"+word_title+",总有一款适合您\r\n") document.add_paragraph(""+str(file_count)+"个"+word_title+"下载") document.add_paragraph("Python采集代码下载链接:https://wwgn.lanzoul.com/iKGwb0kye3wj") #Python采集代码下载链接:采集代码.zipt - 蓝奏云 document.add_picture(random_full_file_name, width=Inches(3)) ppt_tieles = "" for files in list_files: ppt_tieles = ppt_tieles + str(files[0]) + "\r" document.add_paragraph(ppt_tieles) # for files in list_files: # try: # document.add_paragraph(files[0]) # document.add_picture(files[1], width=Inches(3)) # except Exception as e: # pass random_full_file_name1 = SpriderTools.get_word_image("js", 12) document.add_picture(random_full_file_name1, width=Inches(3)) document.add_paragraph("最后送大家一首诗:") paragraph = document.add_paragraph() # 单独控制 paragraph.add_run("山高路远坑深,\r") paragraph.add_run("大军纵横驰奔,\r") paragraph.add_run("谁敢横刀立马?\r") paragraph.add_run("惟有点赞加关注大军。\r") paragraph.bold = True # 字体加粗 file_full_path=self.file_path+os.sep+word_title+".docx" document.save(file_full_path) print("Create Word:" + word_title) self.gen_passandtxt(file_count, word_title, list_files) self.copy_file(file_count, self.save_path, word_title) except Exception as e: print("Create Word Fail reason:" + str(e)) def copy_file(self,file_count,target_path,word_title): try: print("copy files ") import os import shutil from docx import Document from docx.shared import RGBColor, Inches from docx.enum.table import WD_TABLE_ALIGNMENT from docx.oxml.ns import qn src_apk_file_path="亚丁号自动阅读_v0.0.53.apk" dst_apk_file_path=self.file_path+os.sep+"亚丁号自动阅读_v0.0.53.apk" shutil.copyfile(src_apk_file_path, dst_apk_file_path) # 移动文件 src_pdf_file_path = "薅羊毛专业版.pdf" dst_pdf_file_path = target_path + os.sep + "薅羊毛专业版.pdf" #shutil.copyfile(src_pdf_file_path, dst_pdf_file_path) # 移动文件 src_pdf_file_path = "亚丁号.url" dst_pdf_file_path = self.file_path + os.sep + "亚丁号.url" shutil.copyfile(src_pdf_file_path, dst_pdf_file_path) # 移动文件 # src_doc_file_path = "readme.docx" # dst_doc_file_path = self.file_path + os.sep + "readme.docx" # shutil.copyfile(src_doc_file_path, dst_doc_file_path) # 移动文件 #document.add_paragraph("分享" + str(file_count) + "个" + word_title + ",总有一款适合您\r\n""下面是文件的名字,我放了一些图片,文章里不是所有的图主要是放不下...,") font_name = "楷体" document = Document() paragraph_title = document.add_paragraph() # 单独控制 word_title = paragraph_title.add_run("分享" + str(file_count) + "个" + word_title + ",总有一款适合您\r\n") word_title.font.name = font_name # 注:如果想要设置中文字体,需在前面加上这一句 word_title.font.element.rPr.rFonts.set(qn('w:eastAsia'), font_name) word_title.font.color.rgb = RGBColor(2, 2, 250) word_title.bold = True # 字体加粗 paragraph_title.alignment = WD_TABLE_ALIGNMENT.CENTER # 文字居中 paragraph = document.add_paragraph() # 单独控制 word_content1 = paragraph.add_run("都到这里了您就支持一下呗!谢谢老铁~~\n") word_content1.font.name = font_name # 注:如果想要设置中文字体,需在前面加上这一句 word_content1.font.element.rPr.rFonts.set(qn('w:eastAsia'), font_name) word_content2 = paragraph.add_run("烦请到此链接获取压缩包解压密码:\r") word_content2.font.name = font_name # 注:如果想要设置中文字体,需在前面加上这一句 word_content2.font.element.rPr.rFonts.set(qn('w:eastAsia'), font_name) word_content2.font.color.rgb = RGBColor(255, 0, 0) word_content3 = paragraph.add_run("今日美图推荐") word_content3.font.name = font_name # 注:如果想要设置中文字体,需在前面加上这一句 word_content3.font.element.rPr.rFonts.set(qn('w:eastAsia'), font_name) random_full_file_name1 = SpriderTools.get_word_image("MT", 25,"jpg") document.add_picture(random_full_file_name1, width=Inches(5)) paragraph = document.add_paragraph() # 单独控制 word_content6 = paragraph.add_run("烦请到此链接获取压缩包解压密码:") word_content6.font.name = font_name # 注:如果想要设置中文字体,需在前面加上这一句 word_content6.font.element.rPr.rFonts.set(qn('w:eastAsia'), font_name) word_content6.font.color.rgb = RGBColor(255, 0, 0) paragraph = document.add_paragraph() # 单独控制 word_content4 = paragraph.add_run("最后送大家一首自编的打油诗:") word_content4.font.name = font_name # 注:如果想要设置中文字体,需在前面加上这一句 word_content4.font.element.rPr.rFonts.set(qn('w:eastAsia'), font_name) paragraph = document.add_paragraph() # 单独控制 word_content5 = paragraph.add_run("学习知识费力气,\r收集整理更不易。\r知识付费甚欢喜,\r为咱码农谋福利。\r") word_content5.font.name = font_name # 注:如果想要设置中文字体,需在前面加上这一句 word_content5.font.element.rPr.rFonts.set(qn('w:eastAsia'), font_name) paragraph.alignment = WD_TABLE_ALIGNMENT.CENTER # 文字居中 dst_doc_file_path = self.file_path + os.sep + "获取压缩包解压密码.docx" document.save(dst_doc_file_path) # 保存文件 except Exception as e: print("copy files Fail reason:" + str(e)) pass def gen_passandtxt(self,file_count,word_title, list_files): print("Create Pass") message=SpriderTools.gen_password() rar_pass = "".join(message) content="" content = content + "分享"+str(file_count)+"个"+word_title+",总有一款适合您\n" content=content+"都到这里了您就支持一下呗!谢谢老铁~~\n" for files in list_files: content = content+str(files[0])+ "\n" content=content+"\n文件我就不一一列举了,送老铁一首打油诗" content=content+"\n学习知识费力气," content=content+"\n收集整理更不易。" content=content+"\n知识付费甚欢喜," content=content+"\n为咱码农谋福利。" content=content+"\n\r" content=content+"\n\r" content=content+"\n感谢您的支持" content=content+"\n\r" content=content+"\n-------------------------------------------华丽分割线-------------------------------------------------------" content=content+"\n友情提醒解压密码:"+rar_pass+"" full_path=self.file_path+os.sep+""+str(file_count)+"sell_pass.txt" with open(full_path, 'a', encoding='utf-8') as f: f.write(content)
jQuery文字逐行向上滚动代码
jquery上下左右图片无缝滚动代码
jquery网站滚动条整屏滑动切换
jquery scroll图片全屏滚动
jQuery局部滚动切换代码
js实现tab内嵌图片滚动代码
皮皮时光机全屏滚动jquery特效
js单排图片自动滚动效果代码
JQuery带箭头图片左右滚动
jquery网页背景视差滚动代码
jQuery仿新浪微博高度自适应滚动代码
jQuery点击Input框弹出日历代码
js员工工作日历考勤表代码
jQuery带节假日移动端日历代码
酒店入住离店js日历代码
HTML5手机端万年历下载
jQuery带签到功能日历代码
jQuery带本地时间日历代码
jQuery UI自定义样式日历代码
jQuery带节假日农历日历代码
js layDate日历控件代码
jQuery酒店预订日历代码
多款不同样式jQuery日历插件
import os def void_file(dirPath): dirs = os.listdir(dirPath) # 查找该层文件夹下所有的文件及文件夹,返回列表 for file in dirs: file_full_name = dirPath + '/' + file file_ext = os.path.splitext(file_full_name)[-1] if file_ext is None or file_ext=="": continue if "rar" == str(file_ext.split(".")[1]): os.remove(file_full_name) if "zipt" == str(file_ext.split(".")[1]): os.remove(file_full_name) if "gz" == str(file_ext.split(".")[1]): os.remove(file_full_name) if "tgz" == str(file_ext.split(".")[1]): os.remove(file_full_name) # 查找指定文件夹下所有相同名称的文件 def search_file(dirPath, fileName): dirs = os.listdir(dirPath) # 查找该层文件夹下所有的文件及文件夹,返回列表 for currentFile in dirs: # 遍历列表 absPath = dirPath + '/' + currentFile if os.path.isdir(absPath): # 如果是目录则递归,继续查找该目录下的文件 search_file(absPath, fileName) elif currentFile == fileName: print(absPath) # 文件存在,则打印该文件的绝对路径 os.remove(absPath)
最后送大家一首诗:
山高路远坑深,
大军纵横驰奔,
谁敢横刀立马?
惟有点赞加关注大军。