![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue.js
文章平均质量分 50
大秦白起
从前喜欢一个人,现在喜欢一个人,以后喜欢一个人
展开
-
uniapp 跨域
uniapp h5 跨域原创 2023-04-14 16:11:54 · 88 阅读 · 0 评论 -
vue3学习记录
vue3学习记录1、创建vue3项目并运行原创 2023-02-21 15:57:37 · 83 阅读 · 0 评论 -
element-ui中el-select无限滚动
element-ui中el-select无限滚动原创 2022-05-12 09:19:23 · 1824 阅读 · 0 评论 -
uniapp 前端瀑布流demo
vue瀑布流demo<template> <view class="waterfall"> <view class="waterfall-left"> <view class="waterfall-item" v-for="(item, index) in leftImage" :key="index" > <image :src="item" mode="widt...原创 2021-04-21 09:30:02 · 298 阅读 · 0 评论 -
vue下安装iview-admin后台管理(连载中)
一: 安装1) 安装vue npm install vue2) 安装 iview-admin: npm install iview --save 引入全局iview: import iView from 'iview' Vue.use(iView)3)...原创 2019-08-08 09:50:29 · 652 阅读 · 0 评论 -
iview-admin配置post请求(随笔)
1,注释main.js下的if (process.env.NODE_ENV !== 'production') require('@/mock')2.设置跨域vue.config.js里 // devServer: { // proxy: 'http://xxxxxx/api/' //}3.设置headers头lib/axios.js文件里,删除conten...原创 2019-08-05 11:50:05 · 2498 阅读 · 0 评论 -
vue中拖拽
复制就可以用啦<template> <div id="app"> <div class="box box1" :style="box1Style" ref="box1" > <div class="dargbtn" @mousedown="box1ButtonDown">点此拖拽...原创 2019-07-30 17:51:29 · 216 阅读 · 0 评论 -
微信小程序(滑动)-animation
官方api: https://developers.weixin.qq.com/miniprogram/dev/api/ui/animation/wx.createAnimation.html例:<style lang="less">.container { display: flex; flex-direction: column; box-siz...原创 2019-07-24 14:35:28 · 494 阅读 · 0 评论 -
vue中路由传参
A页面<div @click="jump"></div>jump(){ this.$router.push({ name: 'B页面的路由名字', params: { id: id } }) // 跳转到更新页面并传递参数id}B页面mounted(){let routerParams = this.$r...原创 2018-12-21 16:34:11 · 203 阅读 · 0 评论 -
list循环 点击当前对象 class类名添加
list: [ //一个简单的数组数据{id : 1, name: '张三'},{id : 2, name: '李四'},{id : 3, name: '王五'},]num=2,//你需要第几个添加class类名.blur{ //添加的class类名color: red;}<ul>//当item.id == num时,添加blu...原创 2018-12-21 16:27:25 · 684 阅读 · 0 评论 -
Vue请求使用axios
安装 axios npm install --save axios配置 axios 调用方法里写://请求的url 地址const url = 'http://192.168.123.130:8085/account/message/send'//使用URLSerchParms来处理参数,URLSerchParams的兼容性较差,注意:(可使用babel来转换)...原创 2018-11-14 14:36:14 · 190 阅读 · 0 评论 -
vue从一个页面引入另一个页面
1.先写好一个demo页面demo.vue <template> <div> <h1>11111</h1> </div> </template> <script> export default {} </script> <style原创 2018-11-12 14:46:30 · 46256 阅读 · 8 评论 -
iview-admin-------上传组件Upload
上传给后台<Upload ref="upload" :show-upload-list="false" 是否显示已上传文件列表 :default-file-list="defaultList" 默认已上传的文件列表 :on-success="handleSuccess" // 文件上传成功时的函数,返回字段为 response, file, fileList :fo...原创 2018-11-12 14:34:36 · 1546 阅读 · 0 评论 -
Vue学习---------一
xxx.vue页面分成三个部分: <script>js部分</script> <template>html部分</template> ...原创 2018-09-25 09:46:12 · 89 阅读 · 0 评论