自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 vue 监听事件

事件<divclass="test"@touchstart="gtouchstart()"@touchmove="gtouchmove()"@touchend="gtouchend()">试一试呀!</div></div></template><script>exportdefault{data(){return...

2020-08-29 18:44:14 212

原创 地址簿修改

<template> <div class="content"> <!-- <van-sticky> --> <!-- <van-nav-bar --> <!-- title="选择城市" --> <!-- left-arrow --> <!-- /> --> ...

2020-08-25 13:14:26 166

原创 上次发布的电话簿缺陷,导致字母索引有两个,做了更改

{{name}}

2020-08-25 13:09:30 86

原创 2020-08-22

<!-- 登录页 用户表单 --> <van-cell-group> <van-field v-model="username" clearable label="用户名" right-icon="question-o" placeholder="请输入用户名" left-icon="contact" @click-right-icon="$toast('用户名必须...

2020-08-22 17:40:39 58

原创 js 截取数据大全

var str = 'Hello Word!';var newStr = str.substring(2);console.log(newStr); // 输出 llo Word!newStr = str.substring(2,8);console.log(newStr); // 输出 llo Wovar str = 'abcd9999';var newStr = str.slice(2);console.log(newStr); // 输出 cd9999;newStr = str.s

2020-08-22 17:38:20 1393

原创 vue表单验证(vantui 直接复制页面可测)

<!-- 登录页 用户表单 --> <van-cell-group> <van-field v-model="username" clearable label="用户名" right-icon="question-o" placeholder="请输入用户名" left-icon="contact" @click-right-icon="$toast('用户名必须...

2020-08-22 14:34:53 1377

原创 vuex存取值

commit: 同步操作this.$store.commit('方法名',值)【存储】this.$store.state.方法名【取值】dispatch: 异步操作this.$store.dispatch('方法名',值)【存储】this.$store.getters.方法名【取值】

2020-08-17 11:23:18 1471 1

原创 x修改 微信公众号头部标题

1.npm install vue-wechat-title --save2.引入main.js Vue.use(require('vue-wechat-title'));3.替换app.vue 中的rount <router-view v-wechat-title="$route.meta.title"></router-view>4.配置rount export default new Router({ routes: [ { ...

2020-08-15 23:04:36 909 2

原创 vant 拼音排序 城市列表

template><div><van-index-barclass="indexBar":sticky="false"highlight-color="#AE853A"><van-index-anchorv-for="(item,index)inthis.cityData":key="index":index=item.id><spanclass="indexWord"@click="...

2020-08-08 11:29:32 882

原创 vant 城市列表排序

template> <van-index-bar class="indexBar" :sticky="false" highlight-color="#AE853A"> <van-index-anchor v-for="(item,index) in this.cityData" :key="index" :index=item.id> <span class="indexWord" @click="chooseCity(item)">{{it

2020-08-08 11:28:55 1132

原创 vant 弹出框的使用

https://www.freesion.com/article/689378133/

2020-08-04 14:47:43 3268

空空如也

空空如也

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

TA关注的人

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