适配小程序

This commit is contained in:
THK3121 2023-07-03 17:04:04 +08:00
parent 8fb080363b
commit 3f42bd0cd8
12 changed files with 9 additions and 13 deletions

View File

@ -8,8 +8,9 @@
// +---------------------------------------------------------------------- // +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com> // | Author: CRMEB Team <admin@crmeb.com>
// +---------------------------------------------------------------------- // +----------------------------------------------------------------------
// #ifdef APP-PLUS
var jpushModule = uni.requireNativePlugin("JG-JPush"); var jpushModule = uni.requireNativePlugin("JG-JPush");
import { // #endif import {
checkLogin checkLogin
} from "./libs/login"; } from "./libs/login";
import { import {
@ -20,7 +21,6 @@
history history
} from '@/api/public.js' } from '@/api/public.js'
import Routine from './libs/routine.js'; import Routine from './libs/routine.js';
var jpushModule = uni.requireNativePlugin("JG-JPush");
export default { export default {
globalData: { globalData: {
spid: 0, spid: 0,

View File

@ -2,8 +2,8 @@
"name" : "CRMEB", "name" : "CRMEB",
"appid" : "__UNI__3A527D1", "appid" : "__UNI__3A527D1",
"description" : "", "description" : "",
"versionName" : "1.0.11", "versionName" : "1.0.15",
"versionCode" : 134, "versionCode" : 138,
"transformPx" : false, "transformPx" : false,
/* 5+App */ /* 5+App */
"app-plus" : { "app-plus" : {
@ -111,12 +111,6 @@
"__platform__" : [ "ios", "android" ] "__platform__" : [ "ios", "android" ]
} }
}, },
"push" : {
"unipush" : {
"version" : "2",
"offline" : false
}
},
"oauth" : { "oauth" : {
"apple" : {} "apple" : {}
}, },

View File

@ -1633,3 +1633,4 @@
background-color: #000000; background-color: #000000;
} }
</style> </style>

View File

@ -297,9 +297,10 @@
mapGetters mapGetters
} from "vuex"; } from "vuex";
import Verify from '@/components/verify/verify.vue'; import Verify from '@/components/verify/verify.vue';
var jpushModule = uni.requireNativePlugin("JG-JPush");
const BACK_URL = "login_back_url"; const BACK_URL = "login_back_url";
// #ifdef APP-PLUS
var jpushModule = uni.requireNativePlugin("JG-JPush");
// #endif
export default { export default {
name: "Login", name: "Login",
mixins: [sendVerifyCode], mixins: [sendVerifyCode],

BIN
static/images/icon 2@4x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

BIN
static/images/icon 3@4x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 KiB

BIN
static/images/icon 4@4x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

BIN
static/images/icon 5@4x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 KiB

BIN
static/images/icon 6@4x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

BIN
static/images/icon 7@4x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 KiB

BIN
static/images/icon 8@4x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

BIN
static/images/icon 9@4x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 KiB