功能参考来源<view class="write"> <canvas class="write_main" canvas-id="sign" bindtouchmove="move" bindtouchstart="start" bindtouchend="end" bindtouchcancel="canc......
let pages = getCurrentPages(); let prevPage = pages[pages.length - 2] prevPage.active() //调用上个页面的事件 prevPage.setData({ //setData给上个页面的data进行赋值 ...
设计图界面需要使用自定义头部 "navigationStyle":"custom"标题等信息就需要与胶囊按钮对齐 // 获取胶囊信息 let rect = wx.getMenuButtonBoundingClientRect() // 获取标题文字信息 let query = wx.createSe......
效果展示Demo代码wxml<view class='page-cont' wx:if="{{isTiptrue}}"> <view class='top'> <image src=
效果展示Demo代码wxml<view class="selection_cards" bindtouchstart="touchstart" bindtouchmove="touchmove"
效果展示Demo代码wxml<!-- 切换栏 --><view class='list-top'><ul><li class="{{flag==0?'active':''}}" ca
效果展示Demo代码wxml <view class="loading-screen"> <view class="loading"> <view cla