摘要: ctx.setFillStyle("#000"); ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 ctx.font = 'normal bold 16px PingFang SC'; var title ='阿斯顿发斯蒂芬克拉斯 剪短发拉 阿斯顿发送到发送 到 阅读全文
posted @ 2020-12-19 11:46 小桥流水细长流 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 解决方法一: 解决方法二: 先上图,因为只支持嵌套 cover-view、cover-image,可在 cover-view 中使用 button。因为图使用了input,所以就想点击弹框弹出时,隐藏textarea,关闭弹框显示textarea wxml: <view catchtap="toIn 阅读全文
posted @ 2020-09-23 21:00 小桥流水细长流 阅读(435) 评论(0) 推荐(0) 编辑
摘要: <view class=" page page_one"> <view class="page_box"> <video id="myVideo" poster="https://img.shanso.com/afc749ec57f55636/8edb06dcdd021d02.png" contro 阅读全文
posted @ 2020-09-22 14:36 小桥流水细长流 阅读(921) 评论(0) 推荐(0) 编辑
摘要: ttml: <view class="container"> <view class="body canvas-space"> <canvas canvas-id="canvas" style="width:{{375 * rpx}}px;height:{{600 * rpx}}px" class= 阅读全文
posted @ 2020-09-22 10:11 小桥流水细长流 阅读(450) 评论(0) 推荐(0) 编辑
摘要: 刚又试了下,这种有点试方法有点复杂了 方法一: wxml:(父级页面) <view class="pageLi flex" catchtap="toInstitute" data-name="{{item.shop_name}}" data-id="{{item.id}}"> <image src= 阅读全文
posted @ 2020-09-07 18:20 小桥流水细长流 阅读(963) 评论(0) 推荐(0) 编辑
摘要: app.js ios: function(){ var that = this; wx.getSystemInfo({ success:function(res){ console.log(res) if(res.platform == "devtools"){ that.globalData.is 阅读全文
posted @ 2020-08-25 15:37 小桥流水细长流 阅读(195) 评论(0) 推荐(0) 编辑
摘要: wxml: <scroll-view class="warp_" scroll-y="true"> <view style='' style='position: absolute;z-index: 2;top:0;left:0;right:0;'> <canvas canvas-id="myCan 阅读全文
posted @ 2020-07-30 15:53 小桥流水细长流 阅读(338) 评论(0) 推荐(0) 编辑
摘要: wxml: <button catchtap="toMsg">订阅消息</button> wxjs: toMsg:function() { const templateIdOne = 'OoszB0nyyby0n_vxSLvdGyfbXrmsRVHbpBkN8VV0B7o' const templa 阅读全文
posted @ 2020-07-09 15:05 小桥流水细长流 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 第一种写法: wxml: <view class="page_first"> <view class="page_li" wx:for="{{4}}"></view> </view> wxss: .page_first{padding: 30rpx;box-sizing: border-box;di 阅读全文
posted @ 2020-07-07 14:45 小桥流水细长流 阅读(246) 评论(0) 推荐(0) 编辑
摘要: wxml: <scroll-view class="warp_" scroll-y="true"> <view style='' style='position: absolute;z-index: 2;top:0;left:0;right:0;'> <canvas canvas-id="myCan 阅读全文
posted @ 2020-07-06 18:54 小桥流水细长流 阅读(344) 评论(0) 推荐(0) 编辑