上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 19 下一页
摘要: **uniapp uView框架 u-grid u-grid-item 组件** **class样式与style样式** **h5端没问题** **编译小程序:** **小程序编译都会被过滤,得用:customStyle绑定自定义样式** **:customStyle="{ 'justify-con 阅读全文
posted @ 2022-11-07 17:10 yoona-lin 阅读(2740) 评论(0) 推荐(0)
摘要: <style> /*每个页面公共css */ @import '@/uni_modules/uni-scss/index.scss'; 漏了 lang="scss" <style lang="scss"> /*每个页面公共css */ @import '@/uni_modules/uni-scss/ 阅读全文
posted @ 2022-10-26 17:14 yoona-lin 阅读(1538) 评论(0) 推荐(0)
摘要: 刷新后组件还报错 **问题:没重新编译** **解决:重新编译** 记得引入样式文件 app.vue <style lang="scss"> /*每个页面公共css */ @import '@/uni_modules/uni-scss/index.scss'; 阅读全文
posted @ 2022-10-26 16:58 yoona-lin 阅读(503) 评论(0) 推荐(0)
摘要: src 仅支持相对路径、绝对路径,支持 base64 码; 线上绝对地址且地址得拼凑配全,本地文件相对地址即可; 推荐使用标签; uni-app 相对路径相对于引用页面的路径,H5则是相对于使用页面的路径; uni-app 中图片名称不要使用中文,否则手机端不显示,pc端正常; 阅读全文
posted @ 2022-10-10 17:50 yoona-lin 阅读(1664) 评论(0) 推荐(0)
摘要: import request from "@/api/Interface.js"; //schema转json function schemaToTableData(modelData) { let dfs = (val, tableData) => { for (let key in val) { 阅读全文
posted @ 2022-10-10 17:25 yoona-lin 阅读(58) 评论(0) 推荐(0)
摘要: H5 小程序 <!-- 退出填写提示框 --> <view> 自定义提示框 <view v-if="outTipsShow"> </view> </view> // 退出填写提示框 outTipsShow: false, onLoad(options) { // 监听返回事件,只支持微信小程序 // 阅读全文
posted @ 2022-10-10 09:33 yoona-lin 阅读(5529) 评论(0) 推荐(1)
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>html</title> <style> * { padding: 0; margin: 0; } body { background-color: pink; 阅读全文
posted @ 2022-08-04 16:14 yoona-lin 阅读(114) 评论(0) 推荐(0)
摘要: // .eslintrc.js module.exports = { root: true, env: { node: true, }, extends: [ "plugin:vue/essential", "eslint:recommended", "plugin:prettier/recomme 阅读全文
posted @ 2022-08-04 11:07 yoona-lin 阅读(480) 评论(0) 推荐(0)
摘要: <el-button type="" circle size="mini" icon="el-icon-share" id="copyBtn" @click="shareTaskDetail" ></el-button> import ClipboardJS from "clipboard"; // 阅读全文
posted @ 2022-08-02 17:28 yoona-lin 阅读(193) 评论(0) 推荐(0)
摘要: 一行代码简单处理时间格式 new Date().toLocaleString() new Date().toLocaleString() '2022/7/20 09:47:14' new Date().toLocaleString().split(" ")[0] '2022/7/20' new Da 阅读全文
posted @ 2022-07-20 10:37 yoona-lin 阅读(1032) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 19 下一页