随笔分类 -  【前端】uni-app

摘要:链接:https://blog.csdn.net/GusLi/article/details/113267699 //index.vue页面 created() { uni.$on("changeDorm",()=>{ console.log("宿舍改变了")}) }, //bind.vue页面 m 阅读全文
posted @ 2021-03-10 22:01 Wayhome' 阅读(2340) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/itsxyu/article/details/102784464 阅读全文
posted @ 2021-02-21 17:42 Wayhome' 阅读(263) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq_37734787/article/details/107337077 阅读全文
posted @ 2021-02-20 17:43 Wayhome' 阅读(626) 评论(0) 推荐(0)
摘要:链接:https://blog.csdn.net/u010637394/article/details/108129398 阅读全文
posted @ 2021-02-19 18:43 Wayhome' 阅读(856) 评论(0) 推荐(0)
摘要:全局使用过滤器 1、main.js文件 //main.js import Vue from 'vue' import App from './App' import { getSwiperList, getGoodsDetail } from "network/http.js" Vue.protot 阅读全文
posted @ 2021-02-14 23:18 Wayhome' 阅读(385) 评论(0) 推荐(0)
摘要:获取商品id(父子组件通信) 1.子组件 <template> <view class="detail"> <view><button @click="navigator(id)">点我跳转</button></view> </view> </template> <script> export de 阅读全文
posted @ 2021-02-14 22:35 Wayhome' 阅读(409) 评论(0) 推荐(0)
摘要:1、request.js文件 /*request.js*/ /* 封装的网络请求 */ export const request = params => { const baseUrl = "https://api-hmugo-web.itheima.net/api/public/v1" retur 阅读全文
posted @ 2021-02-12 21:26 Wayhome' 阅读(900) 评论(0) 推荐(0)

// 侧边栏目录 // https://blog-static.cnblogs.com/files/douzujun/marvin.nav.my1502.css