Merge commit '054ade4b293dedaf0f92c9a8675148b962231e51' as 'pywxdump/ui/web'

This commit is contained in:
xaoyaoo 2024-01-02 11:36:49 +08:00
commit 8b723b250f
10 changed files with 2655 additions and 0 deletions

29
pywxdump/ui/web/.gitignore vendored Normal file
View File

@ -0,0 +1,29 @@
dist/
build/
.git/
__pycache__/
decrypted/
pywxdump.egg-info/
# 忽略.idea目录
.idea/
pysqlcipher3/
# 忽略secret.txt文件
secret.txt
#.gitignore
# 忽略所有的.class文件
*.class
# 忽略所有的.iml文件
*.iml
gitandpypi.cmd
# 忽略test_xaooyaoo_conf.txt文件
test_xaooyaoo_conf.txt
# vue ignore
node_modules
.DS_Store
dist
dist-ssr
*.local

View File

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vite App</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
</body>
</html>

2551
pywxdump/ui/web/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,15 @@
{
"name": "wxdump_web",
"version": "0.0.0",
"scripts": {
"dev": "vite",
"build": "vite build"
},
"dependencies": {
"vue": "^3.0.4"
},
"devDependencies": {
"vite": "^1.0.0-rc.13",
"@vue/compiler-sfc": "^3.0.4"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@ -0,0 +1,15 @@
<template>
<img alt="Vue logo" src="./assets/logo.png" />
<HelloWorld msg="Hello Vue 3.0 + Vite" />
</template>
<script>
import HelloWorld from './components/HelloWorld.vue'
export default {
name: 'App',
components: {
HelloWorld
}
}
</script>

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

@ -0,0 +1,19 @@
<template>
<h1>{{ msg }}</h1>
<button @click="count++">count is: {{ count }}</button>
<p>Edit <code>components/HelloWorld.vue</code> to test hot module replacement.</p>
</template>
<script>
export default {
name: 'HelloWorld',
props: {
msg: String
},
data() {
return {
count: 0
}
}
}
</script>

View File

@ -0,0 +1,8 @@
#app {
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
margin-top: 60px;
}

View File

@ -0,0 +1,5 @@
import { createApp } from 'vue'
import App from './App.vue'
import './index.css'
createApp(App).mount('#app')