logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

postcss-px-to-viewport 适配 uniapp

参考:https://uniapp.dcloud.io/component/page-meta?id=page-metamodule.exports = {css: {loaderOptions: {postcss: {plugins: [require(‘postcss-px-to-viewport‘)({unitToConv

#postcss#javascript#ecmascript
uniapp之Web-view遮挡导航方案

方案一:pages.json定义原生导航{"path": "pages/checkout/checkout","style": {"app-plus": {"navigationBarTitleText": "个人中心","titleNView": {"autoBackButton": false,

uniapp计算和清理缓存

1.计算缓存data(){return {fileSizeString:''}},//methodsformatSize() {let that = this;plus.cache.calculate(function(size) {let sizeCache = parseInt(size);if (sizeCache == 0) {that.fileSizeString = "0B";} el

#typescript#echarts#小程序
vue项目使用websocket

<template><div><button @click="send">发消息</button></div></template><script>export default {data () {return {path:"ws://192.168.0.200:8005/qrCodePage/ID=1/refre

#javascript
uniapp之colorUI

1.colorUI官网链接:https://www.color-ui.com/2.在app.vue引入css:@import "colorui/main.css";@import "colorui/icon.css";3.在main.js引入cu-custom组件import cuCustom from 'colorui/components/cu-custom.vue'Vue.component

#小程序
uniapp计算和清理缓存

1.计算缓存data(){return {fileSizeString:''}},//methodsformatSize() {let that = this;plus.cache.calculate(function(size) {let sizeCache = parseInt(size);if (sizeCache == 0) {that.fileSizeString = "0B";} el

#typescript#echarts#小程序
sublime text3中开启格式化代码快捷键

sublime text3中开启格式化代码快捷键sublime代码格式化快捷键开启操作非常简单,输入[{ "keys": ["ctrl+shift+r"], "command": "reindent" }],根据自己需要可以随意指定快捷键。按照下图操作就行了。...

Iframe去嵌入ThingJS的物联网项目传值postMessage

1.页面代码<div width="800px"><button style="position: absolute;top: 15px;left: 15px;width: 75px;" onclick="flyToCar()">飞到小车</button><button style="position: absolute;top: 45px;left: 1

#javascript
到底了