通过python裁剪cocos打包后的图片集
import os from PIL import Image import json # 读取图片 image_path = '14085874e.png' # 替换为你的图片路径 image = Image.open(image_path) print(f'Original image size: {image.size}') ...
python爬取西红柿小说
import os import re import requests import time from os import remove import aiofiles from aiohttp import ClientSession, ClientTimeout import asyncio from colorama import init from...
解决npm 在Vscode中无法使用的问题
1、在 vscode 终端执行 get-ExecutionPolicy # 返回 Restricted 说明状态是禁止的 Restricted 2、更改状态 set-ExecutionPolicy RemoteSigned 如果提示需要管理员权限,可加参数运行 Set-Execut...
Vue 实现页面打印
安装vue-print-nb插件npm install print-nb在main.js引入适应全局import Print from 'vue-print-nb'; Vue.use(Print);import print from 'print' handlePrint() { // 打印功能 printJS({ printa...
uniapp 小说阅读页面
<template> <view class='page' :style='{'background':global_bg}'> <view class='read_main_p'> <p>第1章</p> </view> <view class='read_content' :...
php 还原cocos加密后的uuid
<?php // 22位压缩后的 UUID解码配置 $BASE64_KEYS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='; $values = array_fill(0, 123, 64); // max char code in base...
cocos 获取所有节点组件信息
在浏览器控台输入一下代码运行即可var scene = cc.director.getScene(); var nodeList = new Array(); var total = 0; var startTime = new Date().valueOf(); var searchNode = function (node...
新版微信小程序反编译
1:新版本的微信小程序的放置的位置是 C:\Users\Administrator\AppData\Roaming\Tencent\xwechat\radium 2:下载解码工具 UnpackMiniApp
UNIAPP自定义底部TabBar
1.项目中创建一个 components 文件夹2.文件夹中创建一个TabBar文件夹,在其中创建TabBar.vue文件3.将其源码复制到TabBar.vue中<template> <view> <view class='content' :style=...








