上一页 1 ··· 4 5 6 7 8 9 10 下一页
摘要: 小程序的wx.getLocation()获得是经纬度并不包含地名,所以要通过经纬度用相应的地图转换出地名(本文使用的是百度地图) // 获取坐标 onLoad: function (options) { wx.getLocation({ type: 'gcj02', //wgs84/gcj02 gl 阅读全文
posted @ 2021-12-17 18:31 宅女二二 阅读(1340) 评论(0) 推荐(0)
摘要: 一、Chinese: 汉化 二、Live Server: 同步浏览器刷新。 安装好后,在html页面右键:Open With Live Server 三、Color Highlight Color Highlight - Hue show better version 能分析css语法,高亮那些带有 阅读全文
posted @ 2021-12-15 15:01 宅女二二 阅读(57) 评论(0) 推荐(1)
摘要: 一、在typescript.ts转换成.js运行时报错解决办法: 1、第一步:鼠标在vscode软件上右击打开属性–>兼容性–>以管理员的身份运行此程序,如下图: 2、第二步:打开vscode后,Shift+Ctrl+~ 打开终端,输入执行以下命令:get-ExecutionPolicyset-Ex 阅读全文
posted @ 2021-12-15 14:48 宅女二二 阅读(653) 评论(0) 推荐(0)
摘要: wxml: <view class="tab_box" catchtap="changeOil"> <view class='{{num==1?"tab_box_1":"tab_box_1a"}}' data-num='1'>门店自提</view> <view class='{{num==2?"ta 阅读全文
posted @ 2021-12-13 14:42 宅女二二 阅读(579) 评论(0) 推荐(0)
摘要: wxml: <!-- 遮罩层 --> <view wx:if="{{carAdd}}"> <view class="cover" catchtap="closeBg"></view> <view class="wxshare"> <view class="add_box1"> <view class 阅读全文
posted @ 2021-12-11 18:05 宅女二二 阅读(297) 评论(0) 推荐(0)
摘要: 在微信小程序 里实现跑马灯效果,类似滚动字幕或者滚动广告之类的,使用简单的CSS样式控制,没用到JS wxml: <!-- 复制的跑马灯效果 --> <view class="marquee_container" style="--marqueeWidth--:-12em"> <view class 阅读全文
posted @ 2021-12-11 11:52 宅女二二 阅读(739) 评论(1) 推荐(0)
摘要: 想实现效果: 点击后跳转 wxml: <view class="fiveson"> <view class="fiveson-son" bindtap="onepay"> <view class="son-icon"> <image src="../../images/icon/oneimg.png 阅读全文
posted @ 2021-12-08 17:53 宅女二二 阅读(153) 评论(0) 推荐(0)
摘要: <!-- 改版的wxml: --> <swiper indicator-dots="{{indicatorDots}}" circular="true" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" s 阅读全文
posted @ 2021-12-06 17:31 宅女二二 阅读(166) 评论(0) 推荐(0)
摘要: 1.在自己的博客园中找到管理->设置页面 2.在页首 HTML 代码中插入 <!-- 悬挂的喵 --><script type="text/javascript" src="https://blog-static.cnblogs.com/files/fsh001/szgotop.js"></scri 阅读全文
posted @ 2021-12-03 17:29 宅女二二 阅读(47) 评论(0) 推荐(0)
摘要: 前端: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-sca 阅读全文
posted @ 2021-12-03 10:19 宅女二二 阅读(1685) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 下一页