摘要: 需在微信公众平台开发工具使用腾讯地图插件 1.app.json "plugins": { "chooseLocation": { "version": "1.0.9", "provider": "wx76a9a06e5b4e693e" } } 2. js页面加入 const chooseLocati 阅读全文
posted @ 2021-11-15 14:39 谎渊 阅读(206) 评论(0) 推荐(0)
摘要: 微信小程序+腾讯地图 获取定位与地图选点插件 - 伏沙金 - 博客园 (cnblogs.com) 阅读全文
posted @ 2021-11-15 14:21 谎渊 阅读(11) 评论(0) 推荐(0)
摘要: window.addEventListener('scroll',this.listscroll) listscroll(){ var contantheight=document.body.scrollHeight //正文高度 var scrollheight=window.screen.ava 阅读全文
posted @ 2021-11-11 15:09 谎渊 阅读(65) 评论(0) 推荐(0)
摘要: document.body.clientWidth ==> BODY对象宽度 2 document.body.clientHeight ==> BODY对象高度 3 document.documentElement.clientWidth ==> 可见区域宽度 4 document.document 阅读全文
posted @ 2021-11-11 15:05 谎渊 阅读(101) 评论(0) 推荐(0)
摘要: data(){ return{ start:0, move:0 } } <div class="cellwindow"> <div class="cellbg" @touchmove="touchmoves" @touchstart="touchstarts"> <div class="cell_c 阅读全文
posted @ 2021-11-09 00:14 谎渊 阅读(32) 评论(0) 推荐(0)
摘要: A类问题 1 请谈谈微信小程序主要目录和文件的作用? project.config.json 项目配置文件,用得最多的就是配置是否开启https校验; App.js 设置一些全局的基础数据等; App.json 底部tab, 标题栏和路由等设置; App.wxss 公共样式,引入iconfont等; 阅读全文
posted @ 2021-11-03 13:32 谎渊 阅读(66) 评论(0) 推荐(0)
摘要: 一、vue父子组件之间的传值: 简单来说,子组件通过props方法接受父组件传来的值,子组件通过$emit方法来向父组件发送数据。(具体案例可以看我之前写的博客)。 二、vue生命周期函数: beforeCreatecreatedbeforeMountmountedbeforeUpdateupdat 阅读全文
posted @ 2021-11-02 22:11 谎渊 阅读(61) 评论(0) 推荐(0)
摘要: <el-table-column> <template slot-scope="scope"> {{scope.row.值}} </template> </<el-table-column> 阅读全文
posted @ 2021-10-14 21:35 谎渊 阅读(61) 评论(0) 推荐(0)
摘要: style标签添加 .el-table__header-wrapper{ padding:0 !important; line-height: 50px !important; } .el-table__row .cell{ padding:0 !important; line-height: 50 阅读全文
posted @ 2021-10-14 21:31 谎渊 阅读(173) 评论(0) 推荐(0)
摘要: 在 APP.vue css样式添加 html,body,#app{ width:100%; height:100%; margin: 0; padding: 0; } 在装Container容器的盒模型<div class="body"> <el-container style="height:10 阅读全文
posted @ 2021-10-13 17:50 谎渊 阅读(242) 评论(0) 推荐(0)