摘要: 记录上传报错 warning: LF will be replaced by CRLF in renard-wx/project.config.json. The file will have its original line endings in your working directory 解 阅读全文
posted @ 2020-07-02 10:48 四月和秋天 阅读(128) 评论(0) 推荐(0) 编辑
摘要: setStorageSync拿到数据之后 别的页面再使用的时候是空 阅读全文
posted @ 2020-06-19 11:50 四月和秋天 阅读(814) 评论(2) 推荐(0) 编辑
摘要: 1.创建文件夹components 在该文件夹目录下定义组件 2.json文件中定义 3.使用页面中的json 定义 4.页面中使用 阅读全文
posted @ 2020-06-16 16:38 四月和秋天 阅读(595) 评论(0) 推荐(0) 编辑
摘要: 1.下载最新的微信开发着工具 node最新 找到小程序目录(可以直接在电脑进入小程序目录下)输入命令 npm init 初始化 npm install --production npm i vant-weapp -S --production 2.找到微信开发者工具(左上角点击工具,构建npm)一般 阅读全文
posted @ 2020-06-12 10:58 四月和秋天 阅读(1308) 评论(0) 推荐(0) 编辑
摘要: 1.目录 2.store.js中代码 // store.js 中都mutation中增加添加和删除token的方法 import Vue from 'vue' import Vuex from 'vuex' Vue.use(Vuex) const store = new Vuex.Store({ s 阅读全文
posted @ 2020-06-09 11:01 四月和秋天 阅读(480) 评论(0) 推荐(0) 编辑
摘要: //1.video.js 插入视频 一般默认静音 (video.js使用方法可以看看网上的,然后视频src是提交后台返的) 因为加载视频封面需要10秒左右的时间 需要等一会 这个问题要想办法解决 体验感不太好 <video id="myVideo" class="video-js" controls 阅读全文
posted @ 2020-06-09 10:40 四月和秋天 阅读(5728) 评论(0) 推荐(0) 编辑
摘要: 多个单个勾选<template> <div> <div class="vueBox"> <div class="music_list" v-for="(item,index) in music_list"> <input type="checkbox" class="check_box" :id=" 阅读全文
posted @ 2020-01-02 17:20 四月和秋天 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 收藏夹<template> <div> <div class="header"> <i class="el-icon-back" @click="back"></i> <input type="text" placeholder="请输入搜索内容" @change="searchList" v-mo 阅读全文
posted @ 2020-01-02 11:06 四月和秋天 阅读(119) 评论(0) 推荐(0) 编辑
摘要: <template> <div> <div class="box"> <img src="../assets/image/jiesuan_unchoose.png" ref="collection" @click="collect()" id="aa" alt=""> </div> </div> < 阅读全文
posted @ 2019-12-21 13:45 四月和秋天 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 1.router-link 跳转的方法 <router-link :to='{path:"/CommentList",query:{id:this.$route.query.goodsid}}'> <div class="right"> <span>查看全部</span> <img src="../ 阅读全文
posted @ 2019-12-16 14:00 四月和秋天 阅读(1398) 评论(0) 推荐(0) 编辑