ICode9

精准搜索请尝试: 精确搜索
  • 使用BetterScroll / better-scroll实现双联互动 / 左右两侧关联滑动2022-09-15 14:03:25

    左侧 <ul class="l-item"> <li :class="item.id == currentIndex ? 'active' : ''" v-for="item in leftData" :key="item.id" @click=&q

  • react+tsx中使用better-scroll2022-09-09 15:01:44

    首先,你要知道为什么可以滚动,原理很简单,父容器的高度比子元素的小即可。 在这之前,我们先来看一下浏览器的滚动原理: 浏览器的滚动条大家都会遇到,当页面内容的高度超过视口高度的时候,会出现纵向滚动条;当页面内容的宽度超过视口宽度的时候,会出现横向滚动条。也就是当我们的视口展示不

  • Soon is not as good as now2022-09-03 09:34:34

    Where you stumble and fall, there you will find gold. 你在哪里跌倒,就会在哪里找到金子。 Some people could look at a mud puddle and see an ocean with ships. 有人眼望着泥塘,缺可以看到千帆竞发的海洋。 Life's great happiness is to be convinced we are loved. 人生最

  • better-scroll在终端触屏上滑动失效(vue)2022-08-23 11:02:55

    this.$nextTick(() => { this.scroll = new BScroll(this.$refs.scroll, { scrollX: true, click: true, disableMouse: false,//启用鼠标拖动 disableTouch: false//启用手指触摸 }) }) disableTouch: false//启用手指触摸加上这句,即使在大屏触摸屏下也不会被误判为PC端而没有

  • The Zen of Python, by Tim Peters2022-06-26 10:00:38

    Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is better than nested. Sparse is better than dense. Readability counts. Special cases aren't special enough to br

  • Django模板(请用Django2.0版本完成)2022-05-21 13:01:43

    1. 在learn目录下新建一个templates文件夹,里面新建一个home.html (1) 很简单的,就直接右键learn,新建文件夹,完成后,继续右键templates,创建文档,后缀名为html就好。             (2)在home.html中写内容 <!DOCTYPE html> <html> <head>     <title>欢迎光临</title> </head> <

  • You'd better know where you're going2022-04-19 07:33:11

    现在回过头再来看大学的专业课比如数据结构等我还是有非常强的钻研热情。以前曾寄希望于借助考研备考的机会好好学习这几门专业课但最后希望变成了失望,考试和真正意义上的学习完全是两码子事,后面考研失败在家人的建议下出来工作发现了一片新天地,原来工作反而能够帮助我更好的学习

  • 实验二2022-04-13 11:32:55

    task1.py 1 x = list(range(10)) 2 print('整数输出1: ', end = '') 3 for i in x: 4 print(i, end=' ') 5 6 print('\n整数输出2: ', end = '') 7 for i in x: 8 print(f'{i:02d}', end = '-

  • 实验二2022-04-13 11:00:19

      x = list(range(10)) print('整数输出1: ', end = '') for i in x: print(i, end=' ') print('\n整数输出2: ', end = '') for i in x: print(f'{i:02d}', end = '-') # 指定每个整数输出宽度占两列,不足两列,左边补0 print(�

  • 实验22022-04-13 10:03:15

    实验任务1 x=list(range(10)) print('整数输出1:',end='') for i in x: print(i,end=' ') print('\n整数输出2:',end='') for i in x: print(f'{i:02d}',end='-') print('\n整数输出3:',end=&

  • 实验22022-04-12 22:32:09

    task1.py x = list(range(10)) print('整数输出1: ', end = '') for i in x: print(i, end=' ') print('\n整数输出2: ', end = '') for i in x: print(f'{i:02d}', end = '-') print('\n

  • 实验2 字符串和列表2022-04-12 21:31:51

    task1 x = list(range(10)) print('整数输出1: ', end = '') for i in x: print(i, end=' ') print('\n整数输出2: ', end = '') for i in x: print(f'{i:02d}', end = '-') print('\n整数输出3:

  • 实验22022-04-12 18:00:06

    1. x=list(range(10)) print('整数输出1:',end='') for i in x: print(i,end='') print('\n整数输出2:',end='') for i in x: print(f'{i:02d}',end='-') print('\n整数输出3:', end=

  • 实验22022-04-12 13:00:52

    x = list(range(10)) print('整数输出1: ',end='') for i in x: print(i,end='') print('\n整数输出2: ',end='') for i in x: print(f'{i:02d}',end='-') print('\n整数输出3: ',end='&

  • 实验22022-04-11 23:00:06

    task1.pyx = list(range(10)) print('整数输出1: ', end='') for i in x: print(i, end=' ') print('\n整数输出2: ', end='') for i in x: print(f'{i:02d}', end='-') print('\n整数输出3: '

  • 实验2 字符串和列表2022-04-11 22:01:27

    x = list(range(10)) print('整数输出1:',end = '') for i in x: print(i,end = '') print('\n整数输出2:',end = '') for i in x: print(f'{i:02d}',end = '-') print('\n整数输出3:',end

  • 实验22022-04-11 20:32:14

    x = list(range(10)) print('整数输出1: ',end = '') for i in x: print(i,end = ' ') print('\n整数输出2: ',end = '') for i in x: print(f'{i:02d}', end = '-') print('\n整数输出3: '

  • 实验22022-04-11 19:33:35

    TASK1 x = list(range(10)) print('整数输出1: ', end = '') for i in x: print(i, end=' ') print('\n整数输出2: ', end = '') for i in x: print(f'{i:02d}', end = '-') print('\n整数输出3:

  • 实验二2022-04-11 19:03:01

    1 x=list(range(10)) 2 print('整数输入1:',end='') 3 for i in x: 4 print(i,end=' ') 5 6 print('\n整数输出2: ', end = '') 7 for i in x: 8 print(f'{i:02d}',end='-') 9 10 print(&

  • 实验二2022-04-11 16:32:56

    task1 1 x=list(range(10)) 2 print('整数输出1: ',end='') 3 for i in x: 4 print(i,end='') 5 print('\n整数输出2: ',end='') 6 for i in x: 7 print(f'{i:02d}',end='-') 8 print('

  • 实验2 字符串和列表2022-04-11 13:32:31

    1 # 基础操作练习: 列表及列表推导式、格式化、类型转换 2 x = list(range(10)) 3 print('整数输出1: ', end = '') 4 for i in x: 5 print(i, end=' ') 6 7 print('\n整数输出2: ', end = '') 8 for i in x: 9 print(f'{i:02d}&#

  • 第4章 4.3 读取文件2022-04-11 13:02:09

    一、读取文件,并通过筛选后打印出来: (.venv) (base) metal@metal-Lenovo-Product:~/project/PAutomationCookbook/ch04$ cat zen_of_python.txt The Zen of Python, by Tim Peters Beautiful is better than ugly.Explicit is better than implicit.Simple is better than complex.

  • 实验22022-04-11 01:32:19

    task1 1 x=list(range(10)) 2 3 print('整数输出1:',end='') 4 for i in x: 5 print(i,end=' ') 6 7 print('\n整数输出2:',end='') 8 for i in x: 9 print(f'{i:02d}',end='-') 10 11

  • 实验2字符串和列表2022-04-10 12:03:25

    for i in x: print(f'{i:02d}', end = '-') print('\n整数输出3: ', end = '') for i in x[:-1]: print(f'{i:02d}', end = '-') print(f'{x[-1]:02d}') print('\n字符输出1: ', end =

  • 实验二 字符串和列表2022-04-09 09:31:06

    task1 x = list(range(10)) print('整数输出1: ', end = '') for i in x: print(i, end=' ') print('\n整数输出2: ', end = '') for i in x: print(f'{i:02d}', end = '-') print('\n整数输出3:

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有