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