feat: 支付宝登录测试&
This commit is contained in:
@@ -139,6 +139,20 @@
|
||||
"pid" : "11931",
|
||||
"parameters" : {}
|
||||
}
|
||||
},
|
||||
"WITTestUniPlugin" : {
|
||||
"__plugin_info__" : {
|
||||
"name" : "WITTestUniPlugin",
|
||||
"description" : "iOS原生插件",
|
||||
"platforms" : "iOS",
|
||||
"url" : "",
|
||||
"android_package_name" : "",
|
||||
"ios_bundle_id" : "",
|
||||
"isCloud" : false,
|
||||
"bought" : -1,
|
||||
"pid" : "",
|
||||
"parameters" : {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
#ifdef __OBJC__
|
||||
#import <UIKit/UIKit.h>
|
||||
#else
|
||||
#ifndef FOUNDATION_EXPORT
|
||||
#if defined(__cplusplus)
|
||||
#define FOUNDATION_EXPORT extern "C"
|
||||
#else
|
||||
#define FOUNDATION_EXPORT extern
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
FOUNDATION_EXPORT double WITTestUniPluginVersionNumber;
|
||||
FOUNDATION_EXPORT const unsigned char WITTestUniPluginVersionString[];
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,6 @@
|
||||
framework module WITTestUniPlugin {
|
||||
umbrella header "WITTestUniPlugin-umbrella.h"
|
||||
|
||||
export *
|
||||
module * { export * }
|
||||
}
|
||||
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+132
@@ -0,0 +1,132 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>files</key>
|
||||
<dict>
|
||||
<key>Headers/WITTestUniPlugin-umbrella.h</key>
|
||||
<data>
|
||||
sy6fvvVyh3Hq55ggZ631/oeqa4I=
|
||||
</data>
|
||||
<key>Info.plist</key>
|
||||
<data>
|
||||
FPcXGdMbWGdTQijRlJ+7nR/KGYg=
|
||||
</data>
|
||||
<key>Modules/module.modulemap</key>
|
||||
<data>
|
||||
ZjoU2LSV3I6Ja00k/RA4RMc2K+U=
|
||||
</data>
|
||||
</dict>
|
||||
<key>files2</key>
|
||||
<dict>
|
||||
<key>Headers/WITTestUniPlugin-umbrella.h</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
sy6fvvVyh3Hq55ggZ631/oeqa4I=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
S+/WwO1UzL/8TSMb+wfLG/fLqvGlyFIbd0PV6EKkTPY=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/module.modulemap</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
ZjoU2LSV3I6Ja00k/RA4RMc2K+U=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
o6k+82QmVbWgccrZRooVbNITdXrkdiGH1Jg6mz8v28k=
|
||||
</data>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>rules</key>
|
||||
<dict>
|
||||
<key>^.*</key>
|
||||
<true/>
|
||||
<key>^.*\.lproj/</key>
|
||||
<dict>
|
||||
<key>optional</key>
|
||||
<true/>
|
||||
<key>weight</key>
|
||||
<real>1000</real>
|
||||
</dict>
|
||||
<key>^.*\.lproj/locversion.plist$</key>
|
||||
<dict>
|
||||
<key>omit</key>
|
||||
<true/>
|
||||
<key>weight</key>
|
||||
<real>1100</real>
|
||||
</dict>
|
||||
<key>^Base\.lproj/</key>
|
||||
<dict>
|
||||
<key>weight</key>
|
||||
<real>1010</real>
|
||||
</dict>
|
||||
<key>^version.plist$</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>rules2</key>
|
||||
<dict>
|
||||
<key>.*\.dSYM($|/)</key>
|
||||
<dict>
|
||||
<key>weight</key>
|
||||
<real>11</real>
|
||||
</dict>
|
||||
<key>^(.*/)?\.DS_Store$</key>
|
||||
<dict>
|
||||
<key>omit</key>
|
||||
<true/>
|
||||
<key>weight</key>
|
||||
<real>2000</real>
|
||||
</dict>
|
||||
<key>^.*</key>
|
||||
<true/>
|
||||
<key>^.*\.lproj/</key>
|
||||
<dict>
|
||||
<key>optional</key>
|
||||
<true/>
|
||||
<key>weight</key>
|
||||
<real>1000</real>
|
||||
</dict>
|
||||
<key>^.*\.lproj/locversion.plist$</key>
|
||||
<dict>
|
||||
<key>omit</key>
|
||||
<true/>
|
||||
<key>weight</key>
|
||||
<real>1100</real>
|
||||
</dict>
|
||||
<key>^Base\.lproj/</key>
|
||||
<dict>
|
||||
<key>weight</key>
|
||||
<real>1010</real>
|
||||
</dict>
|
||||
<key>^Info\.plist$</key>
|
||||
<dict>
|
||||
<key>omit</key>
|
||||
<true/>
|
||||
<key>weight</key>
|
||||
<real>20</real>
|
||||
</dict>
|
||||
<key>^PkgInfo$</key>
|
||||
<dict>
|
||||
<key>omit</key>
|
||||
<true/>
|
||||
<key>weight</key>
|
||||
<real>20</real>
|
||||
</dict>
|
||||
<key>^embedded\.provisionprofile$</key>
|
||||
<dict>
|
||||
<key>weight</key>
|
||||
<real>20</real>
|
||||
</dict>
|
||||
<key>^version\.plist$</key>
|
||||
<dict>
|
||||
<key>weight</key>
|
||||
<real>20</real>
|
||||
</dict>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"name":"WITTestUniPlugin",
|
||||
"id":"WITTestUniPlugin",
|
||||
"version":"0.1.0",
|
||||
"description":"iOS原生插件",
|
||||
"_dp_type":"nativeplugin",
|
||||
"_dp_nativeplugin":{
|
||||
"ios":{
|
||||
"plugins":[
|
||||
{
|
||||
"type":"module",
|
||||
"name":"WITTestUniPlugin",
|
||||
"class":"WITTestUniModule"
|
||||
}
|
||||
],
|
||||
"integrateType":"framework",
|
||||
"deploymentTarget":"10.0",
|
||||
"frameworks":[
|
||||
"Foundation.framework",
|
||||
"UIKit.framework"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -104,7 +104,8 @@
|
||||
></up-image>
|
||||
微信登录
|
||||
</view>
|
||||
<view v-if="!isIOS" class="login_other_item" @click="alipayOneLogin">
|
||||
<view class="login_other_item" @click="aa">
|
||||
<!-- <view v-if="!isIOS" class="login_other_item" @click="alipayOneLogin"> -->
|
||||
<up-image
|
||||
src="/static/login/ZFB.png"
|
||||
width="44"
|
||||
@@ -203,6 +204,19 @@ export default {
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
|
||||
aa(){
|
||||
const nativiPlugin = uni.requireNativePlugin('WITTestUniPlugin');
|
||||
console.log("隐藏原生tabbar",nativiPlugin)
|
||||
nativiPlugin.testAsyncFunc({},
|
||||
(ret) => {
|
||||
uni.showToast({
|
||||
title: '调用异步方法 ' + ret,
|
||||
icon: "none"
|
||||
})
|
||||
console.log(ret);
|
||||
});
|
||||
},
|
||||
jumpHome() {
|
||||
// const sysPlatform = getCurrentSysPlatform();
|
||||
// if(sysPlatform === "android"){
|
||||
|
||||
Reference in New Issue
Block a user