2023年5月11日
摘要: <template> <!-- 轮播图 --> <view class="background-style"> <swiper :indicator-dots="indicatorDots" :circular="circular" :indicator-color="indicatorColor" 阅读全文
posted @ 2023-05-11 09:50 张泓锐 阅读(212) 评论(0) 推荐(0) 编辑
摘要: Consider the following: If you want an embedded database (H2, HSQL or Derby), please put it on the classpath. If you have database settings to be load 阅读全文
posted @ 2023-05-11 09:49 张泓锐 阅读(276) 评论(0) 推荐(0) 编辑
摘要: public class JwtUtils { public static final long EXPIRE = 1000 * 60 * 60 * 24; public static final String APP_SECRET = "ukc8BDbRigUDaY6pZFfWus2jZWLPHO 阅读全文
posted @ 2023-05-11 09:49 张泓锐 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 开发安卓原生插件 一、官方文档 1.https://nativesupport.dcloud.net.cn/NativePlugin/course/android 2.下载对应的SDK、工程文件 二、生成uniapp的appkey 1.配置配置好Android studio的环境:SDK、JDK 2 阅读全文
posted @ 2023-05-11 09:48 张泓锐 阅读(945) 评论(0) 推荐(0) 编辑
摘要: 开发component中的一个input标签 一、在原来的模块上面创建一个新的类TestComponent 1.新建TestComponent 2.配置json文件 二、uniapp准备工作 1.在uniapp中写一下刚刚创建的输入框 2.打包导出资源 3.资源替换 复制刚刚生成的本地资源文件夹到A 阅读全文
posted @ 2023-05-11 09:47 张泓锐 阅读(367) 评论(0) 推荐(0) 编辑
摘要: 一、创建原生页面并配置 1.创建原生页面Demo 2.配置原生页面继承Activity 二、在继承UniModule的类中写对应的页面跳转逻辑 三、在uniapp中配置跳转的按钮 四、将打包好的本地资源替换到项目中,打包运行 1.本地资源打包 2.替换掉AndroidStudio项目中的文件 3.编 阅读全文
posted @ 2023-05-11 09:46 张泓锐 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 在迁移代码的时候,发现代码可以在模拟器上运行,但是无法在真机上面运行,最后经过挨个的排查,最终发现是ndk的问题。在app的build.gradle中的ndk缺少了匹配的实体机类型,然后加了一下 'x86','armeabi-v7a','armeabi','armabi-v7a','x86_64', 阅读全文
posted @ 2023-05-11 09:45 张泓锐 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 在AndroidManifest.xml中写上对应的声明,就可以实现正常的跳转了 <activity android:name="com.aliyun.bmplugin.testmodel.Demo" android:configChanges="orientation|screenSize" an 阅读全文
posted @ 2023-05-11 09:44 张泓锐 阅读(38) 评论(0) 推荐(0) 编辑
摘要: 解决办法:给Context赋默认值,但是不能为null 可以把当前所在的类赋值给它 package com.hezilon.imdemo; import android.content.Context; import android.os.Bundle; import android.support 阅读全文
posted @ 2023-05-11 09:44 张泓锐 阅读(10) 评论(0) 推荐(0) 编辑
摘要: View createSession; @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { // 创建数据视图 View dataV 阅读全文
posted @ 2023-05-11 09:43 张泓锐 阅读(11) 评论(0) 推荐(0) 编辑