@ -0,0 +1,12 @@ |
|||
/node_modules |
|||
/oh_modules |
|||
/local.properties |
|||
/.idea |
|||
**/build |
|||
/.hvigor |
|||
.cxx |
|||
/.clangd |
|||
/.clang-format |
|||
/.clang-tidy |
|||
**/.test |
|||
/.appanalyzer |
|||
@ -0,0 +1,10 @@ |
|||
{ |
|||
"app": { |
|||
"bundleName": "com.example.smartcommunity", |
|||
"vendor": "example", |
|||
"versionCode": 1000000, |
|||
"versionName": "1.0.0", |
|||
"icon": "$media:layered_image", |
|||
"label": "$string:app_name" |
|||
} |
|||
} |
|||
@ -0,0 +1,8 @@ |
|||
{ |
|||
"string": [ |
|||
{ |
|||
"name": "app_name", |
|||
"value": "SmartCommunity" |
|||
} |
|||
] |
|||
} |
|||
|
After Width: | Height: | Size: 90 KiB |
|
After Width: | Height: | Size: 15 KiB |
@ -0,0 +1,7 @@ |
|||
{ |
|||
"layered-image": |
|||
{ |
|||
"background" : "$media:background", |
|||
"foreground" : "$media:foreground" |
|||
} |
|||
} |
|||
@ -0,0 +1,42 @@ |
|||
{ |
|||
"app": { |
|||
"signingConfigs": [], |
|||
"products": [ |
|||
{ |
|||
"name": "default", |
|||
"signingConfig": "default", |
|||
"targetSdkVersion": "6.0.1(21)", |
|||
"compatibleSdkVersion": "6.0.1(21)", |
|||
"runtimeOS": "HarmonyOS", |
|||
"buildOption": { |
|||
"strictMode": { |
|||
"caseSensitiveCheck": true, |
|||
"useNormalizedOHMUrl": true |
|||
} |
|||
} |
|||
} |
|||
], |
|||
"buildModeSet": [ |
|||
{ |
|||
"name": "debug", |
|||
}, |
|||
{ |
|||
"name": "release" |
|||
} |
|||
] |
|||
}, |
|||
"modules": [ |
|||
{ |
|||
"name": "entry", |
|||
"srcPath": "./entry", |
|||
"targets": [ |
|||
{ |
|||
"name": "default", |
|||
"applyToProducts": [ |
|||
"default" |
|||
] |
|||
} |
|||
] |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,32 @@ |
|||
{ |
|||
"files": [ |
|||
"**/*.ets" |
|||
], |
|||
"ignore": [ |
|||
"**/src/ohosTest/**/*", |
|||
"**/src/test/**/*", |
|||
"**/src/mock/**/*", |
|||
"**/node_modules/**/*", |
|||
"**/oh_modules/**/*", |
|||
"**/build/**/*", |
|||
"**/.preview/**/*" |
|||
], |
|||
"ruleSet": [ |
|||
"plugin:@performance/recommended", |
|||
"plugin:@typescript-eslint/recommended" |
|||
], |
|||
"rules": { |
|||
"@security/no-unsafe-aes": "error", |
|||
"@security/no-unsafe-hash": "error", |
|||
"@security/no-unsafe-mac": "warn", |
|||
"@security/no-unsafe-dh": "error", |
|||
"@security/no-unsafe-dsa": "error", |
|||
"@security/no-unsafe-ecdsa": "error", |
|||
"@security/no-unsafe-rsa-encrypt": "error", |
|||
"@security/no-unsafe-rsa-sign": "error", |
|||
"@security/no-unsafe-rsa-key": "error", |
|||
"@security/no-unsafe-dsa-key": "error", |
|||
"@security/no-unsafe-dh-key": "error", |
|||
"@security/no-unsafe-3des": "error" |
|||
} |
|||
} |
|||
@ -0,0 +1,6 @@ |
|||
/node_modules |
|||
/oh_modules |
|||
/.preview |
|||
/build |
|||
/.cxx |
|||
/.test |
|||
@ -0,0 +1,33 @@ |
|||
{ |
|||
"apiType": "stageMode", |
|||
"buildOption": { |
|||
"resOptions": { |
|||
"copyCodeResource": { |
|||
"enable": false |
|||
} |
|||
} |
|||
}, |
|||
"buildOptionSet": [ |
|||
{ |
|||
"name": "release", |
|||
"arkOptions": { |
|||
"obfuscation": { |
|||
"ruleOptions": { |
|||
"enable": false, |
|||
"files": [ |
|||
"./obfuscation-rules.txt" |
|||
] |
|||
} |
|||
} |
|||
} |
|||
}, |
|||
], |
|||
"targets": [ |
|||
{ |
|||
"name": "default" |
|||
}, |
|||
{ |
|||
"name": "ohosTest", |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,6 @@ |
|||
import { hapTasks } from '@ohos/hvigor-ohos-plugin'; |
|||
|
|||
export default { |
|||
system: hapTasks, /* Built-in plugin of Hvigor. It cannot be modified. */ |
|||
plugins: [] /* Custom plugin to extend the functionality of Hvigor. */ |
|||
} |
|||
@ -0,0 +1,23 @@ |
|||
# Define project specific obfuscation rules here. |
|||
# You can include the obfuscation configuration files in the current module's build-profile.json5. |
|||
# |
|||
# For more details, see |
|||
# https://developer.huawei.com/consumer/cn/doc/harmonyos-guides/source-obfuscation |
|||
|
|||
# Obfuscation options: |
|||
# -disable-obfuscation: disable all obfuscations |
|||
# -enable-property-obfuscation: obfuscate the property names |
|||
# -enable-toplevel-obfuscation: obfuscate the names in the global scope |
|||
# -compact: remove unnecessary blank spaces and all line feeds |
|||
# -remove-log: remove all console.* statements |
|||
# -print-namecache: print the name cache that contains the mapping from the old names to new names |
|||
# -apply-namecache: reuse the given cache file |
|||
|
|||
# Keep options: |
|||
# -keep-property-name: specifies property names that you want to keep |
|||
# -keep-global-name: specifies names that you want to keep in the global scope |
|||
|
|||
-enable-property-obfuscation |
|||
-enable-toplevel-obfuscation |
|||
-enable-filename-obfuscation |
|||
-enable-export-obfuscation |
|||
@ -0,0 +1,31 @@ |
|||
{ |
|||
"meta": { |
|||
"stableOrder": true, |
|||
"enableUnifiedLockfile": false |
|||
}, |
|||
"lockfileVersion": 3, |
|||
"ATTENTION": "THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.", |
|||
"specifiers": { |
|||
"@hybrid/web-container@2.0.0-rc.7": "@hybrid/web-container@2.0.0-rc.7", |
|||
"@ohos/videocompressor@1.0.2": "@ohos/videocompressor@1.0.2" |
|||
}, |
|||
"packages": { |
|||
"@hybrid/web-container@2.0.0-rc.7": { |
|||
"name": "@hybrid/web-container", |
|||
"version": "2.0.0-rc.7", |
|||
"integrity": "sha512-aaTBaJ4WfimEwsbNAkeWlp0y9jr2w/UhQxwPlenwDWpp4NBiHB8MgECEc2Wy6/NZclJPO/gSJRdHFr94I9kIvA==", |
|||
"resolved": "https://ohpm.openharmony.cn/ohpm/@hybrid/web-container/-/web-container-2.0.0-rc.7.har", |
|||
"registryType": "ohpm", |
|||
"dependencies": { |
|||
"@ohos/videocompressor": "1.0.2" |
|||
} |
|||
}, |
|||
"@ohos/videocompressor@1.0.2": { |
|||
"name": "@ohos/videocompressor", |
|||
"version": "1.0.2", |
|||
"integrity": "sha512-m5fU1MIvsfLNJg2RDgVAdbpt5S7N0Nj7kQJ0KFcLKubcIIBGCRRfQo/EoMM1P6Pr7AJSjOPp8jKbaizLGcv/1A==", |
|||
"resolved": "https://ohpm.openharmony.cn/ohpm/@ohos/videocompressor/-/videocompressor-1.0.2.har", |
|||
"registryType": "ohpm" |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,13 @@ |
|||
{ |
|||
"license": "ISC", |
|||
"devDependencies": {}, |
|||
"name": "entry", |
|||
"description": "演示如何使用TaroWebContainer组件", |
|||
"version": "1.0.0", |
|||
"dependencies": { |
|||
"@hybrid/web-container": "2.0.0-rc.7" |
|||
}, |
|||
"main": "", |
|||
"author": "", |
|||
} |
|||
|
|||
@ -0,0 +1,54 @@ |
|||
import { AbilityConstant, ConfigurationConstant, UIAbility, Want } from '@kit.AbilityKit'; |
|||
import { hilog } from '@kit.PerformanceAnalysisKit'; |
|||
import { window } from '@kit.ArkUI'; |
|||
import { TaroHybridManager } from '@hybrid/web-container'; |
|||
|
|||
const DOMAIN = 0x0000; |
|||
|
|||
export default class EntryAbility extends UIAbility { |
|||
onCreate(want: Want, launchParam: AbilityConstant.LaunchParam): void { |
|||
try { |
|||
this.context.getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_NOT_SET); |
|||
} catch (err) { |
|||
hilog.error(DOMAIN, 'testTag', 'Failed to set colorMode. Cause: %{public}s', JSON.stringify(err)); |
|||
} |
|||
hilog.info(DOMAIN, 'testTag', '%{public}s', 'Ability onCreate'); |
|||
} |
|||
|
|||
onDestroy(): void { |
|||
hilog.info(DOMAIN, 'testTag', '%{public}s', 'Ability onDestroy'); |
|||
} |
|||
|
|||
onWindowStageCreate(windowStage: window.WindowStage): void { |
|||
hilog.info(DOMAIN, 'testTag', '%{public}s', 'Ability onWindowStageCreate'); |
|||
|
|||
windowStage.loadContent('pages/Index', (err) => { |
|||
if (err.code) { |
|||
hilog.error(DOMAIN, 'testTag', 'Failed to load the content. Cause: %{public}s', JSON.stringify(err)); |
|||
return; |
|||
} |
|||
hilog.info(DOMAIN, 'testTag', 'Succeeded in loading the content.'); |
|||
const windowClass = windowStage.getMainWindowSync(); |
|||
TaroHybridManager.init({ |
|||
uiAbilityContext: this.context, |
|||
windowClass: windowClass, |
|||
rawFileName: 'spa', |
|||
}); |
|||
}); |
|||
} |
|||
|
|||
onWindowStageDestroy(): void { |
|||
// Main window is destroyed, release UI related resources |
|||
hilog.info(DOMAIN, 'testTag', '%{public}s', 'Ability onWindowStageDestroy'); |
|||
} |
|||
|
|||
onForeground(): void { |
|||
// Ability has brought to foreground |
|||
hilog.info(DOMAIN, 'testTag', '%{public}s', 'Ability onForeground'); |
|||
} |
|||
|
|||
onBackground(): void { |
|||
// Ability has back to background |
|||
hilog.info(DOMAIN, 'testTag', '%{public}s', 'Ability onBackground'); |
|||
} |
|||
} |
|||
@ -0,0 +1,16 @@ |
|||
import { hilog } from '@kit.PerformanceAnalysisKit'; |
|||
import { BackupExtensionAbility, BundleVersion } from '@kit.CoreFileKit'; |
|||
|
|||
const DOMAIN = 0x0000; |
|||
|
|||
export default class EntryBackupAbility extends BackupExtensionAbility { |
|||
async onBackup() { |
|||
hilog.info(DOMAIN, 'testTag', 'onBackup ok'); |
|||
await Promise.resolve(); |
|||
} |
|||
|
|||
async onRestore(bundleVersion: BundleVersion) { |
|||
hilog.info(DOMAIN, 'testTag', 'onRestore ok %{public}s', JSON.stringify(bundleVersion)); |
|||
await Promise.resolve(); |
|||
} |
|||
} |
|||
@ -0,0 +1,43 @@ |
|||
import { TaroWebContainer, HostPageState, TaroWebController } from '@hybrid/web-container'; |
|||
|
|||
@Entry |
|||
@Component |
|||
struct Index { |
|||
@State pageState: HostPageState = HostPageState.PageInit; |
|||
@State taroWebController: TaroWebController = new TaroWebController(); |
|||
|
|||
onBackPress(): boolean { |
|||
if (this.taroWebController.accessBackward()) { |
|||
this.taroWebController.backward(); |
|||
return true; |
|||
} |
|||
return false; |
|||
} |
|||
|
|||
aboutToAppear(): void { |
|||
this.pageState = HostPageState.PageOnShow; |
|||
} |
|||
|
|||
aboutToDisappear(): void { |
|||
this.pageState = HostPageState.PageOnHide; |
|||
} |
|||
|
|||
build() { |
|||
Column() { |
|||
TaroWebContainer({ |
|||
indexHtmlPath: 'spa/index.html', |
|||
webUrl: 'resource://rawfile/spa/index.html', |
|||
webUrlPrefix: 'resource://rawfile/spa/', |
|||
pageState: this.pageState, |
|||
taroWebController: this.taroWebController, |
|||
useCache: false, |
|||
forceDarkAccess: true, |
|||
isFullScreen: true, |
|||
}) |
|||
.width('100%') |
|||
.height('100%') |
|||
} |
|||
.width('100%') |
|||
.height('100%') |
|||
} |
|||
} |
|||
@ -0,0 +1,50 @@ |
|||
{ |
|||
"module": { |
|||
"name": "entry", |
|||
"type": "entry", |
|||
"description": "$string:module_desc", |
|||
"mainElement": "EntryAbility", |
|||
"deviceTypes": [ |
|||
"phone" |
|||
], |
|||
"deliveryWithInstall": true, |
|||
"installationFree": false, |
|||
"pages": "$profile:main_pages", |
|||
"abilities": [ |
|||
{ |
|||
"name": "EntryAbility", |
|||
"srcEntry": "./ets/entryability/EntryAbility.ets", |
|||
"description": "$string:EntryAbility_desc", |
|||
"icon": "$media:layered_image", |
|||
"label": "$string:EntryAbility_label", |
|||
"startWindowIcon": "$media:startIcon", |
|||
"startWindowBackground": "$color:start_window_background", |
|||
"exported": true, |
|||
"skills": [ |
|||
{ |
|||
"entities": [ |
|||
"entity.system.home" |
|||
], |
|||
"actions": [ |
|||
"ohos.want.action.home" |
|||
] |
|||
} |
|||
] |
|||
} |
|||
], |
|||
"extensionAbilities": [ |
|||
{ |
|||
"name": "EntryBackupAbility", |
|||
"srcEntry": "./ets/entrybackupability/EntryBackupAbility.ets", |
|||
"type": "backup", |
|||
"exported": false, |
|||
"metadata": [ |
|||
{ |
|||
"name": "ohos.extension.backup", |
|||
"resource": "$profile:backup_config" |
|||
} |
|||
], |
|||
} |
|||
] |
|||
} |
|||
} |
|||
@ -0,0 +1,8 @@ |
|||
{ |
|||
"color": [ |
|||
{ |
|||
"name": "start_window_background", |
|||
"value": "#FFFFFF" |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,8 @@ |
|||
{ |
|||
"float": [ |
|||
{ |
|||
"name": "page_text_font_size", |
|||
"value": "50fp" |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,16 @@ |
|||
{ |
|||
"string": [ |
|||
{ |
|||
"name": "module_desc", |
|||
"value": "module description" |
|||
}, |
|||
{ |
|||
"name": "EntryAbility_desc", |
|||
"value": "description" |
|||
}, |
|||
{ |
|||
"name": "EntryAbility_label", |
|||
"value": "label" |
|||
} |
|||
] |
|||
} |
|||
|
After Width: | Height: | Size: 90 KiB |
|
After Width: | Height: | Size: 8.6 KiB |
@ -0,0 +1,7 @@ |
|||
{ |
|||
"layered-image": |
|||
{ |
|||
"background" : "$media:background", |
|||
"foreground" : "$media:foreground" |
|||
} |
|||
} |
|||
|
After Width: | Height: | Size: 20 KiB |
@ -0,0 +1,3 @@ |
|||
{ |
|||
"allowToBackupRestore": true |
|||
} |
|||
@ -0,0 +1,5 @@ |
|||
{ |
|||
"src": [ |
|||
"pages/Index" |
|||
] |
|||
} |
|||
@ -0,0 +1,8 @@ |
|||
{ |
|||
"color": [ |
|||
{ |
|||
"name": "start_window_background", |
|||
"value": "#000000" |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1 @@ |
|||
.about-page{align-items:center;background:#f5f4f1;display:flex;flex-direction:column;min-height:100vh;padding:2rem 1.2rem 5rem}.about-logo-wrap{margin-bottom:.8rem}.about-logo{height:2rem;width:4rem}.about-name{color:#1a1a1a;font-size:1rem;font-weight:600;margin-bottom:.4rem}.about-version{color:#999;font-size:.65rem;margin-bottom:1.6rem}.about-item{align-items:center;border-top:.05rem solid rgba(0,0,0,.06);display:flex;max-width:15rem;padding:.7rem 0;width:100%}.about-item-label{color:#666;font-size:.7rem}.about-item-value{color:#1a1a1a;flex:1;font-size:.7rem;margin-right:.2rem;text-align:right}.about-item-arrow{color:#ccc;font-size:.7rem}.about-copyright{color:#999;font-size:.6rem;margin-top:2rem}.about-footer{background:#fff;bottom:0;left:0;padding:.6rem 1.2rem calc(.6rem + env(safe-area-inset-bottom));position:fixed;right:0}.about-close{align-items:center;border-radius:.4rem;color:#fff;display:flex;font-size:.8rem;font-weight:500;height:2.2rem;justify-content:center;width:100%} |
|||
@ -0,0 +1 @@ |
|||
.circles-page{background:#f5f4f1;min-height:100vh;padding:.6rem}.circles-item{align-items:center;background:#fff;border-radius:.5rem;box-shadow:0 .1rem .6rem rgba(0,0,0,.04);display:flex;flex-direction:row;justify-content:space-between;margin-bottom:.4rem;padding:.75rem .8rem}.circles-item-txt{color:#1a1a1a;font-size:.75rem}.circles-item-arrow{color:#999;font-size:.9rem}.circles-all-page,.circles-create-page{background:#f5f4f1;min-height:100vh}.circles-all-empty,.circles-create-empty{color:#999;font-size:.7rem;padding:3rem 1.2rem;text-align:center} |
|||
@ -0,0 +1 @@ |
|||
.property-report-page{background:#f5f4f1;min-height:100vh;padding-bottom:4.5rem}.property-report-header{display:flex;justify-content:flex-end;padding:.6rem .8rem}.property-report-link{color:#ff7600;font-size:.7rem}.property-report-form{background:#fff;border-radius:.5rem;box-shadow:0 .1rem .6rem rgba(0,0,0,.04);margin:0 .6rem .6rem;padding:.8rem}.property-report-field{align-items:flex-start;display:flex;margin-bottom:.8rem}.property-report-label{color:#1a1a1a;flex-shrink:0;font-size:.7rem;line-height:2.2rem;width:5.5rem}.property-report-required{color:#ff7600}.property-report-value{align-items:center;background:rgba(0,0,0,.03);border-radius:.4rem;color:#1a1a1a;display:flex;flex:1;font-size:.7rem;justify-content:space-between;min-height:2.2rem;padding:0 .6rem}.property-report-arrow{color:#999;font-size:.8rem;margin-left:.4rem}.property-report-value-text{color:#1a1a1a;flex:1;font-size:.7rem;line-height:2.2rem;min-height:2.2rem;padding:0 .6rem}.property-report-textarea{background:rgba(0,0,0,.03);border-radius:.4rem;box-sizing:border-box;color:#1a1a1a;flex:1;font-size:.7rem;height:12rem;line-height:1.6;min-height:12rem;padding:.6rem;width:100%}.property-report-placeholder{color:#999}.property-report-field-desc{align-items:stretch;flex-direction:column}.property-report-field-desc .property-report-label,.property-report-label-desc{line-height:1.5;margin-bottom:.4rem;width:auto}.property-report-field-desc .property-report-textarea,.property-report-textarea-desc{flex:none;width:100%}.property-report-field-images{align-items:stretch;flex-direction:column}.property-report-field-row{align-items:baseline;display:flex;margin-bottom:.5rem}.property-report-field-row .property-report-label,.property-report-label-row{line-height:1.5;width:auto}.property-report-hint{color:#999;font-size:.6rem;margin-left:.3rem}.property-report-images-wrap{display:flex;flex-wrap:wrap;gap:.4rem}.property-report-file-item{border-radius:.3rem;height:5rem;overflow:hidden;position:relative;width:5rem}.property-report-file-img{display:flex;height:100%;width:100%}.property-report-file-del{align-items:center;background:rgba(0,0,0,.5);border-radius:0 .3rem 0 .3rem;display:flex;height:1.4rem;justify-content:center;position:absolute;right:0;top:0;width:1.4rem}.property-report-file-del-x{color:#fff;font-size:1rem;line-height:1}.property-report-file-add{align-items:center;background:rgba(0,0,0,.02);border:.05rem dashed rgba(0,0,0,.2);border-radius:.3rem;box-sizing:border-box;display:flex;height:5rem;justify-content:center;width:5rem}.property-report-file-add-icon{color:#999;font-size:1.6rem;line-height:1}.property-report-uploading{background:rgba(255,118,0,.08);border-radius:.5rem;color:#ff7600;font-size:.65rem;margin:0 .6rem .6rem;padding:.6rem .8rem;text-align:center}.property-report-footer{background:#fff;bottom:0;left:0;padding:.6rem .8rem calc(1.2rem + env(safe-area-inset-bottom));position:fixed;right:0}.property-report-submit{align-items:center;border-radius:.4rem;color:#fff;display:flex;font-size:.8rem;font-weight:500;height:2.2rem;justify-content:center;width:100%} |
|||
@ -0,0 +1 @@ |
|||
.agreement-page{background:#f5f4f1;min-height:100vh}.agreement-scroll{height:100vh}.agreement-content{padding:1.2rem .8rem 3rem}.agreement-title{color:#1a1a1a;display:block;font-size:1rem;font-weight:600;margin-bottom:.6rem}.agreement-date{color:#999;display:block;font-size:.6rem;margin-bottom:1.2rem}.agreement-text{color:#666;font-size:.7rem;line-height:1.8;white-space:pre-wrap} |
|||
@ -0,0 +1 @@ |
|||
.circles-page{background:#f5f4f1;min-height:100vh;padding:.6rem}.circles-item{align-items:center;background:#fff;border-radius:.5rem;box-shadow:0 .1rem .6rem rgba(0,0,0,.04);display:flex;flex-direction:row;justify-content:space-between;margin-bottom:.4rem;padding:.75rem .8rem}.circles-item-txt{color:#1a1a1a;font-size:.75rem}.circles-item-arrow{color:#999;font-size:.9rem}.circles-all-page,.circles-create-page{background:#f5f4f1;min-height:100vh}.circles-all-empty,.circles-create-empty{color:#999;font-size:.7rem;padding:3rem 1.2rem;text-align:center} |
|||
@ -0,0 +1 @@ |
|||
.userinfo-page{background:#f5f4f1;min-height:100vh;padding:.6rem .6rem 5rem}.userinfo-list{background:#fff;border-radius:.5rem;box-shadow:0 .1rem .6rem rgba(0,0,0,.04);overflow:hidden}.userinfo-row{align-items:center;border-bottom:.05rem solid rgba(0,0,0,.06);display:flex;flex-direction:row;justify-content:space-between;padding:.75rem .8rem}.userinfo-row:last-child{border-bottom:none}.userinfo-avatar-row{padding:.8rem}.userinfo-avatar-right{align-items:center;display:flex;gap:.4rem}.userinfo-avatar{border-radius:50%;height:3rem;width:3rem}.userinfo-avatar-placeholder{background:rgba(0,0,0,.06);border-radius:50%;height:3rem;width:3rem}.userinfo-avatar-hint{color:#999;font-size:.65rem;margin-right:.2rem}.userinfo-label{color:#1a1a1a;flex-shrink:0;font-size:.75rem;font-weight:500}.userinfo-input{color:#1a1a1a;flex:1;font-size:.7rem;margin-left:.6rem;text-align:right}.userinfo-placeholder{color:#999}.userinfo-picker-value{align-items:center;color:#1a1a1a;display:flex;font-size:.7rem}.userinfo-picker-value .userinfo-placeholder{color:#999}.userinfo-value{color:#666;font-size:.7rem}.userinfo-arrow{color:#ccc;font-size:.8rem;margin-left:.2rem}.userinfo-phone-row .userinfo-value,.userinfo-value-phone{flex:1;text-align:right}.userinfo-footer{background:#fff;bottom:0;left:0;padding:.6rem .8rem calc(.6rem + env(safe-area-inset-bottom));position:fixed;right:0}.userinfo-save{align-items:center;border-radius:.4rem;color:#fff;display:flex;font-size:.8rem;font-weight:500;height:2.2rem;justify-content:center;width:100%} |
|||
@ -0,0 +1 @@ |
|||
.inventory-detail-page{background:#f5f4f1;min-height:100vh;padding:1.2rem}.inventory-detail-placeholder{color:#999;font-size:.7rem} |
|||
@ -0,0 +1 @@ |
|||
.inventory-page{background:#f5f4f1;min-height:100vh}.inventory-placeholder{padding:3rem 1.2rem;text-align:center}.inventory-placeholder-txt{color:#999;font-size:.7rem}.inventory-detail-btn{align-items:center;border-radius:.4rem;color:#fff;display:flex;font-size:.7rem;font-weight:500;justify-content:center;margin-top:1rem;padding:.6rem} |
|||
@ -0,0 +1 @@ |
|||
.page{background:#f5f4f1;min-height:100vh;padding-bottom:3rem}.detailWrap{background:#fff;border-radius:.5rem;box-shadow:0 .1rem .6rem rgba(0,0,0,.04);margin:0 .6rem .6rem;padding:.75rem}.headerRow{display:flex;flex-direction:row;width:100%}.headerIcon{flex-shrink:0;height:2rem;margin-right:.5rem;width:2rem}.headerIconImage{border-radius:1rem;height:2rem;width:2rem}.headerInfo{flex:1;min-width:0}.headerInfoName{color:#1a1a1a;font-size:.7rem;margin-bottom:.2rem}.headerInfoSubText{color:#999;font-size:.6rem}.contextView{margin-bottom:.5rem;margin-top:.5rem}.contentText{color:#1a1a1a;font-size:.75rem;line-height:1.5}.tagList{display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:.5rem}.tag{background:rgba(255,118,0,.12);border-radius:.2rem;margin-bottom:.2rem;margin-right:.5rem;padding:.15rem .25rem}.tagText{color:#ff7600;font-size:.5rem}.commentSection{background:transparent;margin-top:.6rem}.commentTitle{background:#fff;border-radius:.5rem;box-shadow:0 .1rem .6rem rgba(0,0,0,.04);color:#999;font-size:.7rem;font-weight:600;margin:0 .6rem .6rem;padding:.75rem .6rem}.commentList{background:#fff;border-radius:.5rem;box-shadow:0 .1rem .6rem rgba(0,0,0,.04);margin:0 .6rem;padding:0 .6rem}.commentItem{border-bottom:.05rem solid rgba(0,0,0,.06);margin-bottom:0;padding:.6rem 0}.commentItem:last-child{border-bottom:none}.commentRow{align-items:flex-start;display:flex;flex-direction:row}.commentAvatar{border-radius:.8rem;flex-shrink:0;height:1.6rem;margin-right:.4rem;width:1.6rem}.commentBody{flex:1;min-width:0}.commentUser{color:#1a1a1a;font-size:.7rem;font-weight:600;margin-bottom:.2rem}.commentContent{color:#666;font-size:.7rem;margin-bottom:.2rem}.commentTime{color:#999;font-size:.55rem}.commentEmpty{align-items:center;background:#fff;color:#999;display:flex;font-size:.65rem;height:2rem;justify-content:center}.footer{align-items:center;background:#fff;border-top:.05rem solid rgba(0,0,0,.06);bottom:0;display:flex;flex-direction:row;justify-content:space-between;left:0;padding:.4rem .6rem calc(.4rem + env(safe-area-inset-bottom));position:fixed;right:0}.footerInput{background:rgba(0,0,0,.04);border-radius:1.25rem;color:#1a1a1a;flex:1;font-size:.7rem;height:1.5rem;line-height:1.5rem;margin-right:.5rem;max-width:70%;padding:0 .6rem}.footerActions{align-items:center;display:flex;flex-direction:row;gap:.6rem}.footerActionText{color:#999;font-size:.65rem}.footerLike{align-items:center;color:#999;display:flex;font-size:.65rem}.footerLikeActive{color:#ff7600} |
|||
@ -0,0 +1 @@ |
|||
.article-step2{background:#f5f4f1;min-height:100vh;padding:.6rem}.article-step2-field{background:#fff;border-radius:.5rem;box-shadow:0 .1rem .6rem rgba(0,0,0,.04);margin-bottom:.8rem;padding:.6rem}.article-step2-label{color:#1a1a1a;display:block;font-size:.7rem;margin-bottom:.4rem}.article-step2-cover-wrap{align-items:center;background:rgba(0,0,0,.03);border-radius:.4rem;display:flex;height:8rem;justify-content:center;width:100%}.article-step2-cover{border-radius:.4rem;height:8rem;width:100%}.article-step2-cover-placeholder{color:#999;font-size:.7rem}.article-step2-textarea{background:rgba(0,0,0,.03);border-radius:.4rem;color:#1a1a1a;font-size:.7rem;min-height:4rem;padding:.4rem}.article-step2-btn{align-items:center;border-radius:.4rem;color:#fff;display:flex;font-size:.75rem;font-weight:500;height:2.2rem;justify-content:center;margin-top:1.2rem} |
|||
@ -0,0 +1 @@ |
|||
.forum-page{background:#f5f4f1;min-height:100vh;position:relative}.forum-header{align-items:center;background:#fff;display:flex;flex-direction:row;height:2.5rem;padding:0 .6rem;width:100%}.forum-search-wrap{align-items:center;background:rgba(0,0,0,.04);border-radius:.8rem;display:flex;flex:1;height:1.6rem;position:relative}.forum-search-icon{height:1rem;margin-left:.75rem;width:1rem}.forum-search-input{color:#1a1a1a;flex:1;font-size:.7rem;height:1.6rem;padding-left:.5rem}.forum-search-placeholder{color:#999}.forum-add-wrap{align-items:center;display:flex;height:2rem;justify-content:center;width:2rem}.forum-add-icon{height:1.2rem;width:1.2rem}.forum-tabs{background:#fff;height:2.5rem;padding-top:.2rem;white-space:nowrap;width:100%}.forum-tab{display:inline-block;height:2rem;line-height:2rem;padding:0 .75rem}.forum-tab-text{color:#999;font-size:.8rem;font-weight:500}.forum-tab-active .forum-tab-text,.forum-tab-text-active{color:#ff7600}.forum-scroll{background:#f5f4f1;flex:1;height:100vh}.forum-drawer-btn{align-items:center;background:rgba(255,118,0,.2);border-radius:.6rem;bottom:7.5rem;display:flex;height:3rem;justify-content:center;position:fixed;right:-2.25rem;width:3rem;z-index:99}.forum-drawer-line{background:#666;border-radius:.05rem;height:2rem;left:.5rem;opacity:.5;position:absolute;top:.5rem;width:.1rem}.forum-drawer-line2{height:1.5rem;left:.25rem;top:.75rem}.forum-drawer-mask{background:rgba(0,0,0,.4);bottom:0;left:0;position:fixed;right:0;top:0;z-index:1000}.forum-drawer-panel{background:#fff;box-shadow:-.1rem 0 .5rem rgba(0,0,0,.1);height:100%;max-width:13rem;position:absolute;right:0;top:0;width:70%}.forum-drawer-scroll{height:100%}.forum-drawer-group{padding:.6rem 0}.forum-drawer-group-title{align-items:center;display:flex;flex-direction:row;padding:0 .6rem .4rem}.forum-drawer-avatar{border-radius:50%;height:.75rem;margin-right:.3rem;width:.75rem}.forum-drawer-group-text{color:#1a1a1a;font-size:.75rem;font-weight:500}.forum-drawer-children{padding-left:.6rem}.forum-drawer-item{margin:.1rem 0;padding:.5rem .6rem}.forum-drawer-item-active{background:rgba(255,118,0,.1)}.forum-drawer-item-text{color:#1a1a1a;font-size:.7rem}.forum-drawer-item-text-active{color:#ff7600;font-size:.7rem;font-weight:500}.page{background:#f5f4f1;min-height:100vh}.listItem{background:#fff;border-radius:.5rem;box-shadow:0 .1rem .6rem rgba(0,0,0,.04);box-sizing:border-box;margin:.4rem .6rem;min-height:8rem;padding:.65rem;position:relative}.top{margin-bottom:.5rem;width:100%}.title{color:#1a1a1a;font-size:.8rem;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row{align-items:flex-start;display:flex;flex-direction:row;margin-bottom:.6rem}.left{display:flex;flex:1;flex-direction:column;height:3.4rem;justify-content:center;min-width:0}.leftNoImg{display:flex;flex-direction:column;justify-content:center;margin-bottom:.6rem;min-height:3.4rem;width:100%}.user{align-items:center;color:#999;display:flex;font-size:.65rem;margin-bottom:.4rem}.avatar{border-radius:.8rem;flex-shrink:0;height:1.6rem;margin-right:.4rem;width:1.6rem}.userName{color:#666;font-size:.65rem}.content{color:#1a1a1a;display:-webkit-box;font-size:.75rem;-webkit-line-clamp:2;line-height:1.5;overflow:hidden;text-overflow:ellipsis;width:100%;-webkit-box-orient:vertical}.right{height:3rem;position:absolute;right:.6rem;top:2.25rem;width:4.25rem}.coverImg{border-radius:.3rem;height:100%;width:100%}.bottom{display:flex;flex-direction:row;justify-content:flex-start;width:6.15rem}.iconBox{align-items:center;color:#999;display:flex;flex:1;font-size:.6rem;justify-content:flex-end}.tag{background:rgba(255,118,0,.1);border-radius:.75rem;bottom:.6rem;color:#ff7600;font-size:.55rem;padding:.1rem .3rem;position:absolute;right:.6rem}.emptyWrap{align-items:center;display:flex;flex-direction:column;justify-content:center;min-height:19rem;width:100%}.emptyText{color:#999;font-size:.7rem;margin-top:.5rem}.footerLoading{align-items:center;color:#999;display:flex;font-size:.65rem;height:3rem;justify-content:center}.footerEnd{align-items:center;color:#999;display:flex;font-size:.65rem;height:3rem;justify-content:center} |
|||
@ -0,0 +1 @@ |
|||
.my-page{background:#f5f4f1;min-height:100vh;padding-bottom:3rem}.my-header{box-shadow:0 .1rem .5rem rgba(255,118,0,.25);color:#fff;padding:1rem .8rem 1.4rem}.my-header-body{align-items:flex-start;display:flex;flex-direction:row;justify-content:space-between}.my-header-icons{align-items:center;display:flex;flex-direction:row;flex-shrink:0;gap:.7rem}.my-header-icon-wrap{opacity:.95;padding:.25rem;position:relative}.my-header-icon-wrap:active{opacity:.8}.my-header-icon{height:1.2rem;width:1.2rem}.my-header-icon-bell{position:relative}.my-header-badge{align-items:center;background:#ff4d4f;border-radius:.45rem;box-shadow:0 .05rem .2rem rgba(255,77,79,.4);display:flex;height:.85rem;justify-content:center;min-width:.85rem;padding:0 .2rem;position:absolute;right:.05rem;top:.05rem}.my-header-badge-num{color:#fff;font-size:.5rem;font-weight:600}.my-header-user{align-items:flex-start;display:flex;flex:1;flex-direction:row;margin-right:.6rem;min-width:0}.my-avatar-wrap{flex-shrink:0;margin-right:.7rem}.my-avatar{background:hsla(0,0%,100%,.25);border:.1rem solid hsla(0,0%,100%,.5);border-radius:50%;display:block;height:3.2rem;width:3.2rem}.my-avatar-placeholder{background:hsla(0,0%,100%,.25);border:.1rem solid hsla(0,0%,100%,.5);border-radius:50%;height:3.2rem;width:3.2rem}.my-header-info{flex:1;min-width:0}.my-nickname{color:#fff;font-size:1.05rem;font-weight:600;letter-spacing:.02em;margin-bottom:.35rem}.my-phone{color:hsla(0,0%,100%,.95);font-size:.7rem;margin-bottom:.3rem}.my-community-row{align-items:center;display:flex;gap:.3rem}.my-community{color:hsla(0,0%,100%,.92);font-size:.65rem}.my-community-arrow{font-size:.7rem;opacity:.9}.my-content{background:#f5f4f1;border-top-left-radius:.8rem;border-top-right-radius:.8rem;margin-top:-.6rem;padding:0 .6rem;position:relative;z-index:1}.my-section{background:#fff;border-radius:.6rem;box-shadow:0 .1rem .6rem rgba(0,0,0,.04);margin-bottom:.6rem;padding:.9rem .7rem 1.1rem}.my-section-title{color:#999;font-size:.7rem;font-weight:600;letter-spacing:.02em;margin-bottom:.8rem;padding-left:.1rem}.my-section-grid{display:flex;flex-wrap:wrap}.my-grid-item-2,.my-section-grid-2 .my-grid-item{box-sizing:border-box;width:50%}.my-grid-item-3,.my-section-grid-3 .my-grid-item{box-sizing:border-box;width:33.33%}.my-grid-item{align-items:center;display:flex;flex-direction:column;padding:.5rem .2rem;transition:transform .2s ease}.my-grid-item:active{transform:scale(.95)}.my-grid-icon-wrap{margin-bottom:.45rem;position:relative}.my-grid-icon{display:block;height:2.2rem;width:2.2rem}.my-grid-badge{align-items:center;background:#ff4d4f;border-radius:.4rem;display:flex;height:.8rem;justify-content:center;min-width:.8rem;padding:0 .15rem;position:absolute;right:0;top:-.2rem}.my-grid-badge-num{color:#fff;font-size:.5rem;font-weight:600}.my-grid-label{color:#1a1a1a;font-size:.7rem;font-weight:500}.my-logout-wrap{display:flex;justify-content:center;margin-top:1rem;padding:0 .6rem}.my-logout{background:hsla(0,0%,100%,.9);border:.05rem solid #ff7600;border-radius:.5rem;padding:.7rem 2rem}.my-logout:active{background:rgba(255,118,0,.08)}.my-logout-txt{color:#ff7600;font-size:.75rem;font-weight:500} |
|||
@ -0,0 +1 @@ |
|||
.home-page{background:#f5f4f1;min-height:100vh}.home-header{align-items:center;background:#fff;box-shadow:0 .05rem .4rem rgba(0,0,0,.03);display:flex;flex-direction:row;height:5rem;padding:0 .8rem;position:relative}.home-search-icon{height:.8rem;left:1.6rem;opacity:.6;position:absolute;top:.85rem;width:.8rem;z-index:1}.home-search-input-wrap{flex:1;margin-left:.6rem}.home-search-input{background:rgba(0,0,0,.04);border:.05rem solid transparent;border-radius:.9rem;color:#1a1a1a;font-size:.7rem;height:1.8rem;padding-left:2rem;transition:background .2s ease,border-color .2s ease;width:100%}.home-search-placeholder{color:#999;font-size:.7rem}.home-scroll{height:100vh}.home-swiper-wrap{border-radius:.6rem;box-shadow:0 .1rem .6rem rgba(0,0,0,.04);margin:.6rem;overflow:hidden}.home-swiper{border-radius:.6rem;height:8rem}.home-swiper-item{height:8rem;position:relative;width:100%}.home-swiper-img{display:block;height:8rem;width:100%}.home-item{background:#fff;border-radius:.5rem;box-shadow:0 .1rem .6rem rgba(0,0,0,.04);margin:0 .6rem .6rem;overflow:hidden;padding:.8rem;position:relative;transition:box-shadow .25s ease,transform .2s ease}.home-item:active{box-shadow:0 .2rem .8rem rgba(0,0,0,.08);transform:scale(.995)}.home-item-top{margin-bottom:.5rem;width:100%}.home-item-title{color:#1a1a1a;font-size:.85rem;font-weight:600;letter-spacing:.02em;line-height:1.4}.home-item-row{align-items:flex-start;display:flex;flex-direction:row;justify-content:space-between}.home-item-left{flex:1;margin-right:.6rem;min-width:0}.home-item-noimg{margin-bottom:0}.home-item-user{align-items:center;display:flex;flex-direction:row;font-size:.6rem;margin-bottom:.4rem}.home-item-avatar{border-radius:50%;flex-shrink:0;height:1.3rem;width:1.3rem}.home-item-nickname{color:#666;font-weight:500;margin-left:.4rem}.home-item-sep{color:rgba(0,0,0,.06);font-weight:300;margin:0 .3rem}.home-item-time{color:#999;font-size:.55rem}.home-item-content{color:#666;font-size:.7rem;line-height:1.6;max-height:3.3rem;overflow:hidden}.home-item-content-noimg{color:#666;font-size:.7rem;line-height:1.6;width:100%}.home-item-cover{border-radius:.3rem;flex-shrink:0;height:3.5rem;object-fit:cover;width:5rem}.home-item-bottom{align-items:center;border-top:.05rem solid rgba(0,0,0,.06);display:flex;flex-direction:row;margin-top:.6rem;padding-top:.5rem}.home-item-like,.home-item-reply{align-items:center;display:flex;flex-direction:row;gap:.2rem}.home-item-reply{margin-left:.8rem}.home-item-icon{height:.9rem;opacity:.8;width:.9rem}.home-item-num{color:#999;font-size:.6rem;line-height:1}.home-item-tag{background:rgba(255,118,0,.12);border-radius:.6rem;margin-left:auto;padding:.2rem .5rem}.home-item-tag-text{color:#ff7600;font-size:.55rem;font-weight:500}.home-more{align-items:center;background:#fff;border:.05rem solid rgba(255,118,0,.2);border-radius:.5rem;box-shadow:0 .1rem .6rem rgba(0,0,0,.04);display:flex;justify-content:center;margin:0 .6rem .6rem;padding:.9rem;transition:background .2s ease,border-color .2s ease}.home-more:active{background:rgba(255,118,0,.12)}.home-more-text{color:#ff7600;font-size:.75rem;font-weight:500}.home-more-arrow{color:#ff7600;font-size:.9rem;font-weight:300;margin-left:.3rem}.home-footer{color:#999;font-size:.65rem;margin-top:1.2rem;padding-bottom:5rem;text-align:center} |
|||
@ -0,0 +1 @@ |
|||
.login-page{background-color:#f5f4f1;box-sizing:border-box;display:flex;flex-direction:column;height:100vh;min-height:100vh;padding:calc(.8rem + env(safe-area-inset-top)) 1rem calc(1rem + env(safe-area-inset-bottom))}.login-header{flex-shrink:0;margin-bottom:.8rem;text-align:center}.login-logo{display:block;height:2rem;margin:0 auto .3rem;width:5rem}.login-slogan{color:#999;font-size:.65rem}.login-card{background:#fff;border-radius:.5rem;box-shadow:0 .1rem .6rem rgba(0,0,0,.04);display:block;flex-shrink:0;padding:.8rem .9rem .9rem}.login-tabs{background:rgba(0,0,0,.03);border-radius:.3rem;display:flex;flex-shrink:0;margin-bottom:.6rem;padding:.15rem}.login-tab{align-items:center;border-radius:.25rem;display:flex;flex:1;justify-content:center;padding:.3rem 0}.login-tab.active,.login-tab.login-tab-active{background-color:#fff;box-shadow:0 .05rem .2rem rgba(0,0,0,.04)}.login-tab-text{color:#999;font-size:.65rem}.login-tab-text-active{color:#ff7600;font-size:.65rem;font-weight:500}.login-form{display:block}.login-input-wrap{align-items:center;background:rgba(0,0,0,.03);border-radius:.35rem;display:flex;height:1.9rem;margin-bottom:.5rem;padding:0 .5rem}.login-input-row{padding-right:.3rem}.login-input-icon{flex-shrink:0;font-size:1.1rem;line-height:1.9rem;margin-right:.4rem;text-align:center;width:1.2rem}.login-input{background-color:transparent;color:#1a1a1a;flex:1;font-size:.7rem}.login-input-flex{flex:1}.login-input-wrap .placeholder,.login-placeholder{color:#999}.login-sms-btn{background-color:transparent;border-width:0;color:#ff7600;flex-shrink:0;font-size:.6rem;height:1.3rem;line-height:1.3rem;margin:0 0 0 .4rem;min-width:4rem;padding:0 .5rem;width:auto!important}.login-sms-btn[disabled]{color:#999}.login-tip{color:#999;flex-shrink:0;font-size:.55rem;line-height:1.4;margin-bottom:.4rem}.login-agree{align-items:flex-start;display:flex;flex-shrink:0;margin-bottom:.6rem}.login-checkbox{background-color:#fff;border:.05rem solid rgba(0,0,0,.2);border-radius:.2rem;flex-shrink:0;height:.9rem;margin-right:.3rem;margin-top:.05rem;width:.9rem}.login-checkbox-checked{background-color:#ff7600;border-color:#ff7600}.login-agree-text{color:#666;flex:1;font-size:.6rem;line-height:1.5}.login-agree-link,.login-agree-text .link{color:#ff7600}.login-btn{align-items:center;border-radius:.35rem;color:#fff;display:flex;flex-shrink:0;font-size:.75rem;font-weight:500;height:2.1rem;justify-content:center;width:100%}.login-links{flex-shrink:0;margin-top:.5rem;text-align:center}.login-links .link,.login-links-link{color:#ff7600;font-size:.65rem} |
|||
@ -0,0 +1 @@ |
|||
.reset-page{background-color:#f5f4f1;min-height:100vh;padding:2rem 1.2rem}.reset-header{align-items:center;display:flex;flex-direction:column;margin-bottom:1.6rem}.reset-logo{height:3rem;margin-bottom:.6rem;width:6rem}.reset-slogan{color:#666;font-size:.7rem}.reset-form{background-color:#fff;border-radius:.5rem;box-shadow:0 .1rem .6rem rgba(0,0,0,.04);padding:1.2rem}.reset-input-wrap{align-items:center;background-color:rgba(0,0,0,.03);border-radius:.4rem;display:flex;height:2.2rem;margin-bottom:.8rem;padding:0 .6rem}.reset-input-row{padding-right:.4rem}.reset-input-icon{color:#999;font-size:.9rem;margin-right:.5rem}.reset-input{background-color:transparent;color:#1a1a1a;flex:1;font-size:.7rem}.reset-input-flex{flex:1}.reset-sms-btn{background-color:transparent;border:none;color:#ff7600;flex-shrink:0;font-size:.6rem;height:1.5rem;line-height:1.5rem;margin:0;padding:0 .6rem}.reset-sms-btn::after{border:none}.reset-sms-btn[disabled]{color:#999}.reset-btn{align-items:center;border-radius:.4rem;color:#fff;display:flex;font-size:.8rem;font-weight:500;height:2.2rem;justify-content:center;margin-top:1.2rem} |
|||
@ -0,0 +1 @@ |
|||
.search-page{background:#f5f4f1;min-height:100vh}.search-header{background:#fff;padding:.6rem}.search-input{background:rgba(0,0,0,.04);border-radius:.8rem;color:#1a1a1a;font-size:.7rem;height:1.6rem;padding:0 .6rem}.search-placeholder{color:#999}.search-scroll{height:100vh}.search-empty{padding:3rem 1.2rem;text-align:center}.search-empty-txt{color:#999;font-size:.7rem}.search-item{background:#fff;border-radius:.5rem;box-shadow:0 .1rem .6rem rgba(0,0,0,.04);margin:.4rem .6rem 0;padding:.6rem .75rem}.search-item-top{margin-bottom:.4rem}.search-item-title{color:#1a1a1a;font-size:.85rem;font-weight:500}.search-item-row{display:flex;flex-direction:row;justify-content:space-between}.search-item-left{flex:1;min-width:0}.search-item-noimg{margin-bottom:.4rem}.search-item-user{align-items:center;color:#666;display:flex;flex-direction:row;font-size:.6rem;margin-bottom:.2rem}.search-item-nickname{margin-right:.4rem}.search-item-sep{margin:0 .4rem}.search-item-time{color:#666}.search-item-content{color:#1a1a1a;font-size:.7rem;line-height:1.5}.search-item-cover{border-radius:.3rem;height:3.15rem;margin-left:.5rem;width:4.35rem}.search-item-bottom{margin-top:.4rem}.search-item-meta{color:#999;font-size:.6rem}.search-footer{color:#999;font-size:.65rem;padding:1rem;text-align:center} |
|||
@ -0,0 +1 @@ |
|||
.payment-modal-overlay{align-items:flex-end;background:rgba(0,0,0,.5);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:9999}.payment-modal-panel{background:#fff;border-radius:.8rem .8rem 0 0;max-width:18.75rem;padding:.8rem .8rem calc(.8rem + env(safe-area-inset-bottom, 0));width:100%}.payment-modal-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.payment-modal-title{color:#1a1a1a;font-size:.9rem;font-weight:600}.payment-modal-close{color:#999;font-size:.9rem;line-height:1;padding:.4rem}.payment-modal-amount-wrap{margin-bottom:1rem}.payment-modal-amount-label{color:#666;display:block;font-size:.65rem;margin-bottom:.3rem}.payment-modal-amount{color:#1a1a1a;font-size:1.4rem;font-weight:600}.payment-modal-channels{display:flex;flex-direction:column;gap:.6rem;margin-bottom:1.2rem}.payment-modal-channel{align-items:center;background:#f8f8f8;border:.05rem solid transparent;border-radius:.5rem;display:flex;padding:.6rem .7rem;transition:all .2s ease}.payment-modal-channel.payment-modal-channel-selected{background:rgba(255,118,0,.06);border-color:#ff7600}.payment-modal-channel-icon{align-items:center;background:#e8e8e8;border-radius:.4rem;display:flex;height:1.8rem;justify-content:center;margin-right:.6rem;width:1.8rem}.payment-modal-channel-placeholder{color:#666;font-size:.7rem;font-weight:600}.payment-modal-channel-info{flex:1}.payment-modal-channel-label{color:#1a1a1a;display:block;font-size:.75rem;font-weight:500}.payment-modal-channel-desc{color:#999;display:block;font-size:.6rem;margin-top:.1rem}.payment-modal-channel-radio{border:.05rem solid #ccc;border-radius:50%;flex-shrink:0;height:.9rem;width:.9rem}.payment-modal-channel-radio-selected{background:#ff7600;border-color:#ff7600;box-shadow:inset 0 0 0 .1rem #fff}.payment-modal-btn{align-items:center;background:#ff7600;border-radius:1.2rem;color:#fff;display:flex;font-size:.8rem;font-weight:600;height:2.4rem;justify-content:center;width:100%}.payment-modal-btn.payment-modal-btn-loading{opacity:.8;pointer-events:none}.service-page{background:#f5f4f1;min-height:100vh;padding:.6rem .6rem 1.2rem}.service-card{border-radius:.6rem;box-shadow:0 .2rem .8rem rgba(255,118,0,.25);color:#fff;margin-bottom:.6rem;overflow:hidden;padding:1rem .9rem;position:relative}.service-card::before{background:radial-gradient(circle,hsla(0,0%,100%,.15) 0,transparent 70%);content:"";height:120%;pointer-events:none;position:absolute;right:-20%;top:-40%;width:60%}.service-card-title{font-size:.95rem;font-weight:600;letter-spacing:.02em;margin-bottom:.9rem}.service-card-info{margin-bottom:.9rem}.service-card-row{align-items:center;display:flex;margin-bottom:.45rem}.service-card-row:last-child{margin-bottom:0}.service-card-label{font-size:.7rem;opacity:.92;width:4.5rem}.service-card-value{font-size:.7rem;font-weight:500}.service-card-codes{align-items:center;display:flex;flex-direction:column;gap:.7rem}.service-barcode-placeholder,.service-qrcode-placeholder{align-items:center;backdrop-filter:blur(.1rem);background:hsla(0,0%,100%,.18);border-radius:.4rem;display:flex;height:2.2rem;justify-content:center;width:100%}.service-qrcode-placeholder{height:5.5rem;width:5.5rem}.service-code-hint{font-size:.65rem;opacity:.88}.service-grid-wrap{background:#fff;border-radius:.6rem;box-shadow:0 .1rem .6rem rgba(0,0,0,.04);padding:.9rem .7rem}.service-grid{display:flex;flex-wrap:wrap;justify-content:flex-start}.service-grid-item{align-items:center;box-sizing:border-box;display:flex;flex-direction:column;padding:.6rem .3rem;transition:transform .2s ease;width:25%}.service-grid-item:active{transform:scale(.94)}.service-grid-icon-wrap{align-items:center;background:rgba(255,118,0,.06);border-radius:.6rem;display:flex;height:2.6rem;justify-content:center;margin-bottom:.45rem;width:2.6rem}.service-grid-icon{height:1.4rem;width:1.4rem}.service-grid-name{color:#1a1a1a;font-size:.65rem;font-weight:500;text-align:center} |
|||
@ -0,0 +1 @@ |
|||
.message-page{background:#f5f4f1;min-height:100vh}.message-empty{padding:3rem 1.2rem;text-align:center}.message-empty-txt{color:#999;font-size:.7rem}.message-item{background:#fff;border-radius:.5rem;box-shadow:0 .1rem .6rem rgba(0,0,0,.04);margin:0 .6rem .6rem;padding:.8rem}.message-item-title{color:#1a1a1a;font-size:.8rem;font-weight:600}.message-item-content{color:#666;display:block;font-size:.7rem;line-height:1.5;margin-top:.3rem}.message-item-time{color:#999;display:block;font-size:.6rem;margin-top:.3rem} |
|||
@ -0,0 +1 @@ |
|||
.property-report-records-page{background:#f5f4f1;min-height:100vh}.property-report-records-empty{padding:3rem 1.2rem;text-align:center}.property-report-records-empty-txt{color:#999;font-size:.7rem} |
|||
@ -0,0 +1 @@ |
|||
.my-release-page{background:#f5f4f1;min-height:100vh}.my-release-search{background:#fff;padding:.75rem .6rem}.my-release-input{background:rgba(0,0,0,.04);border-radius:1rem;color:#1a1a1a;font-size:.7rem;height:2rem;padding:0 .6rem}.my-release-placeholder{color:#999}.my-release-tabs{background:#fff;border-bottom:.05rem solid rgba(0,0,0,.06);padding:0 .6rem .5rem;white-space:nowrap}.my-release-tab{color:#999;display:inline-block;font-size:.7rem;height:1.6rem;line-height:1.6rem;padding:0 .8rem}.my-release-tab.active{color:#ff7600;font-weight:500}.my-release-list{min-height:100vh;padding:0 .6rem 1.2rem}.my-release-empty{color:#999;font-size:.7rem;padding:3rem 1.2rem;text-align:center}.my-release-item{background:#fff;border-radius:.5rem;box-shadow:0 .1rem .6rem rgba(0,0,0,.04);margin-top:.4rem;padding:.6rem .75rem}.my-release-item-title{color:#1a1a1a;font-size:.75rem} |
|||
@ -0,0 +1 @@ |
|||
.article-step1{background:#f5f4f1;min-height:100vh;padding:.6rem}.article-step1-field{background:#fff;border-radius:.5rem;box-shadow:0 .1rem .6rem rgba(0,0,0,.04);margin-bottom:.8rem;padding:.6rem}.article-step1-label{color:#1a1a1a;display:block;font-size:.7rem;margin-bottom:.4rem}.article-step1-input{background:rgba(0,0,0,.03);border-radius:.4rem;color:#1a1a1a;font-size:.7rem;height:1.8rem;padding:0 .4rem}.article-step1-textarea{background:rgba(0,0,0,.03);border-radius:.4rem;color:#1a1a1a;font-size:.7rem;min-height:5rem;padding:.4rem}.article-step1-select-wrap{display:flex;flex-wrap:wrap;gap:.4rem}.article-step1-opt{background:rgba(0,0,0,.04);border-radius:.4rem;color:#666;font-size:.65rem;padding:.3rem .6rem}.article-step1-opt.active{background:rgba(255,118,0,.12);color:#ff7600}.article-step1-btn{align-items:center;border-radius:.4rem;color:#fff;display:flex;font-size:.75rem;font-weight:500;height:2.2rem;justify-content:center;margin-top:1.2rem} |
|||
@ -0,0 +1 @@ |
|||
.publish-page{background:#f5f4f1;min-height:100vh;padding-bottom:4.5rem}.publish-form{background:#fff;border-radius:.5rem;box-shadow:0 .1rem .6rem rgba(0,0,0,.04);margin:0 .6rem .6rem;padding:.8rem}.publish-field{margin-bottom:1rem}.publish-label{color:#1a1a1a;display:block;font-size:.75rem;font-weight:500;margin-bottom:.5rem}.publish-required{color:#ff7600}.publish-picker{width:100%}.publish-picker-inner{align-items:center;background:rgba(0,0,0,.03);border-radius:.4rem;display:flex;height:2.2rem;justify-content:space-between;padding:0 .6rem}.publish-picker-placeholder{color:#999;font-size:.7rem}.publish-picker-arrow{color:#999;font-size:.9rem;transform:rotate(-90deg)}.publish-textarea{background:rgba(0,0,0,.03);border-radius:.4rem;box-sizing:border-box;color:#1a1a1a;display:block;font-size:.75rem;line-height:1.6;min-height:6rem;padding:.6rem;width:100%}.publish-placeholder{color:#999}.publish-field-row{align-items:baseline;display:flex;margin-bottom:.5rem}.publish-hint{color:#999;font-size:.6rem;margin-left:.3rem}.publish-images-wrap{display:flex;flex-wrap:wrap;gap:.4rem}.publish-file-item{border-radius:.3rem;height:5rem;overflow:hidden;position:relative;width:5rem}.publish-file-img{display:block;height:100%;width:100%}.publish-file-del{align-items:center;background:rgba(0,0,0,.5);border-radius:0 .3rem 0 .3rem;display:flex;height:1.4rem;justify-content:center;position:absolute;right:0;top:0;width:1.4rem}.publish-file-del-x{color:#fff;font-size:1rem;line-height:1}.publish-file-add{align-items:center;background:rgba(0,0,0,.02);border:.05rem dashed rgba(0,0,0,.2);border-radius:.3rem;box-sizing:border-box;display:flex;height:5rem;justify-content:center;width:5rem}.publish-file-add-icon{color:#999;font-size:1.6rem;font-weight:300;line-height:1}.publish-field-switch{align-items:center;display:flex;flex-direction:row;justify-content:space-between}.publish-field-switch .publish-label,.publish-label-inline{margin-bottom:0}.publish-field-agree{align-items:flex-start;display:flex;flex-direction:row}.publish-checkbox{align-items:center;background:#fff;border:.05rem solid rgba(0,0,0,.2);border-radius:.2rem;display:flex;flex-shrink:0;height:1rem;justify-content:center;margin-right:.4rem;margin-top:.1rem;width:1rem}.publish-checkbox-checked,.publish-checkbox.checked{background:#ff7600;border-color:#ff7600}.publish-checkbox-check{color:#fff;font-size:.7rem}.publish-agree-text{color:#666;flex:1;font-size:.65rem;line-height:1.6}.publish-agree-link{color:#ff7600}.publish-uploading{background:rgba(255,118,0,.08);border-radius:.5rem;margin:0 .6rem .6rem;padding:.6rem .8rem;text-align:center}.publish-uploading-txt{color:#ff7600;font-size:.65rem}.publish-footer{background:#fff;bottom:0;left:0;padding:.6rem .8rem calc(1.2rem + env(safe-area-inset-bottom));position:fixed;right:0}.publish-submit{align-items:center;border-radius:.4rem;color:#fff;display:flex;font-size:.8rem;font-weight:500;height:2.2rem;justify-content:center;width:100%} |
|||
@ -0,0 +1 @@ |
|||
.setting-page{background:#f5f4f1;min-height:100vh;padding:.6rem .6rem 1.2rem}.setting-list{background:#fff;border-radius:.5rem;box-shadow:0 .1rem .6rem rgba(0,0,0,.04);overflow:hidden}.setting-item{align-items:center;border-bottom:.05rem solid rgba(0,0,0,.06);display:flex;justify-content:space-between;padding:.8rem}.setting-item:last-child{border-bottom:none}.setting-item-left{display:flex;flex-direction:column;gap:.2rem}.setting-item-title{color:#1a1a1a;font-size:.8rem;font-weight:500}.setting-item-desc{color:#999;font-size:.6rem}.setting-item-arrow{color:#ccc;font-size:.9rem}.setting-logout{align-items:center;background:#fff;border-radius:.5rem;box-shadow:0 .1rem .6rem rgba(0,0,0,.04);display:flex;justify-content:center;margin:.6rem .6rem 0;padding:.8rem}.setting-logout-txt{color:#1a1a1a;font-size:.8rem;font-weight:500} |
|||
@ -0,0 +1 @@ |
|||
.moments-page{background:#f5f4f1;min-height:100vh;padding-bottom:6rem}.moments-header{align-items:center;box-shadow:0 .1rem .5rem rgba(255,118,0,.25);display:flex;height:2.2rem;justify-content:center;position:sticky;top:0;z-index:10}.moments-header-title{color:#fff;font-size:.9rem;font-weight:600;letter-spacing:.04em}.moments-list{height:calc(100vh - 2.2rem)}.moments-circles{background:#fff;box-shadow:0 .1rem .6rem rgba(0,0,0,.04);margin-bottom:.6rem;padding:.8rem 0 .7rem}.moments-circles-title{align-items:center;display:flex;padding:0 .8rem .6rem}.moments-circles-bar{border-radius:.1rem;height:.9rem;margin-right:.4rem;width:.2rem}.moments-circles-text{color:#1a1a1a;font-size:.8rem;font-weight:600;letter-spacing:.02em}.moments-circles-scroll{padding:0 .6rem;white-space:nowrap}.moments-circle-item{align-items:center;display:inline-flex;flex-direction:column;margin-right:1rem;transition:transform .2s ease;vertical-align:top}.moments-circle-item:active{transform:scale(.95)}.moments-circle-icon{border:.1rem solid hsla(0,0%,100%,.8);border-radius:50%;box-shadow:0 .1rem .4rem rgba(0,0,0,.08);height:2.8rem;margin-bottom:.4rem;width:2.8rem}.moments-circle-name{color:#666;font-size:.65rem;font-weight:500;max-width:2.8rem;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap}.moments-empty{padding:3rem 1.2rem;text-align:center}.moments-empty-txt{color:#999;font-size:.7rem}.moments-item{background:#fff;border-radius:.5rem;box-shadow:0 .1rem .6rem rgba(0,0,0,.04);margin:0 .6rem .6rem;overflow:hidden;padding:.8rem;position:relative;transition:box-shadow .25s ease,transform .2s ease}.moments-item:active{box-shadow:0 .2rem .8rem rgba(0,0,0,.08);transform:scale(.998)}.moments-item:first-of-type{margin-top:0}.moments-item-head{align-items:flex-start;display:flex;margin-bottom:.5rem}.moments-item-avatar{border:.05rem solid rgba(0,0,0,.06);border-radius:50%;flex-shrink:0;height:2.2rem;margin-right:.6rem;width:2.2rem}.moments-item-info{flex:1;min-width:0}.moments-item-username{color:#1a1a1a;display:block;font-size:.8rem;font-weight:600}.moments-item-title{color:#999;display:block;font-size:.6rem;margin-top:.15rem}.moments-item-time{color:#999;display:block;font-size:.6rem;margin-top:.15rem}.moments-item-hashtag{color:#ff7600;font-size:.7rem;font-weight:500;margin-bottom:.3rem}.moments-item-content{color:#666;font-size:.75rem;line-height:1.65;margin-bottom:.5rem}.moments-item-grid{border-radius:.3rem;display:flex;flex-wrap:wrap;margin:0 -.1rem .6rem;overflow:hidden}.moments-item-grid-1 .moments-item-grid-img,.moments-item-grid-img-1{border-radius:.3rem;height:10.5rem;margin:0;width:100%}.moments-item-grid-2 .moments-item-grid-img,.moments-item-grid-img-2{border-radius:.3rem;box-sizing:border-box;height:6rem;margin:.1rem;width:calc(50% - .1rem)}.moments-item-grid-3 .moments-item-grid-img,.moments-item-grid-5 .moments-item-grid-img,.moments-item-grid-6 .moments-item-grid-img,.moments-item-grid-7 .moments-item-grid-img,.moments-item-grid-8 .moments-item-grid-img,.moments-item-grid-9 .moments-item-grid-img,.moments-item-grid-img-3,.moments-item-grid-img-5,.moments-item-grid-img-6,.moments-item-grid-img-7,.moments-item-grid-img-8,.moments-item-grid-img-9{border-radius:.3rem;box-sizing:border-box;height:5rem;margin:.1rem;width:calc(33.333% - .15rem)}.moments-item-grid-4 .moments-item-grid-img,.moments-item-grid-img-4{border-radius:.3rem;box-sizing:border-box;height:5rem;margin:.1rem;width:calc(50% - .1rem)}.moments-item-grid-img{display:block;object-fit:cover}.moments-item-actions{align-items:center;border-top:.05rem solid rgba(0,0,0,.06);display:flex;gap:1rem;padding-top:.5rem}.moments-item-action{align-items:center;display:flex;gap:.25rem}.moments-item-action-icon{height:1rem;opacity:.85;width:1rem}.moments-item-action-count{color:#999;font-size:.65rem;font-weight:500}.moments-item-tag{align-items:center;background:rgba(255,118,0,.12);border-radius:.6rem;bottom:.8rem;display:flex;gap:.25rem;padding:.2rem .5rem;position:absolute;right:.8rem}.moments-item-tag-icon{height:.7rem;opacity:.9;width:.7rem}.moments-item-tag-text{color:#ff7600;font-size:.6rem;font-weight:500}.moments-item{padding-bottom:1.8rem}.moments-loading{color:#999;font-size:.65rem;padding:1rem;text-align:center}.moments-fab{align-items:center;border-radius:50%;bottom:calc(2rem + env(safe-area-inset-bottom));box-shadow:0 .2rem .8rem rgba(255,118,0,.45);display:flex;height:3rem;justify-content:center;position:fixed;right:8%;transition:transform .2s ease,box-shadow .2s ease;width:3rem;z-index:100}.moments-fab:active{box-shadow:0 .1rem .6rem rgba(255,118,0,.35);transform:scale(.92)}.moments-fab-img{height:1.4rem;width:1.4rem} |
|||
@ -0,0 +1 @@ |
|||
.circles-page{background:#f5f4f1;min-height:100vh;padding:.6rem}.circles-item{align-items:center;background:#fff;border-radius:.5rem;box-shadow:0 .1rem .6rem rgba(0,0,0,.04);display:flex;flex-direction:row;justify-content:space-between;margin-bottom:.4rem;padding:.75rem .8rem}.circles-item-txt{color:#1a1a1a;font-size:.75rem}.circles-item-arrow{color:#999;font-size:.9rem}.circles-all-page,.circles-create-page{background:#f5f4f1;min-height:100vh}.circles-all-empty,.circles-create-empty{color:#999;font-size:.7rem;padding:3rem 1.2rem;text-align:center} |
|||
@ -0,0 +1 @@ |
|||
.feedback-page{background:#f5f4f1;min-height:100vh;padding:.8rem .8rem 4.5rem}.feedback-form{background:#fff;border-radius:.5rem;box-shadow:0 .1rem .6rem rgba(0,0,0,.04);padding:.8rem}.feedback-label{color:#1a1a1a;display:block;font-size:.7rem;font-weight:500;margin-bottom:.4rem}.feedback-textarea{background:rgba(0,0,0,.03);border-radius:.4rem;box-sizing:border-box;color:#1a1a1a;font-size:.7rem;line-height:1.6;min-height:8rem;padding:.6rem;width:100%}.feedback-placeholder{color:#999}.feedback-count{color:#999;font-size:.6rem;margin-top:.4rem;text-align:right}.feedback-label-mt{margin-top:.8rem}.feedback-images{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.4rem}.feedback-image-item{height:4rem;position:relative;width:4rem}.feedback-image{background:rgba(0,0,0,.04);border-radius:.3rem;height:100%;width:100%}.feedback-image-remove{background:rgba(0,0,0,.6);border-radius:50%;color:#fff;font-size:.8rem;height:1rem;line-height:1rem;position:absolute;right:-.2rem;text-align:center;top:-.2rem;width:1rem}.feedback-image-add{align-items:center;background:rgba(0,0,0,.02);border:.05rem dashed rgba(0,0,0,.15);border-radius:.3rem;display:flex;flex-direction:column;height:4rem;justify-content:center;width:4rem}.feedback-image-add-icon{color:#999;font-size:1.2rem;line-height:1}.feedback-image-add-text{color:#999;font-size:.6rem;margin-top:.2rem}.feedback-footer{background:#fff;bottom:0;left:0;padding:.6rem .8rem calc(1.2rem + env(safe-area-inset-bottom));position:fixed;right:0}.feedback-submit{align-items:center;border-radius:.4rem;color:#fff;display:flex;font-size:.8rem;font-weight:500;height:2.2rem;justify-content:center;width:100%} |
|||
@ -0,0 +1 @@ |
|||
<!doctype html><html><head><meta content="text/html; charset=utf-8" http-equiv="Content-Type"><meta content="width=device-width,initial-scale=1,user-scalable=no" name="viewport"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-touch-fullscreen" content="yes"><meta name="format-detection" content="telephone=no,address=no"><meta name="apple-mobile-web-app-status-bar-style" content="white"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><title>template</title><script>!function(n){function f(){var e=n.document.documentElement;var w=Math.floor(e.getBoundingClientRect().width);if(w<600){var x=40*w/750;e.style.fontSize=x+"px"}else if(w<840){w=750/2;var x=40*w/750;e.style.fontSize=x+"px"}else if(w<1440){w=750/2;var x=40*w/750;e.style.fontSize=x+"px"}else{w=750/2;var x=40*w/750;e.style.fontSize=x+"px"}}n.addEventListener("resize",(function(){f()}));f()}(window);</script><script defer="defer" src="./js/248.7618e7df.js"></script><script defer="defer" src="./js/app.7618e7df.js"></script><link href="./css/app.7618e7df07c86b04d2f9.css" rel="stylesheet"></head><body><div id="app"></div></body></html> |
|||
@ -0,0 +1,5 @@ |
|||
/*! |
|||
Copyright (c) 2018 Jed Watson. |
|||
Licensed under the MIT License (MIT), see |
|||
http://jedwatson.github.io/classnames |
|||
*/ |
|||
@ -0,0 +1,2 @@ |
|||
/*! For license information please see 316.79f8ad6d.js.LICENSE.txt */ |
|||
"use strict";(self.webpackJsonp=self.webpackJsonp||[]).push([[316],{"9316":function(e,t,s){s.r(t),s.d(t,{"scopeCss":function(){return scopeCss}});const r="-shadowcsshost",c="-shadowcssslotted",o="-shadowcsscontext",n=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",l=new RegExp("("+r+n,"gim"),i=new RegExp("("+o+n,"gim"),p=new RegExp("("+c+n,"gim"),a=r+"-no-combinator",h=/-shadowcsshost-no-combinator([^\s]*)/,u=[/::shadow/g,/::content/g],g=/-shadowcsshost/gim,d=/:host/gim,m=/::slotted/gim,f=/:host-context/gim,$=/\/\*\s*[\s\S]*?\*\//g,x=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,_=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,w=/([{}])/g,b=/(^.*?[^\\])??((:+)(.*)|$)/,S="%BLOCK%",processRules=(e,t)=>{const s=escapeBlocks(e);let r=0;return s.escapedString.replace(_,(...e)=>{const c=e[2];let o="",n=e[4],l="";n&&n.startsWith("{"+S)&&(o=s.blocks[r++],n=n.substring(8),l="{");const i=t({"selector":c,"content":o});return`${e[1]}${i.selector}${e[3]}${l}${i.content}${n}`})},escapeBlocks=e=>{const t=e.split(w),s=[],r=[];let c=0,o=[];for(let e=0;e<t.length;e++){const n=t[e];"}"===n&&c--,c>0?o.push(n):(o.length>0&&(r.push(o.join("")),s.push(S),o=[]),s.push(n)),"{"===n&&c++}o.length>0&&(r.push(o.join("")),s.push(S));return{"escapedString":s.join(""),"blocks":r}},convertColonRule=(e,t,s)=>e.replace(t,(...e)=>{if(e[2]){const t=e[2].split(","),r=[];for(let c=0;c<t.length;c++){const o=t[c].trim();if(!o)break;r.push(s(a,o,e[3]))}return r.join(",")}return a+e[3]}),colonHostPartReplacer=(e,t,s)=>e+t.replace(r,"")+s,colonHostContextPartReplacer=(e,t,s)=>t.indexOf(r)>-1?colonHostPartReplacer(e,t,s):e+t+s+", "+t+" "+e+s,selectorNeedsScoping=(e,t)=>{const s=(e=>(e=e.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),new RegExp("^("+e+")([>\\s~+[.,{:][\\s\\S]*)?$","m")))(t);return!s.test(e)},injectScopingSelector=(e,t)=>e.replace(b,(e,s="",r,c="",o="")=>s+t+c+o),applyStrictSelectorScope=(e,t,s)=>{const r="."+(t=t.replace(/\[is=([^\]]*)\]/g,(e,...t)=>t[0])),_scopeSelectorPart=e=>{let c=e.trim();if(!c)return"";if(e.indexOf(a)>-1)c=((e,t,s)=>{if(g.lastIndex=0,g.test(e)){const t=`.${s}`;return e.replace(h,(e,s)=>injectScopingSelector(s,t)).replace(g,t+" ")}return t+" "+e})(e,t,s);else{const t=e.replace(g,"");t.length>0&&(c=injectScopingSelector(t,r))}return c},c=(e=>{const t=[];let s=0;return{"content":(e=e.replace(/(\[[^\]]*\])/g,(e,r)=>{const c=`__ph-${s}__`;return t.push(r),s++,c})).replace(/(:nth-[-\w]+)(\([^)]+\))/g,(e,r,c)=>{const o=`__ph-${s}__`;return t.push(c),s++,r+o}),"placeholders":t}})(e);let o,n="",l=0;const i=/( |>|\+|~(?!=))\s*/g;let p=!((e=c.content).indexOf(a)>-1);for(;null!==(o=i.exec(e));){const t=o[1],s=e.slice(l,o.index).trim();p=p||s.indexOf(a)>-1;n+=`${p?_scopeSelectorPart(s):s} ${t} `,l=i.lastIndex}const u=e.substring(l);return p=p||u.indexOf(a)>-1,n+=p?_scopeSelectorPart(u):u,d=c.placeholders,n.replace(/__ph-(\d+)__/g,(e,t)=>d[+t]);var d},scopeSelectors=(e,t,s,r,c)=>processRules(e,e=>{let c=e.selector,o=e.content;"@"!==e.selector[0]?c=((e,t,s,r)=>e.split(",").map(e=>r&&e.indexOf("."+r)>-1?e.trim():selectorNeedsScoping(e,t)?applyStrictSelectorScope(e,t,s).trim():e.trim()).join(", "))(e.selector,t,s,r):(e.selector.startsWith("@media")||e.selector.startsWith("@supports")||e.selector.startsWith("@page")||e.selector.startsWith("@document"))&&(o=scopeSelectors(e.content,t,s,r));return{"selector":c.replace(/\s{2,}/g," ").trim(),"content":o}}),scopeCssText=(e,t,s,n,h)=>{const g=((e,t)=>{const s="."+t+" > ",r=[];return e=e.replace(p,(...e)=>{if(e[2]){const t=e[2].trim(),c=e[3],o=s+t+c;let n="";for(let t=e[4]-1;t>=0;t--){const s=e[5][t];if("}"===s||","===s)break;n=s+n}const l=n+o,i=`${n.trimRight()}${o.trim()}`;if(l.trim()!==i.trim()){const e=`${i}, ${l}`;r.push({"orgSelector":l,"updatedSelector":e})}return o}return a+e[3]}),{"selectors":r,"cssText":e}})(e=(e=>convertColonRule(e,i,colonHostContextPartReplacer))(e=(e=>convertColonRule(e,l,colonHostPartReplacer))(e=e.replace(f,o).replace(d,r).replace(m,c))),n);return e=(e=>u.reduce((e,t)=>e.replace(t," "),e))(e=g.cssText),t&&(e=scopeSelectors(e,t,s,n)),{"cssText":(e=(e=e.replace(/-shadowcsshost-no-combinator/g,`.${s}`)).replace(/>\s*\*\s+([^{, ]+)/gm," $1 ")).trim(),"slottedSelectors":g.selectors}},scopeCss=(e,t,s)=>{const r=t+"-h",c=t+"-s",o=e.match(x)||[];e=(e=>e.replace($,""))(e);const n=[];if(s){const processCommentedSelector=e=>{const t=`/*!@___${n.length}___*/`,s=`/*!@${e.selector}*/`;return n.push({"placeholder":t,"comment":s}),e.selector=t+e.selector,e};e=processRules(e,e=>"@"!==e.selector[0]?processCommentedSelector(e):e.selector.startsWith("@media")||e.selector.startsWith("@supports")||e.selector.startsWith("@page")||e.selector.startsWith("@document")?(e.content=processRules(e.content,processCommentedSelector),e):e)}const l=scopeCssText(e,t,r,c);return e=[l.cssText,...o].join("\n"),s&&n.forEach(({"placeholder":t,"comment":s})=>{e=e.replace(t,s)}),l.slottedSelectors.forEach(t=>{e=e.replace(t.orgSelector,t.updatedSelector)}),e}}}]); |
|||
@ -0,0 +1,11 @@ |
|||
/** |
|||
* @license |
|||
* Copyright Google Inc. All Rights Reserved. |
|||
* |
|||
* Use of this source code is governed by an MIT-style license that can be |
|||
* found in the LICENSE file at https://angular.io/license |
|||
* |
|||
* This file is a port of shadowCSS from webcomponents.js to TypeScript. |
|||
* https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js |
|||
* https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts |
|||
*/ |
|||
@ -0,0 +1,49 @@ |
|||
/* |
|||
object-assign |
|||
(c) Sindre Sorhus |
|||
@license MIT |
|||
*/ |
|||
|
|||
/*! Universal Router | MIT License | https://www.kriasoft.com/universal-router/ */ |
|||
|
|||
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/ |
|||
|
|||
/** |
|||
* @license React |
|||
* react-dom.production.min.js |
|||
* |
|||
* Copyright (c) Facebook, Inc. and its affiliates. |
|||
* |
|||
* This source code is licensed under the MIT license found in the |
|||
* LICENSE file in the root directory of this source tree. |
|||
*/ |
|||
|
|||
/** |
|||
* @license React |
|||
* react-jsx-runtime.production.min.js |
|||
* |
|||
* Copyright (c) Facebook, Inc. and its affiliates. |
|||
* |
|||
* This source code is licensed under the MIT license found in the |
|||
* LICENSE file in the root directory of this source tree. |
|||
*/ |
|||
|
|||
/** |
|||
* @license React |
|||
* react.production.min.js |
|||
* |
|||
* Copyright (c) Facebook, Inc. and its affiliates. |
|||
* |
|||
* This source code is licensed under the MIT license found in the |
|||
* LICENSE file in the root directory of this source tree. |
|||
*/ |
|||
|
|||
/** |
|||
* @license React |
|||
* scheduler.production.min.js |
|||
* |
|||
* Copyright (c) Facebook, Inc. and its affiliates. |
|||
* |
|||
* This source code is licensed under the MIT license found in the |
|||
* LICENSE file in the root directory of this source tree. |
|||
*/ |
|||
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 4.6 KiB |
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 4.0 KiB |
|
After Width: | Height: | Size: 6.1 KiB |
|
After Width: | Height: | Size: 2.4 KiB |