自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(14)
  • 收藏
  • 关注

原创 不规则数组对象循环

js 处理不规则数组对象。

2023-06-14 19:56:56 79

原创 多选,单选

多选。单选。选中状态

2022-11-20 21:22:22 146

原创 uniapp tabbar带参跳转

uniapp tabbar带参跳转

2022-10-09 12:48:34 566

原创 Element ui上传图片

根据官方文档Element - The world's most popular Vue UI framework<el-upload :action="uploadActionUrl" list-type="picture-card" :on-change="handleEditChange" :on-preview="handlePictureCardPreview" :on-remove="handleRemove" :on-success="handSuccess...

2021-11-23 09:58:47 154

转载 监听input @input

//input 两位小数//input 保持两位小数//input 两位小数//input 保持两位小数<input type="number" @input="inputChange" v-model=" xxx">inputChange(e) { var that = this e.target.value = (e.target.value.match(/^\d*(\.?\d{0,2})/g)[0]) || null this.$nextTick(() =>

2021-11-23 09:45:06 254

原创 组件传方法

父组件定义方法a组件 ref='aaa'b组件 @bbb='bbb'父组件methods:{bbb () { console.log( this.aaa )} }b组件 methods :xxxx () {this.$emit ( 'bbb' , this.xxxx)} a组件 方法定义传的...

2021-10-25 11:28:45 76

转载 vue Element ui 验证码倒计时

转载vue Element ui 实现倒计时_Song_Estelle的博客-CSDN博客_elementui倒计时vue Element ui 实现倒计时view部分按钮<div class="verify_timer" @click="sendMsg" :disabled="canClick">{{ verifyCode }}</div>scriptsendMsg() { if (this.canClick) return

2021-10-18 10:31:23 903

转载 uniapp 组件传参

A页面第一步:引入子组件;import nsGoodsSku from '@/components/ns-goods-sku/ns-goods-sku.vue';第二步:在components中对子组件进行注册; components: { nsGoodsSku, },第三步:以标签的形式载入;通过数据绑定的形式进行传值<ns-goods-sku :chuancan="chuancan"></ns-goods-sku> data()...

2021-09-14 11:22:46 1183

转载 for循环和foreach区别

foreach和for循环的区别 - 精品唯居 - 博客园 for循环 for循环,通过下标,对循环中的代码反复执行,功能强大,可以通过index取得元素。在处理比较复杂的处理的时候较为方便。 foreach循环 foreach,从头到尾,对于集合中的对象遍历。适用于简单的遍历。foreach使用的时候,会锁定集合的对象,期间不能进行修改。 使用的选择 foreach相对于for循环,代码...

2021-09-13 10:52:35 687

转载 uniapp滚动分页

抄的<template> <view> <view v-for="(item,index) in list" :key="index"></view> <view class="loadingText">{{loadingText}}</view> </view></template><script> export default { data() { return

2021-09-11 16:26:21 1271

原创 uniapp倒计时

uni-countdown 倒计时 - DCloud 插件市场 倒计时<uni-count-down :day="currentTime.d" :hour="currentTime.h" :minute="currentTime.i" :second="currentTime.s" color="#FA5B14" splitorColor="#FF4644"/>data(){ return{ Cou.

2021-09-11 15:43:30 541

原创 JQ倒计时

<script type="text/javascript" src="https://oss.eventnet.cn/H5/public/jquery-3.5.1.min.js"></script><div> <p class="times_a"> <span id="showday"></span><span id="showhour">00</span>时<span id.

2021-09-11 15:21:24 86

原创 日期-时间

<text>{{ time (时间戳 ,"YY-MM-DD") }}</text> //2021-09-11<text>{{ time (时间戳) }}</text> //2021-09-11 15:12:15// 去除时间 "YY-DD-MM"time(timeStamp, type = "") { if (timeStamp != undefined && timeStamp != "" && t...

2021-09-11 15:16:41 63

原创 uniapp 弹出层

https://ext.dcloud.net.cn/plugin?id=329 弹出层 uniapp<view @click="open()">点击调用弹出层</view><uni-popup ref="addresPopup" type="center" :mask-click="false"> <view class="addresPopup-title"> <view class="addresPopup-tip.

2021-09-11 14:53:23 633

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除