摘要: 包:npm install qrcode.react --save import React, { Component } from 'react'; import QRCode from 'qrcode.react'; export default class Qrcode extends Com 阅读全文
posted @ 2022-12-05 20:31 QinHaoRan 阅读(234) 评论(0) 推荐(0)
摘要: grid: { // 居右 x: 50, // 居上 y: 50, // 居左 x2: 100, // 距下 y2: 40, }, 阅读全文
posted @ 2022-11-24 13:57 QinHaoRan 阅读(102) 评论(0) 推荐(0)
摘要: <el-tooltip placement="top" v-for="ar in kuan" :key="ar.id"> <div slot="content" class="tips-content text-tips-content"> <div class="rule-box"> {{ ar. 阅读全文
posted @ 2022-11-07 17:49 QinHaoRan 阅读(89) 评论(0) 推荐(0)
摘要: fun(zms) { let h = Math.floor(zms / 3600) < 10 ? "0" + Math.floor(zms / 3600) : Math.floor(zms / 3600); let m = Math.floor((zms / 60) % 60) < 10 ? "0" 阅读全文
posted @ 2022-11-07 17:44 QinHaoRan 阅读(79) 评论(0) 推荐(0)
摘要: 直接强制刷新 $forceUpdate 例如:这是个单选框 <el-radio-group v-model="form.wednesday"> <el-radio label="0" @change="$forceUpdate()">白班</el-radio> <el-radio label="1" 阅读全文
posted @ 2022-11-04 17:12 QinHaoRan 阅读(168) 评论(0) 推荐(0)
摘要: 一、先安装echarts--Handbook - Apache ECharts; 二、在min的文件中引入 Vue.prototype.$echarts = echarts; import * as echarts from 'echarts'; 三、在html里面增加一个div设置一个id <te 阅读全文
posted @ 2022-10-22 14:38 QinHaoRan 阅读(50) 评论(0) 推荐(0)
摘要: "splashscreen": { "androidStyle": "common", "alwaysShowBeforeRender": false, "waiting": true, "autoclose": true, "delay": 0 } 把上面代码,贴到manifest.json这文件 阅读全文
posted @ 2022-10-09 17:46 QinHaoRan 阅读(1409) 评论(0) 推荐(0)
摘要: 一、现在HBuilder上面打包。 1、 2、 3、 二、下载uniapp官网的SDK(https://nativesupport.dcloud.net.cn/AppDocs/download/android) !!!注意SDK的版本号要和HBuilder的版本号一致要不然会报错 1, 2,下载完毕 阅读全文
posted @ 2022-10-08 16:51 QinHaoRan 阅读(567) 评论(0) 推荐(0)
摘要: 创建 <script> export default { onLaunch: function() { console.warn('当前组件仅支持 uni_modules 目录结构 ,请升级 HBuilderX 到 3.1.0 版本以上!'); console.log('App Launch'); 阅读全文
posted @ 2022-07-27 19:24 QinHaoRan 阅读(872) 评论(0) 推荐(0)
摘要: const originalPush = Router.prototype.push Router.prototype.push = function push (location) { return originalPush.call(this, location).catch(err => er 阅读全文
posted @ 2022-07-27 13:51 QinHaoRan 阅读(251) 评论(0) 推荐(0)