mirror of
https://github.com/silenty4ng/k5web
synced 2025-01-15 16:22:44 +00:00
Compare commits
No commits in common. "ad8b65511f04ad78580328bf8107cb06871f54ed" and "774e55e18ee387dd6ba0071f23325a2358fdd26c" have entirely different histories.
ad8b65511f
...
774e55e18e
11 changed files with 11 additions and 124 deletions
|
@ -82,8 +82,3 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
SOFTWARE.
|
SOFTWARE.
|
||||||
```
|
```
|
||||||
|
|
||||||
## 饿饿饭饭
|
|
||||||
<img src="https://github.com/silenty4ng/k5web/blob/master/public/mm_facetoface_collect_qrcode_1714392837792.png?raw=true" width="300" /> <img src="https://github.com/silenty4ng/k5web/blob/master/public/1722745910257.jpg?raw=true" width="300" />
|
|
||||||
|
|
||||||
TRON / TRX:TPaSnHJ2cRCQjjv7TyAFJDamb3mZSSz1At
|
|
||||||
|
|
|
@ -73,21 +73,5 @@ export default defineConfig({
|
||||||
javascriptEnabled: true,
|
javascriptEnabled: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
postcss: {
|
|
||||||
plugins: [
|
|
||||||
require('postcss-px-to-viewport')({
|
|
||||||
viewportWidth: 2560, // 视口宽度,对应设计稿宽度
|
|
||||||
viewporHeight: 1440, // 视口高度,对应设计稿高度
|
|
||||||
unitPrecision: 3, // 指定px转换之后的小数位数
|
|
||||||
viewportUnit: 'vw', // 转换的单位
|
|
||||||
fontViewportUnit: 'vw', // 字体使用的单位
|
|
||||||
replace: false, // 是否直接更换属性值,而不添加备用属性
|
|
||||||
selectorBlackList: ['.ignore', '.hairlines', '.arco', '.layout', '.nav-btn'], // 指定不转换的类
|
|
||||||
exclude: /(\/|\\)(node_modules)(\/|\\)/, //禁止更改第三方UI框架样式
|
|
||||||
minPixelValue: 15, // 小于或等于1px不转换
|
|
||||||
mediaQuery: true, // 允许在媒体查询中转换
|
|
||||||
})
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
@ -67,7 +67,6 @@
|
||||||
"less": "^4.1.3",
|
"less": "^4.1.3",
|
||||||
"mockjs": "^1.1.0",
|
"mockjs": "^1.1.0",
|
||||||
"postcss-html": "^1.5.0",
|
"postcss-html": "^1.5.0",
|
||||||
"postcss-px-to-viewport": "^1.1.1",
|
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^2.7.1",
|
||||||
"rollup": "^3.9.1",
|
"rollup": "^3.9.1",
|
||||||
"rollup-plugin-visualizer": "^5.8.2",
|
"rollup-plugin-visualizer": "^5.8.2",
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 127 KiB |
|
@ -144,7 +144,6 @@ export default {
|
||||||
'menu.firmware': 'Firmware Store',
|
'menu.firmware': 'Firmware Store',
|
||||||
'menu.channel': 'Channel Share',
|
'menu.channel': 'Channel Share',
|
||||||
'global.use': 'Use',
|
'global.use': 'Use',
|
||||||
'global.download': 'Download',
|
|
||||||
'tool.ssbpatch': 'LOSEHU S Firmware SI4732 SSB Patch',
|
'tool.ssbpatch': 'LOSEHU S Firmware SI4732 SSB Patch',
|
||||||
'tool.writessbpatch': 'SSB Patch Write',
|
'tool.writessbpatch': 'SSB Patch Write',
|
||||||
'global.login': 'Login',
|
'global.login': 'Login',
|
||||||
|
|
|
@ -144,7 +144,6 @@ export default {
|
||||||
'menu.firmware': '固件市场',
|
'menu.firmware': '固件市场',
|
||||||
'menu.channel': '信道分享',
|
'menu.channel': '信道分享',
|
||||||
'global.use': '使用',
|
'global.use': '使用',
|
||||||
'global.download': '下载',
|
|
||||||
'tool.ssbpatch': 'LOSEHU S 版固件 SI4732 单边带补丁',
|
'tool.ssbpatch': 'LOSEHU S 版固件 SI4732 单边带补丁',
|
||||||
'tool.writessbpatch': '写入单边带补丁',
|
'tool.writessbpatch': '写入单边带补丁',
|
||||||
'global.login': '登录',
|
'global.login': '登录',
|
||||||
|
|
|
@ -21,35 +21,15 @@
|
||||||
<a-typography-text>◆ K5Web 使用视频教程(BG7QJV):<t-link theme="primary" href="https://www.douyin.com/video/7378314511419313458" target="_blank">https://www.douyin.com/video/7378314511419313458</t-link> 。</a-typography-text><br>
|
<a-typography-text>◆ K5Web 使用视频教程(BG7QJV):<t-link theme="primary" href="https://www.douyin.com/video/7378314511419313458" target="_blank">https://www.douyin.com/video/7378314511419313458</t-link> 。</a-typography-text><br>
|
||||||
<a-typography-text>◆ K5Web 使用视频教程(BG3ODZ):<t-link theme="primary" href="https://www.bilibili.com/video/BV1Q4421D75x" target="_blank">https://www.bilibili.com/video/BV1Q4421D75x</t-link> 。</a-typography-text>
|
<a-typography-text>◆ K5Web 使用视频教程(BG3ODZ):<t-link theme="primary" href="https://www.bilibili.com/video/BV1Q4421D75x" target="_blank">https://www.bilibili.com/video/BV1Q4421D75x</t-link> 。</a-typography-text>
|
||||||
</div>
|
</div>
|
||||||
<div style="margin-top: 50px;"> </div>
|
|
||||||
<div>
|
<div>
|
||||||
<a-collapse :default-active-key="[1]" accordion>
|
<a-typography-title :heading="5">腾讯公益:</a-typography-title>
|
||||||
<a-collapse-item header="广告区" :key="1">
|
|
||||||
<a-card hoverable :style="{ width: '600px' }">
|
|
||||||
<template #cover>
|
|
||||||
<div
|
|
||||||
>
|
|
||||||
<img
|
|
||||||
:style="{ width: '100%' }"
|
|
||||||
alt="ads"
|
|
||||||
src="/jjgg.jpg"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<a-card-meta title="BG4IWE 投放">
|
|
||||||
</a-card-meta>
|
|
||||||
</a-card>
|
|
||||||
</a-collapse-item>
|
|
||||||
<a-collapse-item header="腾讯公益" :key="2">
|
|
||||||
<img class="tencent" style="margin-bottom: 10px;" width="200px" src="/gy.png" />
|
<img class="tencent" style="margin-bottom: 10px;" width="200px" src="/gy.png" />
|
||||||
</a-collapse-item>
|
</div>
|
||||||
<a-collapse-item header="饿饿饭饭" :key="3">
|
<div>
|
||||||
<img width="300" src="/mm_facetoface_collect_qrcode_1714392837792.png" >
|
<a-typography-title :heading="5">广告区:</a-typography-title>
|
||||||
<img width="300" src="/1722745910257.jpg" >
|
<div style="border: 1px dashed; display: inline-block;">
|
||||||
<br><br>
|
<img style="margin: 20px; " class="tencent" height="200px" src="/jjgg.jpg" />
|
||||||
TRON / TRX:TPaSnHJ2cRCQjjv7TyAFJDamb3mZSSz1At
|
</div>
|
||||||
</a-collapse-item>
|
|
||||||
</a-collapse>
|
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
|
@ -129,12 +109,6 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
:deep(.arco-collapse-item-content-expend){
|
|
||||||
background-color: var(--color-bg-2);
|
|
||||||
}
|
|
||||||
:deep(.arco-collapse-item-content-box){
|
|
||||||
background-color: var(--color-bg-2);
|
|
||||||
}
|
|
||||||
.banner {
|
.banner {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 20px 20px 0 20px;
|
padding: 20px 20px 0 20px;
|
||||||
|
|
|
@ -29,7 +29,6 @@
|
||||||
</a-list-item-meta>
|
</a-list-item-meta>
|
||||||
<template #actions>
|
<template #actions>
|
||||||
<a-link @click="onStar(item.id)">👍</a-link>
|
<a-link @click="onStar(item.id)">👍</a-link>
|
||||||
<a-link @click="iDownload('https://k6.vicicode.cn/wsapi/download?id=' + item.id, item.title)">{{$t('global.download')}}</a-link>
|
|
||||||
<a-link @click="useFirmware('https://k6.vicicode.cn/wsapi/download?id=' + item.id)">{{$t('global.use')}}</a-link>
|
<a-link @click="useFirmware('https://k6.vicicode.cn/wsapi/download?id=' + item.id)">{{$t('global.use')}}</a-link>
|
||||||
</template>
|
</template>
|
||||||
</a-list-item>
|
</a-list-item>
|
||||||
|
@ -211,18 +210,6 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
const iDownload = (url: any, name: any) => {
|
|
||||||
fetch(url).then(e=>e.blob()).then(blob=>{
|
|
||||||
const url = URL.createObjectURL(blob);
|
|
||||||
const a = document.createElement('a');
|
|
||||||
a.href = url;
|
|
||||||
a.download = name + '.xlsx';
|
|
||||||
document.body.appendChild(a);
|
|
||||||
a.click();
|
|
||||||
document.body.removeChild(a);
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
|
|
@ -29,7 +29,6 @@
|
||||||
</a-list-item-meta>
|
</a-list-item-meta>
|
||||||
<template #actions>
|
<template #actions>
|
||||||
<a-link @click="onStar(item.id)">👍</a-link>
|
<a-link @click="onStar(item.id)">👍</a-link>
|
||||||
<a-link @click="iDownload('https://k6.vicicode.cn/wsapi/download?id=' + item.id, item.title)">{{$t('global.download')}}</a-link>
|
|
||||||
<a-link @click="useFirmware('https://k6.vicicode.cn/wsapi/download?id=' + item.id + '&n=/' + item.title)">{{$t('global.use')}}</a-link>
|
<a-link @click="useFirmware('https://k6.vicicode.cn/wsapi/download?id=' + item.id + '&n=/' + item.title)">{{$t('global.use')}}</a-link>
|
||||||
</template>
|
</template>
|
||||||
</a-list-item>
|
</a-list-item>
|
||||||
|
@ -211,18 +210,6 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
const iDownload = (url: any, name: any) => {
|
|
||||||
fetch(url).then(e=>e.blob()).then(blob=>{
|
|
||||||
const url = URL.createObjectURL(blob);
|
|
||||||
const a = document.createElement('a');
|
|
||||||
a.href = url;
|
|
||||||
a.download = name;
|
|
||||||
document.body.appendChild(a);
|
|
||||||
a.click();
|
|
||||||
document.body.removeChild(a);
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
|
|
@ -10,10 +10,7 @@
|
||||||
<a-radio v-for="subItem in state.disMatrix[item]" :value="subItem[0]"
|
<a-radio v-for="subItem in state.disMatrix[item]" :value="subItem[0]"
|
||||||
:disabled="subItem[1]">{{ state.disName[item].get(subItem[0]) }}</a-radio>
|
:disabled="subItem[1]">{{ state.disName[item].get(subItem[0]) }}</a-radio>
|
||||||
</a-radio-group>
|
</a-radio-group>
|
||||||
<div>
|
<a-button type="primary" @click="useFirmware">{{ $t('diy.generate') }}</a-button>
|
||||||
<a-button type="primary" @click="useFirmware">{{ $t('diy.generate') }}</a-button>
|
|
||||||
<a-link @click="iDownload">{{$t('global.download')}}</a-link>
|
|
||||||
</div>
|
|
||||||
</t-space>
|
</t-space>
|
||||||
</a-card>
|
</a-card>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
@ -39,18 +36,6 @@ const useFirmware = () => {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
const iDownload = () => {
|
|
||||||
fetch('https://k6.vicicode.cn/diyapi/LOSEHU' + state.flag.join('') + '.bin?v=' + (new Date()).getTime()).then(e=>e.blob()).then(blob=>{
|
|
||||||
const url = URL.createObjectURL(blob);
|
|
||||||
const a = document.createElement('a');
|
|
||||||
a.href = url;
|
|
||||||
a.download = "LOSEHU-CUSTOM-" + state.flag.join('') + ".bin";
|
|
||||||
document.body.appendChild(a);
|
|
||||||
a.click();
|
|
||||||
document.body.removeChild(a);
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
const state: {
|
const state: {
|
||||||
versions: any,
|
versions: any,
|
||||||
flag: any,
|
flag: any,
|
||||||
|
|
24
yarn.lock
24
yarn.lock
|
@ -5655,7 +5655,7 @@ number-precision@^1.5.0:
|
||||||
resolved "https://registry.npmjs.org/number-precision/-/number-precision-1.6.0.tgz"
|
resolved "https://registry.npmjs.org/number-precision/-/number-precision-1.6.0.tgz"
|
||||||
integrity sha512-05OLPgbgmnixJw+VvEh18yNPUo3iyp4BEWJcrLu4X9W05KmMifN7Mu5exYvQXqxxeNWhvIF+j3Rij+HmddM/hQ==
|
integrity sha512-05OLPgbgmnixJw+VvEh18yNPUo3iyp4BEWJcrLu4X9W05KmMifN7Mu5exYvQXqxxeNWhvIF+j3Rij+HmddM/hQ==
|
||||||
|
|
||||||
object-assign@>=4.0.1, object-assign@^4.0.1, object-assign@^4.1.0:
|
object-assign@^4.0.1, object-assign@^4.1.0:
|
||||||
version "4.1.1"
|
version "4.1.1"
|
||||||
resolved "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz"
|
resolved "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz"
|
||||||
integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==
|
integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==
|
||||||
|
@ -5993,11 +5993,6 @@ picocolors@^1.0.0:
|
||||||
resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz"
|
resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz"
|
||||||
integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==
|
integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==
|
||||||
|
|
||||||
picocolors@^1.0.1:
|
|
||||||
version "1.0.1"
|
|
||||||
resolved "https://repo.vicicode.com/repository/npm-proxy/picocolors/-/picocolors-1.0.1.tgz#a8ad579b571952f0e5d25892de5445bcfe25aaa1"
|
|
||||||
integrity sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==
|
|
||||||
|
|
||||||
picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1:
|
picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1:
|
||||||
version "2.3.1"
|
version "2.3.1"
|
||||||
resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz"
|
resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz"
|
||||||
|
@ -6087,28 +6082,11 @@ postcss-html@^1.5.0:
|
||||||
postcss "^8.4.0"
|
postcss "^8.4.0"
|
||||||
postcss-safe-parser "^6.0.0"
|
postcss-safe-parser "^6.0.0"
|
||||||
|
|
||||||
postcss-px-to-viewport@^1.1.1:
|
|
||||||
version "1.1.1"
|
|
||||||
resolved "https://repo.vicicode.com/repository/npm-proxy/postcss-px-to-viewport/-/postcss-px-to-viewport-1.1.1.tgz#a25ca410b553c9892cc8b525cc710da47bf1aa55"
|
|
||||||
integrity sha512-2x9oGnBms+e0cYtBJOZdlwrFg/mLR4P1g2IFu7jYKvnqnH/HLhoKyareW2Q/x4sg0BgklHlP1qeWo2oCyPm8FQ==
|
|
||||||
dependencies:
|
|
||||||
object-assign ">=4.0.1"
|
|
||||||
postcss ">=5.0.2"
|
|
||||||
|
|
||||||
postcss-safe-parser@^6.0.0:
|
postcss-safe-parser@^6.0.0:
|
||||||
version "6.0.0"
|
version "6.0.0"
|
||||||
resolved "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-6.0.0.tgz"
|
resolved "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-6.0.0.tgz"
|
||||||
integrity sha512-FARHN8pwH+WiS2OPCxJI8FuRJpTVnn6ZNFiqAM2aeW2LwTHWWmWgIyKC6cUo0L8aeKiF/14MNvnpls6R2PBeMQ==
|
integrity sha512-FARHN8pwH+WiS2OPCxJI8FuRJpTVnn6ZNFiqAM2aeW2LwTHWWmWgIyKC6cUo0L8aeKiF/14MNvnpls6R2PBeMQ==
|
||||||
|
|
||||||
postcss@>=5.0.2:
|
|
||||||
version "8.4.40"
|
|
||||||
resolved "https://repo.vicicode.com/repository/npm-proxy/postcss/-/postcss-8.4.40.tgz#eb81f2a4dd7668ed869a6db25999e02e9ad909d8"
|
|
||||||
integrity sha512-YF2kKIUzAofPMpfH6hOi2cGnv/HrUlfucspc7pDyvv7kGdqXrfj8SCl/t8owkEgKEuu8ZcRjSOxFxVLqwChZ2Q==
|
|
||||||
dependencies:
|
|
||||||
nanoid "^3.3.7"
|
|
||||||
picocolors "^1.0.1"
|
|
||||||
source-map-js "^1.2.0"
|
|
||||||
|
|
||||||
postcss@^8.4.0, postcss@^8.4.18, postcss@^8.4.35:
|
postcss@^8.4.0, postcss@^8.4.18, postcss@^8.4.35:
|
||||||
version "8.4.38"
|
version "8.4.38"
|
||||||
resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.38.tgz"
|
resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.38.tgz"
|
||||||
|
|
Loading…
Reference in a new issue