
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
全局禁止在manifestjson中配置"popGesture": "none"https://uniapp.dcloud.io/collocation/manifest?id=%e5%ae%8c%e6%95%b4-manifestjson// 调用5+ Api// #ifdef APP-PLUSvar page = this.$mp.page.$getAppWebview();page.setS
// 对拿到的数据进行处理data = data.replace(/[\r\n]/g,"")
计算缓存formatSize() {let that = this;plus.cache.calculate(function(size) {let sizeCache = parseInt(size);if (sizeCache == 0) {that.f
rpx是小程序中的适配方案,它将750px作为设计稿,1rpx=屏幕宽度/750,其它所有的单位都使用rpx单位。不管是什么屏幕,统一分成750份在iPhone8上: 1rpx = 375/750 = 0.5px在iPhone12proMax 上:1rpx = 428/750 = 0.571px所以我们就可以通过上面的计算方式,算出一个rpx,再将自己的size和rpx单位相乘即可: 比如300p
import 'package:shared_preferences/shared_preferences.dart';// 设置setStorage(String key, value) async {SharedPreferences prefs = await SharedPreferences.getInstance();if (value is String) {prefs.setStr
Scaffold有一个属性resizeToAvoidBottomInset,默认为true,配合SingleChildScrollView可实现自适应键盘高度class Demo extends StatelessWidget {const Demo({Key? key}) : super(key: key);@overrideWidget build(BuildContext context)
"globalStyle": {"backgroundColor": "#F8F8F8","navigationStyle": "custom", //去除导航栏"app-plus": {// 将回弹属性关掉"bounce": "none"}},单页面在"style"属性中关闭
避免onShow一直进入同一个页面plus.runtime.arguments = ''
https://ask.dcloud.net.cn/article/35565
来自uView提供的模版https://uviewui.com<template><view class="u-wrap"><view class="u-search-box"><view class="u-search-inner"><u-icon name="search" color="#909399" :size="28"><







