You have a card deck of n cards, numbered from top to bottom, i. e. the top card has index 1and bottom card — index n. Each card has its color: the 𝑖 ...
分类:
其他好文 时间:
2021-04-15 12:03:00
阅读次数:
0
#####效果:div内部swiper滑动时,外部div背景图片随着变化 ######思路:获取swiper的索引,用:style定义背景图片 //template //外部背景图片 <div class="cont-box" :style="{backgroundImage: 'url(' + b ...
分类:
其他好文 时间:
2021-04-15 11:59:42
阅读次数:
0
Docker部署PostGres docker run -d --name postgres --restart always -e POSTGRES_USER='postgres' -e POSTGRES_PASSWORD='123456' -e ALLOW_IP_RANGE=0.0.0.0/0 ...
分类:
其他好文 时间:
2021-04-14 12:43:56
阅读次数:
0
一、伪类 1、: link{} (未访问链接的状态) 2、: hover{} (鼠标放上去的一个状态) 3、: active{} (鼠标点击上去的一个状态) 4、: visited{} (访问之后的一个链接状态) 注意:hover{} 用于所有标签,其它三个只用于 a 标签 二、定位 1、相对定位( ...
分类:
Web程序 时间:
2021-04-14 12:38:02
阅读次数:
0
1、在vue.config.js进行如下配置: iconPath:{ favicon32:'favicon.ico', favicon16:'favicon.ico', appleTouchIcon:'favicon.ico', maskIcon:'favicon.ico', msTilelmage ...
分类:
其他好文 时间:
2021-04-14 12:30:18
阅读次数:
0
一、代码展示 <template> ... <div class="loading-animation-box" > <img class="loading-animation" width="26" height="28" src="../../../static/images/balabla.p ...
分类:
Web程序 时间:
2021-04-14 12:20:55
阅读次数:
0
将数字转化为字符串 string tostring(int i) { stringstream ss; ss<<i; return ss.str(); } 字符串转化为数字 int str2num(string s) { int num; stirngstream ss(s); ss>>num; r ...
分类:
其他好文 时间:
2021-04-14 12:08:49
阅读次数:
0
text-transform属性控制文本的大小写。 值 描述 none 默认。定义带有小写字母和大写字母的标准的文本。 capitalize 文本中的每个单词以大写字母开头。 uppercase 定义仅有大写字母。 lowercase 定义无大写字母,仅有小写字母。 inherit 规定应该从父元素 ...
分类:
Web程序 时间:
2021-04-14 11:54:38
阅读次数:
0
在webpack.base.conf.js中的vue配置中加入ts解析 { test: /\.vue$/, loader: 'vue-loader', options: { loaders: { ts: [ { loader: 'ts-loader', options: { appendTsSuff ...
分类:
Web程序 时间:
2021-04-14 11:51:55
阅读次数:
0
>>> list_a=[1,2,3,4] >>> list_a [1, 2, 3, 4] >>> list_b=list_a >>> list_b [1, 2, 3, 4] >>> list_a.append(1) >>> list_a [1, 2, 3, 4, 1] >>> list_b [1, ...
分类:
编程语言 时间:
2021-04-13 12:54:07
阅读次数:
0