- 博客(6)
- 收藏
- 关注
原创 自定义一个vue分页
自定义一个vue分页新人上手 请勿喷直接上代码 HTMLCSS自己写吧js代码新人上手 请勿喷直接上代码 HTML// html<div class="dibuspage"> <div class="dibuspage_one"> <div class="pag_oooos" v-for="index in indexs" @click="btnClick(index)" :class="{pag_oooo:cur == index}"
2022-02-08 09:55:28
479
原创 微信小程序自定义弹出框
微信小程序弹出框上代码wxml<!-- 点击触发事件--><image class="pic" bindtap='showRule' src="../../image/jiantou-1.png"></image><!-- 弹出层 --><view class="bg" style='display:{{display}}'></view> <view class="poupt {{isRuleTrue?'isR
2021-03-22 16:46:28
400
原创 自定义日历
自定义日历话不多说 上代码wxml<view class="canlendarBgView"> <view class="canlendarView"> <view class="conent">选择日期</view> <view class="canlendarTopView"> <view class="leftBgView" bindtap="handleCalendar" data-hand
2021-03-22 14:33:59
229
2
原创 微信小程序分别上传图片和视频
微信小程序分别上传图片和视频dksjxc: function () {const that = this;// 最多上传图片数量if (that.data.imgList.length < that.data.maxImg) {wx.chooseImage({count: that.data.maxImg - that.data.imgList.length, // 最多可以选择的图片张数(最大数量-当前已上传数量)sizeType: [‘original’, ‘compressed’]
2021-03-04 17:29:36
739
1
原创 微信小程序高德地图获取当前定位
微信小程序高德地图获取当前定位//定位方法getUserLocation: function () {var _this = this;wx.getSetting({success: (res) => {// res.authSetting[‘scope.userLocation’] == undefined 表示 初始化进入该页面// res.authSetting[‘scope.userLocation’] == false 表示 非初始化进入该页面,且未授权// re
2021-03-04 17:15:46
2450
1
原创 微信小程序跳转页面刷新内容
@微信小程序微信小程序的跳转tabar刷新页面新手到来 还请多多指教 url: '../find/find', //跳转页面tabar以及跳转页面的刷新 success() { var page = getCurrentPages().pop(); if (page == undefined || page == null) return;
2021-03-02 10:29:05
1398
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人