摘要: 1.开发流程 配置工作 2.编写代码 /** * 微信授权时录入用户数据 */ @RequestMapping("/appLogin") @Transactional public Object insert(@RequestParam("code")String code, HttpSession 阅读全文
posted @ 2021-02-22 14:18 习惯xiguan 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 1.开发准备工作 1.小程序支付需要登录的openId 所以参数必须是要有openid 2.微信商户平台里填写回调地址 你公司的一级域名即可 或者精确到接口名称 2.业务流程 1.前端第一次对后端请求,拿到之前登录的openid 2.后端收到openid和业务逻辑调统一下单接口返回给前端几个必须的值 阅读全文
posted @ 2021-02-22 14:17 习惯xiguan 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 适配准备 https://www.cnblogs.com/syhao/p/14038975.html 安装 (amfe-flexible) 和(postcss-px2rem) 1, 安装依赖并在main.js中引入该依赖 npm i amfe-flexible import “amfe-flexib 阅读全文
posted @ 2021-02-22 14:16 习惯xiguan 阅读(57) 评论(0) 推荐(0) 编辑
摘要: (function (doc, win) { var docEl = doc.documentElement, resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize', recalc = function 阅读全文
posted @ 2021-02-22 14:15 习惯xiguan 阅读(54) 评论(0) 推荐(0) 编辑
摘要: js模块的导出与导入有两种方式 一种是commonjs规范 , 一种是es6规范 commonjs 导出: module.exports = 导入: require('路径') es6 导出: export defaule xxx 导入: import xxx from '路径' 重命名: impo 阅读全文
posted @ 2021-02-22 14:12 习惯xiguan 阅读(1217) 评论(0) 推荐(0) 编辑
摘要: AutoScssStruct4Vue https://blog.csdn.net/deeplies/article/details/98962253 阅读全文
posted @ 2021-02-22 14:11 习惯xiguan 阅读(47) 评论(0) 推荐(0) 编辑
摘要: import axios from 'axios' // import store from '@/store/index.js' import baseURL from './baseURL' import qs from 'query-string'; import { Message } fr 阅读全文
posted @ 2021-02-22 14:10 习惯xiguan 阅读(14) 评论(0) 推荐(0) 编辑
摘要: <el-drawer :modal="false" title="产品列表>创建私募基金产品" :visible.sync="drawer" :direction="direction" :before-close="handleClose" size="100%" > <Create1 @open 阅读全文
posted @ 2021-02-22 14:07 习惯xiguan 阅读(136) 评论(0) 推荐(0) 编辑
摘要: handleAlbumSuccess1(file){ //判断文件类型 const typeList = ["pdf", "xls","xlsx"]; const errMsg = '请上传excel文件' var tag=this.beforeUpload(file,typeList,errMsg 阅读全文
posted @ 2021-02-22 14:05 习惯xiguan 阅读(23) 评论(0) 推荐(0) 编辑
摘要: <button @click='a($event,value)'> function a (e,val) { console.log(e) //事件对象 console.log(val) //传递的参数 } 阅读全文
posted @ 2021-02-22 13:50 习惯xiguan 阅读(136) 评论(0) 推荐(0) 编辑