自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 uniapp引入iconfont图标踩过的坑

在iconfont下载图标后引入到项目,这里要注意的是路径上要加上https: 不然无法显示 参考: https://www.cnblogs.com/ghc520/p/12006389.html 刚开始用的是unicode方式,然后发现这样写无效,他会直接输出字符而不是图标 <view class="iconfont">{{icon}}</view> export default { data() { return { icon:'&#xe654;',}

2021-07-14 13:58:52 768

原创 uni-app 页面间传参

//1. //传值 recharge(index){ uni.navigateTo({ url: '../cust/addInsideManage?list='+ encodeURIComponent(JSON.stringify(this.carList[index])) }) }, //取值 onLoad(options){ var data = JSON.parse(options.list); // 字符串转对象 } //2.缓存 //存 (1)参数名(2)参数值 uni.setSt

2021-06-30 11:59:41 773

原创 uni-app上拉加载事件

import uniLoadMore from "@/components/uni-load-more/uni-load-more.vue" export default { components: { uniLoadMore, }, data() { return { status: 'more', currentPage:1, totalPages :0, statusTypes: [{ value: 'more', te

2021-06-30 11:51:10 1173

原创 uni-app调用上一个页面的方法

调用上一个页面的方法 setTimeout(()=>{ uni.navigateBack({ delta:1 }) const pages = getCurrentPages(); //获取页面栈 const beforePage = pages[pages.length - 2]; //前一个页面 beforePage.$vm.getResearchList(); //前一个页面方法 },1500) ...

2021-06-30 11:45:30 815 1

原创 FormData表单对象及其使用

5. FormData 作用: 1.模拟HTML表单,相当于将HTML表单映射成表单对象,自动将表单对象中的数据拼接成请求参数格式 2.异步上传二进制文件 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="view

2021-06-27 22:55:41 291

原创 uni-app 点击小眼睛显示/隐藏密码

<template> <view> <form> <view class="cu-form-group margin-lg "> <input placeholder="请确认新密码" type="text" :password="showPassword" v-model="newPwds" name="input"></input> <text :class="[!showPassword ?'cu

2021-06-09 09:42:43 1963

转载 Reset.css

Reset.css html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl...

2021-05-30 17:17:29 108

空空如也

空空如也

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

TA关注的人

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