04 2021 档案

摘要:在js文件内 const current = 'dev' //当前选择的对象类型const config = { //全部的对象类型 'dev':{ //测试 'one':'https', 'two':'https', 'three':'appid', 'four':'id' }, 'prod':{ 阅读全文
posted @ 2021-04-21 17:42 伊人兮明眸秋水 阅读(91) 评论(0) 推荐(0) 编辑
摘要:有使生效有时无效 template <view class="bottom" > <text @tap.stop="tabMask">底部区域</text> <view class="mask" v-if="maskT" @touchmove.stop.prevent="moveHandle"> < 阅读全文
posted @ 2021-04-20 11:00 伊人兮明眸秋水 阅读(529) 评论(0) 推荐(0) 编辑
摘要:在css中添加下面css内容 <scroll-view>uniapp 滚动区域</scroll-view> <style> scroll-view{ width:690rpx; height:700rpx; margin:0 auto; }::-webkit-scrollbar { width: 0 阅读全文
posted @ 2021-04-20 10:07 伊人兮明眸秋水 阅读(679) 评论(0) 推荐(0) 编辑
摘要:1 //头部的组件, 2 //组件页面代码 3 <template> 4 <!--components/pet-navbar/pet-navbar.wxml--> 5 <view class="pet-navbar" :style="'height:' + (nh+'px') + ';backgro 阅读全文
posted @ 2021-04-19 10:35 伊人兮明眸秋水 阅读(80) 评论(0) 推荐(0) 编辑
摘要:基于vue 调用的方法里传入四个参数,分别是两个点的纬度经度 this.CaleLength(第一个点的纬度,第一个点的经度,第二个点的纬度,第二个点的经度) this.CaleLength(34.76984, 113.769852, 34.76984, 114.769852) // 经纬度转换为度 阅读全文
posted @ 2021-04-13 14:34 伊人兮明眸秋水 阅读(632) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示