fix: 打开小程序传参问题

master
yangbin 2022-11-23 15:09:37 +08:00
parent 449cdef6de
commit 16300fc979
166 changed files with 6 additions and 985 deletions

Binary file not shown.

View File

@ -2,8 +2,8 @@
const MopSdk = uni.requireNativePlugin('MopSdk');
export default {
onLaunch: function() {
console.log('App Launch')
onLaunch: function(options) {
console.log('App Launch',options)
MopSdk.initialize({
'sdkKey': '22LyZEib0gLTQdU3MUauAa2CctUv+NxTLFWyPxC28y2gA4x+JWh7hhNS5aO52BFs',
'sdkSecret': '65146ffa924ecfdc',

View File

@ -1,76 +0,0 @@
<root xmlns="urn:schemas-upnp-org:device-1-0" xmlns:qq="http://www.tencent.com">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion><device>
<deviceType>urn:schemas-upnp-org:device:MediaRenderer:1</deviceType>
<UDN>uuid:b8c9ae9e-fb7f-2f09-ffff-ffffc7831a22</UDN>
<friendlyName>书房的小米电视</friendlyName>
<qq:X_QPlay_SoftwareCapability>QPlay:1</qq:X_QPlay_SoftwareCapability>
<manufacturer>Xiaomi</manufacturer>
<manufacturerURL>http://www.xiaomi.com/</manufacturerURL>
<modelDescription>Xiaomi MediaRenderer</modelDescription>
<modelName>Xiaomi MediaRenderer</modelName>
<modelNumber>1</modelNumber>
<modelURL>http://www.xiaomi.com/hezi</modelURL>
<serialNumber>55MC5BF9J19620A</serialNumber>
<presentationURL>device_presentation_page.html</presentationURL>
<UPC>123456789012</UPC>
<dlna:X_DLNADOC xmlns:dlna="urn:schemas-dlna-org:device-1-0">DMR-1.50</dlna:X_DLNADOC>
<dlna:X_DLNACAP xmlns:dlna="urn:schemas-dlna-org:device-1-0">,</dlna:X_DLNACAP>
<iconList>
<icon>
<mimetype>image/jpeg</mimetype>
<width>48</width>
<height>48</height>
<depth>8</depth>
<url>icon/icon048x048.jpeg</url>
</icon>
<icon>
<mimetype>image/png</mimetype>
<width>48</width>
<height>48</height>
<depth>8</depth>
<url>icon/icon048x048.png</url>
</icon>
<icon>
<mimetype>image/jpeg</mimetype>
<width>120</width>
<height>120</height>
<depth>8</depth>
<url>icon/icon120x120.jpeg</url>
</icon>
<icon>
<mimetype>image/png</mimetype>
<width>120</width>
<height>120</height>
<depth>8</depth>
<url>icon/icon120x120.png</url></icon>
</iconList>
<serviceList>
<service>
<serviceType>urn:schemas-upnp-org:service:AVTransport:1</serviceType>
<serviceId>urn:upnp-org:serviceId:AVTransport</serviceId>
<controlURL>/dev/b8c9ae9e-fb7f-2f09-ffff-ffffc7831a22/svc/upnp-org/AVTransport/action</controlURL>
<eventSubURL>/dev/b8c9ae9e-fb7f-2f09-ffff-ffffc7831a22/svc/upnp-org/AVTransport/event</eventSubURL>
<SCPDURL>/dev/b8c9ae9e-fb7f-2f09-ffff-ffffc7831a22/svc/upnp-org/AVTransport/desc.xml</SCPDURL>
</service>
<service>
<serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType>
<serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId>
<controlURL>/dev/b8c9ae9e-fb7f-2f09-ffff-ffffc7831a22/svc/upnp-org/RenderingControl/action</controlURL>
<eventSubURL>/dev/b8c9ae9e-fb7f-2f09-ffff-ffffc7831a22/svc/upnp-org/RenderingControl/event</eventSubURL>
<SCPDURL>/dev/b8c9ae9e-fb7f-2f09-ffff-ffffc7831a22/svc/upnp-org/RenderingControl/desc.xml</SCPDURL>
</service>
<service>
<serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>
<serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>
<controlURL>/dev/b8c9ae9e-fb7f-2f09-ffff-ffffc7831a22/svc/upnp-org/ConnectionManager/action</controlURL>
<eventSubURL>/dev/b8c9ae9e-fb7f-2f09-ffff-ffffc7831a22/svc/upnp-org/ConnectionManager/event</eventSubURL>
<SCPDURL>/dev/b8c9ae9e-fb7f-2f09-ffff-ffffc7831a22/svc/upnp-org/ConnectionManager/desc.xml</SCPDURL>
</service>
</serviceList>
<av:X_RController_DeviceInfo xmlns:av="urn:mi-com:av"><av:X_RController_Version>1.0</av:X_RController_Version><av:X_RController_ServiceList><av:X_RController_Service><av:X_RController_ServiceType>controller</av:X_RController_ServiceType><av:X_RController_ActionList_URL>http://192.168.1.4:6095/</av:X_RController_ActionList_URL></av:X_RController_Service><av:X_RController_Service><av:X_RController_ServiceType>data</av:X_RController_ServiceType><av:X_RController_ActionList_URL>http://api.tv.duokanbox.com/bolt/3party/</av:X_RController_ActionList_URL></av:X_RController_Service></av:X_RController_ServiceList>
</av:X_RController_DeviceInfo>
</device>
</root>

View File

@ -1,61 +0,0 @@
<?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>StringsTable</key>
<string>Root</string>
<key>PreferenceSpecifiers</key>
<array>
<dict>
<key>Type</key>
<string>PSGroupSpecifier</string>
<key>Title</key>
<string>Group</string>
</dict>
<dict>
<key>Type</key>
<string>PSTextFieldSpecifier</string>
<key>Title</key>
<string>Name</string>
<key>Key</key>
<string>name_preference</string>
<key>DefaultValue</key>
<string></string>
<key>IsSecure</key>
<false/>
<key>KeyboardType</key>
<string>Alphabet</string>
<key>AutocapitalizationType</key>
<string>None</string>
<key>AutocorrectionType</key>
<string>No</string>
</dict>
<dict>
<key>Type</key>
<string>PSToggleSwitchSpecifier</string>
<key>Title</key>
<string>Enabled</string>
<key>Key</key>
<string>enabled_preference</string>
<key>DefaultValue</key>
<true/>
</dict>
<dict>
<key>Type</key>
<string>PSSliderSpecifier</string>
<key>Key</key>
<string>slider_preference</string>
<key>DefaultValue</key>
<real>0.5</real>
<key>MinimumValue</key>
<integer>0</integer>
<key>MaximumValue</key>
<integer>1</integer>
<key>MinimumValueImage</key>
<string></string>
<key>MaximumValueImage</key>
<string></string>
</dict>
</array>
</dict>
</plist>

View File

@ -1,208 +0,0 @@
<?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>00</key>
<real>0.0</real>
<key>03</key>
<real>0.0099999997764825821</real>
<key>05</key>
<real>0.019999999552965164</real>
<key>08</key>
<real>0.029999999329447746</real>
<key>0A</key>
<real>0.039999999105930328</real>
<key>0D</key>
<real>0.05000000074505806</real>
<key>0F</key>
<real>0.059999998658895493</real>
<key>12</key>
<real>0.070000000298023224</real>
<key>14</key>
<real>0.079999998211860657</real>
<key>17</key>
<real>0.090000003576278687</real>
<key>1A</key>
<real>0.10000000149011612</real>
<key>1C</key>
<real>0.10999999940395355</real>
<key>1F</key>
<real>0.11999999731779099</real>
<key>21</key>
<real>0.12999999523162842</real>
<key>24</key>
<real>0.14000000059604645</real>
<key>26</key>
<real>0.15000000596046448</real>
<key>29</key>
<real>0.15999999642372131</real>
<key>2B</key>
<real>0.17000000178813934</real>
<key>2E</key>
<real>0.18000000715255737</real>
<key>30</key>
<real>0.18999999761581421</real>
<key>33</key>
<real>0.20000000298023224</real>
<key>36</key>
<real>0.20999999344348907</real>
<key>38</key>
<real>0.2199999988079071</real>
<key>3B</key>
<real>0.23000000417232513</real>
<key>3D</key>
<real>0.23999999463558197</real>
<key>40</key>
<real>0.25</real>
<key>42</key>
<real>0.25999999046325684</real>
<key>45</key>
<real>0.27000001072883606</real>
<key>47</key>
<real>0.2800000011920929</real>
<key>4A</key>
<real>0.28999999165534973</real>
<key>4D</key>
<real>0.30000001192092896</real>
<key>4F</key>
<real>0.31000000238418579</real>
<key>52</key>
<real>0.31999999284744263</real>
<key>54</key>
<real>0.33000001311302185</real>
<key>57</key>
<real>0.34000000357627869</real>
<key>59</key>
<real>0.34999999403953552</real>
<key>5C</key>
<real>0.36000001430511475</real>
<key>5E</key>
<real>0.37000000476837158</real>
<key>61</key>
<real>0.37999999523162842</real>
<key>63</key>
<real>0.38999998569488525</real>
<key>66</key>
<real>0.40000000596046448</real>
<key>69</key>
<real>0.40999999642372131</real>
<key>6B</key>
<real>0.41999998688697815</real>
<key>6E</key>
<real>0.43000000715255737</real>
<key>70</key>
<real>0.43999999761581421</real>
<key>73</key>
<real>0.44999998807907104</real>
<key>75</key>
<real>0.46000000834465027</real>
<key>78</key>
<real>0.4699999988079071</real>
<key>7A</key>
<real>0.47999998927116394</real>
<key>7D</key>
<real>0.49000000953674316</real>
<key>80</key>
<real>0.5</real>
<key>82</key>
<real>0.50999999046325684</real>
<key>85</key>
<real>0.51999998092651367</real>
<key>87</key>
<real>0.52999997138977051</real>
<key>8A</key>
<real>0.54000002145767212</real>
<key>8C</key>
<real>0.55000001192092896</real>
<key>8F</key>
<real>0.56000000238418579</real>
<key>91</key>
<real>0.56999999284744263</real>
<key>94</key>
<real>0.57999998331069946</real>
<key>96</key>
<real>0.5899999737739563</real>
<key>99</key>
<real>0.60000002384185791</real>
<key>9C</key>
<real>0.61000001430511475</real>
<key>9E</key>
<real>0.62000000476837158</real>
<key>A1</key>
<real>0.62999999523162842</real>
<key>A3</key>
<real>0.63999998569488525</real>
<key>A6</key>
<real>0.64999997615814209</real>
<key>A8</key>
<real>0.6600000262260437</real>
<key>AB</key>
<real>0.67000001668930054</real>
<key>AD</key>
<real>0.68000000715255737</real>
<key>B0</key>
<real>0.68999999761581421</real>
<key>B3</key>
<real>0.69999998807907104</real>
<key>B5</key>
<real>0.70999997854232788</real>
<key>B8</key>
<real>0.72000002861022949</real>
<key>BA</key>
<real>0.73000001907348633</real>
<key>BD</key>
<real>0.74000000953674316</real>
<key>BF</key>
<real>0.75</real>
<key>C2</key>
<real>0.75999999046325684</real>
<key>C4</key>
<real>0.76999998092651367</real>
<key>C7</key>
<real>0.77999997138977051</real>
<key>C9</key>
<real>0.79000002145767212</real>
<key>CC</key>
<real>0.80000001192092896</real>
<key>CF</key>
<real>0.81000000238418579</real>
<key>D1</key>
<real>0.81999999284744263</real>
<key>D4</key>
<real>0.82999998331069946</real>
<key>D6</key>
<real>0.8399999737739563</real>
<key>D9</key>
<real>0.85000002384185791</real>
<key>DB</key>
<real>0.86000001430511475</real>
<key>DE</key>
<real>0.87000000476837158</real>
<key>E0</key>
<real>0.87999999523162842</real>
<key>E3</key>
<real>0.88999998569488525</real>
<key>E6</key>
<real>0.89999997615814209</real>
<key>E8</key>
<real>0.9100000262260437</real>
<key>EB</key>
<real>0.92000001668930054</real>
<key>ED</key>
<real>0.93000000715255737</real>
<key>F0</key>
<real>0.93999999761581421</real>
<key>F2</key>
<real>0.94999998807907104</real>
<key>F5</key>
<real>0.95999997854232788</real>
<key>F7</key>
<real>0.97000002861022949</real>
<key>FA</key>
<real>0.98000001907348633</real>
<key>FC</key>
<real>0.99000000953674316</real>
<key>FF</key>
<real>1</real>
</dict>
</plist>

View File

@ -1,26 +0,0 @@
"KEY" = "阿拉伯语";
"OK" = "حسنا";
"Back" = "الى الخلف";
"Done" = "فعله";
"Edit" = "تعديل";
"Sorry" = "آسف";
"Cancel" = "إلغاء";
"Setting" = "ضبط";
"Photos" = "الصور";
"Videos" = "أشرطة فيديو";
"Preview" = "معاينة";
"Full image" = "الصورة كاملة";
"Processing..." = "معالجة...";
"No Photos or Videos" = "لا توجد صور أو مقاطع فيديو";
"Synchronizing photos from iCloud" = "مزامنة الصور من iCloud";
"iCloud sync failed" = "iCloud فشلت المزامنة";
"Can not use camera" = "لا يمكن استخدام الكاميرا";
"Can not choose both video and photo" = "لا يمكن اختيار كل من الفيديو والصور";
"Can not choose both photo and GIF" = "لا يمكن اختيار كل من الصور و GIF";
"Select the video when in multi state, we will handle the video as a photo" = "حدد مقطع الفيديو عندما يكون في حالة متعددة، وسنعمل على معالجة مقطع الفيديو كصورة";
"Can not jump to the privacy settings page, please go to the settings page by self, thank you" = "إذا تعذّر الانتقال إلى صفحة "إعدادات الخصوصية"، فيرجى الانتقال إلى صفحة "الإعدادات" بنفسك، شكرًا لك";
"Select a maximum of %zd photos" = "حدد فقط ما يصل إلى %zd صورة";
"Select a minimum of %zd photos" = "الرجاء تحديد %zd صورة على الأقل";
"Allow %@ to access your album in \"Settings -> Privacy -> Photos\"" = "السماح لـ %@ بالوصول إلى الألبوم في \"الإعدادات > الخصوصية > الصور\"";
"Please allow %@ to access your camera in \"Settings -> Privacy -> Camera\"" = "الرجاء السماح لـ %@ بالوصول إلى الكاميرا في \"الإعدادات > الخصوصية > الكاميرا\"";
"Selected for %ld seconds" = "محدد لمدة %ld ثانية";

View File

@ -1,26 +0,0 @@
"KEY" = "德语";
"OK" = "OK";
"Back" = "Zurück";
"Done" = "Erledigt";
"Edit" = "Bearbeiten";
"Sorry" = "Es tut uns leid";
"Cancel" = "Stornieren";
"Setting" = "Rahmen";
"Photos" = "Fotos";
"Videos" = "Videos";
"Preview" = "Vorschau";
"Full image" = "Vollbild";
"Processing..." = "Wird bearbeitet...";
"No Photos or Videos" = "Keine Fotos oder Videos";
"Synchronizing photos from iCloud" = "Fotos aus iCloud synchronisieren";
"iCloud sync failed" = "iCloud Synchronisierung fehlgeschlagen";
"Can not use camera" = "Kann die Kamera nicht benutzen";
"Can not choose both video and photo" = "Video und Foto können nicht ausgewählt werden";
"Can not choose both photo and GIF" = "Foto und GIF können nicht ausgewählt werden";
"Select the video when in multi state, we will handle the video as a photo" = "Wenn Sie das Video im Multi-Status auswählen, wird es als Foto behandelt";
"Can not jump to the privacy settings page, please go to the settings page by self, thank you" = "Sie können nicht zur Seite mit den Datenschutz-Einstellungen springen; bitte navigieren Sie selbst zur Einstellungsseite. Vielen Dank.";
"Select a maximum of %zd photos" = "Wählen Sie maximal %zd Bilder aus";
"Select a minimum of %zd photos" = "Bitte wählen Sie mindestens %zd Fotos aus";
"Allow %@ to access your album in \"Settings -> Privacy -> Photos\"" = "Erlauben Sie %@ den Zugriff auf Ihr Album unter: „Einstellungen > Datenschutz > Fotos“";
"Please allow %@ to access your camera in \"Settings -> Privacy -> Camera\"" = "Erlauben Sie %@ den Zugriff auf Ihre Kamera unter: „Einstellungen > Datenschutz > Kamera“";
"Selected for %ld seconds" = "Ausgewählt für %ld Sekunden";

View File

@ -1,18 +0,0 @@
<?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>403</key>
<string>Forbidden</string>
<key>404</key>
<string>Error</string>
<key>500</key>
<string>Internal Server Error</string>
<key>10003</key>
<string>Unable to access the network</string>
<key>11000</key>
<string>Serve Error</string>
<key>11001</key>
<string>Server Data Error</string>
</dict>
</plist>

View File

@ -1,18 +0,0 @@
<?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>403</key>
<string>小程序不可用</string>
<key>404</key>
<string>小程序打开失败</string>
<key>500</key>
<string>服务不可用</string>
<key>10003</key>
<string>网络请求异常</string>
<key>11000</key>
<string>服务器异常</string>
<key>11001</key>
<string>服务器数据异常</string>
</dict>
</plist>

View File

@ -1,26 +0,0 @@
"KEY" = "西班牙语";
"OK" = "DE ACUERDO";
"Back" = "Espalda";
"Done" = "Hecho";
"Edit" = "επεξεργασία";
"Sorry" = "Lo siento";
"Cancel" = "Cancelar";
"Setting" = "Ajuste";
"Photos" = "Las fotos";
"Videos" = "Videos";
"Preview" = "Avance";
"Full image" = "Imagen completa";
"Processing..." = "Tratamiento...";
"No Photos or Videos" = "No hay fotos o videos";
"Synchronizing photos from iCloud" = "Sincronizando fotos desde iCloud";
"iCloud sync failed" = "la sincronización falló";
"Can not use camera" = "No puedo usar la camara";
"Can not choose both video and photo" = "No se puede elegir tanto el video como la foto.";
"Can not choose both photo and GIF" = "No se puede elegir tanto foto como GIF";
"Select the video when in multi state, we will handle the video as a photo" = "Seleccione el vídeo en estado múltiple, trataremos el vídeo como una fotografía";
"Can not jump to the privacy settings page, please go to the settings page by self, thank you" = "No se puede saltar a la página de ajustes de privacidad, vaya a la página de ajustes manualmente, muchas gracias";
"Select a maximum of %zd photos" = "Seleccione solamente hasta %zd imágenes";
"Select a minimum of %zd photos" = "Seleccione al menos %zd fotografías";
"Allow %@ to access your album in \"Settings -> Privacy -> Photos\"" = "Permita que %@ acceda a su galería en \"Ajustes > Privacidad > Fotografías\"";
"Please allow %@ to access your camera in \"Settings -> Privacy -> Camera\"" = "Permita que %@ acceda a su cámara en \"Ajustes > Privacidad > Cámara\"";
"Selected for %ld seconds" = "Seleccionado para %ld segundos";

View File

@ -1,162 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>非备案域名</title>
<style>
body{
text-align: center;
}
</style>
</head>
<body>
<div style="margin-top: 90px;margin-bottom: 30px;">
<svg width="75px" height="75px" viewBox="0 0 150 150" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 62 (91390) - https://sketch.com -->
<title>形状</title>
<desc>Created with Sketch.</desc>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M75,150 C33.5775,150 0,116.4225 0,75 C0,33.5775 33.5775,0 75,0 C116.4225,0 150,33.5775 150,75 C150,116.4225 116.4225,150 75,150 Z M67.5,105 C67.5,109.142136 70.8578644,112.5 75,112.5 C79.1421356,112.5 82.5,109.142136 82.5,105 C82.5,100.857864 79.1421356,97.5 75,97.5 C70.8578644,97.5 67.5,100.857864 67.5,105 Z M67.5611998,40.559988 L68.4411998,84.559988 C68.4738627,86.1931355 69.8071258,87.5 71.4405999,87.5 L78.5594001,87.5 C80.1928742,87.5 81.5261373,86.1931355 81.5588002,84.559988 L82.4388002,40.559988 C82.4719307,38.903465 81.155911,37.5337303 79.4993881,37.5005998 C79.4793946,37.5002 79.4593976,37.5 79.4394001,37.5 L70.5605999,37.5 C68.9037457,37.5 67.5605999,38.8431458 67.5605999,40.5 C67.5605999,40.5199975 67.5607999,40.5399945 67.5611998,40.559988 Z" id="形状" fill="#C9C9C9" fill-rule="nonzero"></path>
</g>
</svg>
</div>
<div style="line-height: 40px;font-size: 20px;" id="title">
无法打开域名
</div>
<div style="color: #828282;padding: 0 15px;" id="subscription">
不支持打开未备案的域名<span id="wvurl"></span>,请前往平台完成域名配置。
</div>
</body>
<script>
const getSearchObj = () => {
let searchObj = {}
const searchStr = location.search.split("?")[1]
if(searchStr !== undefined) {
const searchList = searchStr.split('&')
searchList.forEach(item => {
let key = item.split('=')[0]
let value = item.split('=')[1]
searchObj[key] = value
})
}
return searchObj
}
let type = getSearchObj().type || 0
type = parseInt(type)
const titleElem = document.querySelector('#title')
const subscriptionElem = document.querySelector('#subscription')
let pageTitle = ''
let title = ''
let subscription = ''
switch (type) {
case 1:
pageTitle = '黑名单域名'
title = '无法打开域名'
subscription = '当前访问的域名已被运营端放入黑名单'
break;
case 2:
pageTitle = '页面不存在 '
title = '无法打开页面'
subscription = '该页面不存在,请与小程序开发者联系'
break
default:
break
}
if(type !== 0) {
document.title = pageTitle
titleElem.innerText = title
subscriptionElem.innerText = subscription
}
</script>
<script>
!(function (global) {
const userAgent = global.navigator.userAgent;
const isIOS = userAgent.indexOf('iPhone') !== -1;
const callbacks = {};
let callbackIndex = 0;
const handlers = {};
const invokeHandler = function(event, paramsString, callbackId) {
if (isIOS) {
global.webkit.messageHandlers.webInvokeHandler.postMessage({
C: event,
paramsString: paramsString,
callbackId: callbackId
});
} else {
const jsCoreHandleResult = FinChatJSCore.webInvokeHandler(event, paramsString, callbackId);
if (typeof jsCoreHandleResult !== 'undefined' && typeof callbacks[callbackId] === 'function' && jsCoreHandleResult !== '') {
try {
jsCoreHandleResult = JSON.parse(jsCoreHandleResult)
} catch(e) {
jsCoreHandleResult = {}
}
callbacks[callbackId](jsCoreHandleResult),
delete callbacks[callbackId]
}
}
};
const invoke = function(event, params, callback) {
// postMessage
const paramsString = JSON.stringify(params || {});
const callbackId = ++callbackIndex
callbacks[callbackId] = callback
invokeHandler(event, paramsString, callbackId)
};
const subscribe = function (eventName, handler) {
handlers[eventName] = handler
};
const webInvokeCallbackHandler = function (callbackId, params) {
const callback = callbacks[callbackId];
if (typeof callback === 'function') callback(params);
delete callbacks[callbackId]
};
const webSubscribeCallBackHandler = function (eventName, data, webviewId, reportParams) {
const handler = handlers[eventName];
if (typeof handler === 'function') {
handler(data, webviewId, reportParams)
}
}
global.FinChatJSBridge = {
invoke,
subscribe,
webInvokeCallbackHandler,
webSubscribeCallBackHandler,
}
})(window)
</script>
<script>
window.FinChatJSBridge.invoke('initPage', {}, (pageId) => {
window.FinChatJSBridge.invoke('getNonBusinessDomainHtmlParams', { pageId }, (result) => {
let wvurl = result.url;
const idx = wvurl.indexOf('://');
if (idx>0) {
const idx2 = wvurl.indexOf('/', (idx+3));
if (idx2 > 0) {
wvurl = wvurl.substring(0,idx2)
}
} else {
const idx2 = wvurl.indexOf('/');
if (idx2 > 0) {
wvurl = wvurl.substring(0,idx2)
}
}
document.getElementById('wvurl').innerText = wvurl.replace(/<script>/g,"").replace(/<\/script>/g,"")
});
});
</script>
</html>

View File

@ -1,26 +0,0 @@
"KEY" = "法语";
"OK" = "D'accord";
"Back" = "Retour";
"Done" = "Terminé";
"Edit" = "Éditer";
"Sorry" = "Pardon";
"Cancel" = "Annuler";
"Setting" = "Réglage";
"Photos" = "Photos";
"Videos" = "Vidéos";
"Preview" = "Aperçu";
"Full image" = "Image complète";
"Processing..." = "En traitement...";
"No Photos or Videos" = "Aucune photo ou vidéo";
"Synchronizing photos from iCloud" = "Synchroniser des photos depuis iCloud";
"iCloud sync failed" = "iCloud échec de la synchronisation";
"Can not use camera" = "Impossible d'utiliser la caméra";
"Can not choose both video and photo" = "Impossible de choisir à la fois la vidéo et la photo";
"Can not choose both photo and GIF" = "Impossible de choisir à la fois photo et GIF";
"Select the video when in multi state, we will handle the video as a photo" = "Sélectionnez la vidéo lorsquelle est en état multiple, nous la traiterons comme une photo";
"Can not jump to the privacy settings page, please go to the settings page by self, thank you" = "Impossible d'ouvrir la page des paramètres de confidentialité, veuillez accéder vous-même à la page des paramètres, merci";
"Select a maximum of %zd photos" = "Vous pouvez uniquement sélectionner un maximum de %zd images";
"Select a minimum of %zd photos" = "Veuillez sélectionner un minimum de %zd photos";
"Allow %@ to access your album in \"Settings -> Privacy -> Photos\"" = "Autorisez %@ à accéder à votre album dans « Paramètres > Confidentialité > Photos »";
"Please allow %@ to access your camera in \"Settings -> Privacy -> Camera\"" = "Autorisez %@ à accéder à votre appareil photo dans « Paramètres > Confidentialité > Appareil photo »";
"Selected for %ld seconds" = "Sélectionné pendant %ld secondes";

View File

@ -1,26 +0,0 @@
"KEY" = "日语";
"OK" = "OK";
"Back" = "バック";
"Done" = "完了";
"Edit" = "編集する";
"Sorry" = "ごめんなさい";
"Cancel" = "キャンセル";
"Setting" = "設定";
"Photos" = "写真";
"Videos" = "動画";
"Preview" = "プレビュー";
"Full image" = "フルイメージ";
"Processing..." = "処理...";
"No Photos or Videos" = "写真やビデオはありません";
"Synchronizing photos from iCloud" = "iCloudから写真を同期する";
"iCloud sync failed" = "iCloud同期に失敗しました";
"Can not use camera" = "カメラが使えない";
"Can not choose both video and photo" = "ビデオと写真の両方を選択することはできません";
"Can not choose both photo and GIF" = "写真とGIFの両方を選択することはできません";
"Select the video when in multi state, we will handle the video as a photo" = "多肢選択の状態で、ビデオを選択すると、ビデオをデフォルトに画像として送信します。";
"Can not jump to the privacy settings page, please go to the settings page by self, thank you" = "プライバシー設定画面にジャンプできません。手動で設定画面を表示してください。";
"Select a maximum of %zd photos" = "写真は多くとも%zd 枚選択できます。";
"Select a minimum of %zd photos" = "少なくとも %zd 枚の写真を選択してください。";
"Allow %@ to access your album in \"Settings -> Privacy -> Photos\"" = "iPhoneの「設定-プライバシー-写真」のオプションで、r%@の携帯電話のアルバムへのアクセス権限を許可してください。";
"Please allow %@ to access your camera in \"Settings -> Privacy -> Camera\"" = "iPhoneの「設定-プライバシー-カメラ」で、%@のカメラへのアクセス権限を許可してください。";
"Selected for %ld seconds" = "%ld 秒間選択されました";

View File

@ -1,130 +0,0 @@
<?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>A</key>
<string>65</string>
<key>B</key>
<string>66</string>
<key>C</key>
<string>67</string>
<key>D</key>
<string>68</string>
<key>E</key>
<string>69</string>
<key>F</key>
<string>70</string>
<key>G</key>
<string>71</string>
<key>H</key>
<string>72</string>
<key>I</key>
<string>73</string>
<key>J</key>
<string>74</string>
<key>K</key>
<string>75</string>
<key>L</key>
<string>76</string>
<key>M</key>
<string>77</string>
<key>N</key>
<string>78</string>
<key>O</key>
<string>79</string>
<key>P</key>
<string>80</string>
<key>Q</key>
<string>81</string>
<key>R</key>
<string>82</string>
<key>S</key>
<string>83</string>
<key>T</key>
<string>84</string>
<key>U</key>
<string>85</string>
<key>V</key>
<string>86</string>
<key>W</key>
<string>87</string>
<key>X</key>
<string>88</string>
<key>Y</key>
<string>89</string>
<key>Z</key>
<string>90</string>
<key>0</key>
<string>48</string>
<key>1</key>
<string>49</string>
<key>2</key>
<string>50</string>
<key>3</key>
<string>51</string>
<key>4</key>
<string>52</string>
<key>5</key>
<string>53</string>
<key>6</key>
<string>54</string>
<key>7</key>
<string>55</string>
<key>8</key>
<string>56</string>
<key>9</key>
<string>57</string>
<key>a</key>
<string>97</string>
<key>b</key>
<string>98</string>
<key>c</key>
<string>99</string>
<key>d</key>
<string>100</string>
<key>e</key>
<string>101</string>
<key>f</key>
<string>102</string>
<key>g</key>
<string>103</string>
<key>h</key>
<string>104</string>
<key>i</key>
<string>105</string>
<key>j</key>
<string>106</string>
<key>k</key>
<string>107</string>
<key>l</key>
<string>108</string>
<key>m</key>
<string>109</string>
<key>n</key>
<string>110</string>
<key>o</key>
<string>111</string>
<key>p</key>
<string>112</string>
<key>q</key>
<string>113</string>
<key>r</key>
<string>114</string>
<key>s</key>
<string>115</string>
<key>t</key>
<string>116</string>
<key>u</key>
<string>117</string>
<key>v</key>
<string>118</string>
<key>w</key>
<string>119</string>
<key>x</key>
<string>120</string>
<key>y</key>
<string>121</string>
<key>z</key>
<string>122</string>
</dict>
</plist>

View File

@ -1,26 +0,0 @@
"KEY" = "朝鲜语";
"OK" = "그래";
"Back" = "뒤로";
"Done" = "완료";
"Edit" = "편집하다";
"Sorry" = "미안해요";
"Cancel" = "취소";
"Setting" = "설정";
"Photos" = "사진";
"Videos" = "동영상";
"Preview" = "미리 보기";
"Full image" = "전체 이미지";
"Processing..." = "처리...";
"No Photos or Videos" = "아무 사진이 나 동영상";
"Synchronizing photos from iCloud" = "ICloud에서 사진을 동기화";
"iCloud sync failed" = "iCloud동기화 실패";
"Can not use camera" = "카메라를 사용할 수 없습니다.";
"Can not choose both video and photo" = "비디오와 사진 둘 다를 선택할 수 없습니다.";
"Can not choose both photo and GIF" = "사진 및 GIF를 선택할 수 없습니다.";
"Select the video when in multi state, we will handle the video as a photo" = "다중 선택 모드에서 비디오를 선택하면 비디오를 사진으로 처리합니다.";
"Can not jump to the privacy settings page, please go to the settings page by self, thank you" = "개인 정보 보호 설정 페이지로 바로 이동할 수 없습니다. 설정 페이지로 직접 이동해 주세요. 감사합니다.";
"Select a maximum of %zd photos" = "최대 %zd장의 이미지만 선택할 수 있습니다.";
"Select a minimum of %zd photos" = "최소 %zd장의 사진을 선택해 주세요.";
"Allow %@ to access your album in \"Settings -> Privacy -> Photos\"" = "\"설정 > 개인 정보 보호 > 사진\"에서 %@이(가) 앨범에 접근할 수 있도록 허용하세요.";
"Please allow %@ to access your camera in \"Settings -> Privacy -> Camera\"" = "\"설정 > 개인 정보 보호 > 카메라\"에서 %@이(가) 카메라에 접근할 수 있도록 허용하세요.";
"Selected for %ld seconds" = "%ld 초 동안 선택됨";

Some files were not shown because too many files have changed in this diff Show More