增加基座插件
样式修改 公共组件初始化内容
This commit is contained in:
9
.hbuilderx/launch.json
Normal file
9
.hbuilderx/launch.json
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"version" : "1.0",
|
||||||
|
"configurations" : [
|
||||||
|
{
|
||||||
|
"playground" : "custom",
|
||||||
|
"type" : "uni-app:app-android"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Binary file not shown.
29
nativeplugins/Tm-TmSafeSaveFileModule/package.json
Normal file
29
nativeplugins/Tm-TmSafeSaveFileModule/package.json
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
"name": "TmSafeSaveFileModule隐私数据保存",
|
||||||
|
"id": "Tm-TmSafeSaveFileModule",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "TmSafeSaveFileModule隐私数据保存",
|
||||||
|
"_dp_type": "nativeplugin",
|
||||||
|
"_dp_nativeplugin": {
|
||||||
|
"android": {
|
||||||
|
"plugins": [
|
||||||
|
{
|
||||||
|
"type": "module",
|
||||||
|
"name": "Tm-TmSafeSaveFileModule",
|
||||||
|
"class": "io.dcloud.uniplugin.safesave.TmSafeSaveFileModule"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"abis": [
|
||||||
|
"armeabi-v7a",
|
||||||
|
"x86"
|
||||||
|
],
|
||||||
|
"minSdkVersion": "26",
|
||||||
|
"integrateType": "aar",
|
||||||
|
"dependencies": [
|
||||||
|
"androidx.security:security-crypto:1.1.0-alpha06"
|
||||||
|
],
|
||||||
|
"permissions": [
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -111,7 +111,7 @@ const active = ref(false); // 组件是否激活,
|
|||||||
let changevalue = reactive([]);
|
let changevalue = reactive([]);
|
||||||
let realValue = reactive([]);
|
let realValue = reactive([]);
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
init();
|
// init();
|
||||||
});
|
});
|
||||||
|
|
||||||
// 初始化函数
|
// 初始化函数
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id" : "H5E705637",
|
"id" : "H5E705637",
|
||||||
"name" : "app",
|
"name" : "718友晟",
|
||||||
// "appid" : "H5E705637",
|
"appid" : "__UNI__4C459F4",
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"versionName" : "1.0.0",
|
"versionName" : "1.0.0",
|
||||||
"versionCode" : "100",
|
"versionCode" : "100",
|
||||||
@@ -43,6 +43,9 @@
|
|||||||
"<uses-feature android:name=\"android.hardware.camera\"/>",
|
"<uses-feature android:name=\"android.hardware.camera\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
|
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
|
||||||
],
|
],
|
||||||
|
"abiFilters" : [ "armeabi-v7a", "arm64-v8a" ],
|
||||||
|
"minSdkVersion" : 26,
|
||||||
|
"targetSdkVersion" : 35,
|
||||||
"icons" : {
|
"icons" : {
|
||||||
"android" : {
|
"android" : {
|
||||||
"hdpi" : "static/icons/72x72.png",
|
"hdpi" : "static/icons/72x72.png",
|
||||||
@@ -53,9 +56,27 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/* ios打包配置 */
|
/* ios打包配置 */
|
||||||
"ios" : {},
|
"ios" : {
|
||||||
|
"dSYMs" : false
|
||||||
|
},
|
||||||
/* SDK配置 */
|
/* SDK配置 */
|
||||||
"sdkConfigs" : {}
|
"sdkConfigs" : {}
|
||||||
|
},
|
||||||
|
"nativePlugins" : {
|
||||||
|
"Tm-TmSafeSaveFileModule" : {
|
||||||
|
"__plugin_info__" : {
|
||||||
|
"name" : "TmSafeSaveFileModule隐私数据保存",
|
||||||
|
"description" : "TmSafeSaveFileModule隐私数据保存",
|
||||||
|
"platforms" : "Android",
|
||||||
|
"url" : "",
|
||||||
|
"android_package_name" : "",
|
||||||
|
"ios_bundle_id" : "",
|
||||||
|
"isCloud" : false,
|
||||||
|
"bought" : -1,
|
||||||
|
"pid" : "",
|
||||||
|
"parameters" : {}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/* 快应用特有相关 */
|
/* 快应用特有相关 */
|
||||||
@@ -84,8 +105,8 @@
|
|||||||
"h5" : {
|
"h5" : {
|
||||||
"router" : {
|
"router" : {
|
||||||
"base" : ""
|
"base" : ""
|
||||||
/*,"mode": "history" 仅对 H5 平台生效 */
|
|
||||||
},
|
},
|
||||||
|
/*,"mode": "history" 仅对 H5 平台生效 */
|
||||||
"template" : "index.html"
|
"template" : "index.html"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -69,7 +69,10 @@
|
|||||||
class="uni-forms-item is-direction-top is-top">
|
class="uni-forms-item is-direction-top is-top">
|
||||||
|
|
||||||
<multipleSelect :multiple="true" :value="chooseMyLeaderList" downInner
|
<multipleSelect :multiple="true" :value="chooseMyLeaderList" downInner
|
||||||
:options="myLeaderList" @change="changeValue2" :key="Math.round()" :slabel="'text'">
|
:options="myLeaderList"
|
||||||
|
@change="changeValue2" :key="Math.round()"
|
||||||
|
:slabel="'text'"
|
||||||
|
>
|
||||||
</multipleSelect>
|
</multipleSelect>
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
|
|
||||||
@@ -251,9 +254,10 @@ function chooseRecord(e) {
|
|||||||
|
|
||||||
.form-con {
|
.form-con {
|
||||||
/* #ifdef APP-PLUS */
|
/* #ifdef APP-PLUS */
|
||||||
height: calc(100vh - 100px)
|
height: calc(100vh - 95px) !important;
|
||||||
/* #endif */
|
/* #endif */
|
||||||
/* #ifndef APP-PLUS */
|
/* #ifndef APP-PLUS */
|
||||||
|
height:calc(100vh - 68px) !important;
|
||||||
/* #endif */
|
/* #endif */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -266,6 +266,7 @@ const submitForm = () => {
|
|||||||
//h5测试用 内网-sn123456
|
//h5测试用 内网-sn123456
|
||||||
//公司外网 '9516053c-b441-465b-9781-06e7b8031811'
|
//公司外网 '9516053c-b441-465b-9781-06e7b8031811'
|
||||||
//友晟外网 'b97527c8-2ad4-493c-a01c-5f9d0aabaff2'
|
//友晟外网 'b97527c8-2ad4-493c-a01c-5f9d0aabaff2'
|
||||||
|
//8f9bbe3b-7f1d-4e7f-9734-6faa6b86350f
|
||||||
param.uniqCode = 'b97527c8-2ad4-493c-a01c-5f9d0aabaff2';
|
param.uniqCode = 'b97527c8-2ad4-493c-a01c-5f9d0aabaff2';
|
||||||
let res = await login(param);
|
let res = await login(param);
|
||||||
userStore.login(res);
|
userStore.login(res);
|
||||||
@@ -278,7 +279,7 @@ const submitForm = () => {
|
|||||||
// 读取设备ID
|
// 读取设备ID
|
||||||
safeSave.getSafeFile({ "key": "app_device_id" }, res3 => {
|
safeSave.getSafeFile({ "key": "app_device_id" }, res3 => {
|
||||||
if (res3.code == 1) {
|
if (res3.code == 1) {
|
||||||
let deviceId = res3.data;//'b97527c8-2ad4-493c-a01c-5f9d0aabaff2' //
|
let deviceId = res3.data;
|
||||||
// showAlert("读取成功=>"+deviceId);
|
// showAlert("读取成功=>"+deviceId);
|
||||||
param.uniqCode = deviceId;
|
param.uniqCode = deviceId;
|
||||||
console.log("param=>",param)
|
console.log("param=>",param)
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ const requestHooks = {
|
|||||||
requestInterceptorsHook(options, config) {
|
requestInterceptorsHook(options, config) {
|
||||||
// console.log("request=>config=>",config)
|
// console.log("request=>config=>",config)
|
||||||
const { urlPrefix, baseUrl, withToken, isAuth } = config;
|
const { urlPrefix, baseUrl, withToken, isAuth } = config;
|
||||||
options.header = options.header ?? {};
|
options.header = options.header ? options.header:{};
|
||||||
if (urlPrefix) {
|
if (urlPrefix) {
|
||||||
options.url = `${urlPrefix}${options.url}`;
|
options.url = `${urlPrefix}${options.url}`;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user