<!--手机号输入框--><div class="login_box"> <input type="number" placeholder="请输入手机号" class="phoneInput" v-model="mobile"/> <span v-if="codeShow" style="colo ...
分类:
移动开发 时间:
2021-04-21 12:53:24
阅读次数:
0
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi ...
分类:
Web程序 时间:
2021-04-21 12:52:39
阅读次数:
0
# 安装依赖 yum -y install gcc zlib zlib-devel pcre-devel openssl openssl-devel # 解压缩 tar -zxvf linux-nginx-1.12.2.tar.gz cd nginx-1.12.2/ # 执行配置 ./configu ...
分类:
其他好文 时间:
2021-04-21 12:51:27
阅读次数:
0
1.给对象添加一个key值 成功的 <template> <div> <p>{{userInfo.name}}</p> <p>{{userInfo.sex ? userInfo.sex : ''}}</p> <button @click="updateName">修改userInfo</button ...
分类:
其他好文 时间:
2021-04-21 12:42:46
阅读次数:
0
最近 Vue 项目中用到的触摸滑动插件 Swiper,执行 npm install swiper vue-awesome-swiper --save 安装 Swiper 后,在 main.js 中进行引入, import VueAwesomeSwiper from 'vue-awesome-swip ...
分类:
Web程序 时间:
2021-04-21 12:36:01
阅读次数:
0
接着自定义组件,这里是我自定义的一个modal对话框组件。 效果如下图所示: Modal.vue <template> <div class="modal-backdrop" v-if="modalShow"> <div class="modal" > <div class="modal-heade ...
分类:
其他好文 时间:
2021-04-21 12:33:42
阅读次数:
0
Main: public class Main { public static void main(String[] args) { Prizes<String> prizes = new Prizes<>(); prizes.addPrizes("一等奖: 荣耀40S手机 一部"); prizes ...
分类:
编程语言 时间:
2021-04-21 12:33:09
阅读次数:
0
1. 中文 /^[\u4e00-\u9fa5]{2,4}$/ 2. 手机号 /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/ 3. 电子邮箱 /^\w+([-+.]\w+)*@\w+([-.] ...
分类:
其他好文 时间:
2021-04-21 11:53:26
阅读次数:
0
#不要加空格 time1=$(date) echo $time1 > /tmp/output.txt ...
分类:
系统相关 时间:
2021-04-21 11:49:37
阅读次数:
0
输出小于输入值的所有正偶数。 1、while语句 #include <stdio.h> int main(void) { int i = 2, j; puts("please input an integer."); printf("j = "); scanf("%d", &j); while ( ...
分类:
编程语言 时间:
2021-04-20 15:40:50
阅读次数:
0