uniapp
ThatITs
写bug
展开
-
处理时间戳的一些公共方法
时间戳的处理方法原创 2022-09-19 10:09:56 · 241 阅读 · 1 评论 -
uniapp的公共样式
css基础样式原创 2022-09-19 09:55:29 · 2150 阅读 · 0 评论 -
uniapp的授权小程序登录
1:第一步获取code:// 获取code getCode() { return new Promise((resolve, reject) => { uni.login({ provider: 'weixin', success: res => { console.log('code', res.code) resolve(res.code) }, fail: reject }) }) },// 获取微信用户信息(原创 2022-04-25 08:58:16 · 587 阅读 · 0 评论 -
笔记:uniapp授权微信公众号
由于是第一次对接uniapp授权微信公众号,过程也很复杂,记录一下,下次不迷路。 onLoad() { //获取当前页面的url let link =window.location.href; console.log('我是请求的url') console.log(link) // let link = 'http://xxxxxx.com/?code=001vGk&state=123#/'; let code = null; // 判断link中有没有c原创 2022-03-25 15:23:13 · 2322 阅读 · 7 评论 -
uniapp的分页加载没有用到uni-load-more
简单粗暴上代码1:template文件<template> <view class="energy"> <view class="content"> <div class="contentab"> <div> <view v-for="(item,index) in list" :key="item...原创 2020-05-03 12:08:21 · 3616 阅读 · 0 评论