会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Wayhome😲
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
11
12
13
下一页
2021年2月14日
获取商品id
摘要: 获取商品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'
阅读(410)
评论(0)
推荐(0)
2021年2月12日
vue/uni-app引入全局封装的网络请求
摘要: 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'
阅读(902)
评论(0)
推荐(0)
2021年2月9日
使用阿里字体图标iconfont
摘要: 使用阿里字体图标iconfont:https://www.bilibili.com/video/BV1nE41117BQ?p=48
阅读全文
posted @ 2021-02-09 18:23 Wayhome'
阅读(76)
评论(0)
推荐(0)
2021年2月2日
使用CSS Tree插件快速生成CSS树结构
摘要: CSS Tree快速生成CSS样式结构 1.安装CSS Tree插件 2.全选html代码 <view class="receive_address"> <!-- 收货地址按钮 开始 --> <view class="btn" wx:if="{{!address.userName}}"> <butt
阅读全文
posted @ 2021-02-02 22:48 Wayhome'
阅读(1241)
评论(0)
推荐(0)
微信小程序加入购物车功能
摘要: 微信小程序加入购物车:https://www.bilibili.com/video/BV1nE41117BQ?p=81 // pages/goods_detail/goods_detail.js import { getGoodsDetail } from '../../network/http.j
阅读全文
posted @ 2021-02-02 16:41 Wayhome'
阅读(1808)
评论(0)
推荐(0)
2021年2月1日
vscode编辑代码自动保存,微信开发者工具自动编译
摘要: 1.vscode设置 2.微信开发者工具设置
阅读全文
posted @ 2021-02-01 23:32 Wayhome'
阅读(1368)
评论(0)
推荐(0)
微信小程序上拉加载更多和下拉刷新
摘要: // pages/goods_list/goods_list.js import { getGoodsList } from '../../network/http.js'; Page({ /** * 页面的初始数据 */ data: { cid: '',//商品传递过来的id参数 goodsLis
阅读全文
posted @ 2021-02-01 11:08 Wayhome'
阅读(329)
评论(0)
推荐(0)
2021年1月31日
微信小程序父子组件传递值和监听事件
摘要: 1.定义子组件Tabs <!-- Tabs.wxml组件 --> <view class="tab_wrapper"> <view class="tab"> <view class="{{currentIndex index?'active':''}} title" wx:for="{{tabs}}
阅读全文
posted @ 2021-01-31 21:16 Wayhome'
阅读(1789)
评论(0)
推荐(0)
2021年1月30日
微信小程序缓存技术
摘要: 微信小程序缓存技术:https://www.bilibili.com/video/BV1nE41117BQ?p=63 /** 思路: 1.先判断本地存储中有没有旧数据 2.没有旧数据,直接发送新请求 3.有旧数据,同时旧数据没有过期,就使用本地存储中的数据 */ //request.js /*封装的
阅读全文
posted @ 2021-01-30 20:57 Wayhome'
阅读(387)
评论(0)
推荐(0)
2021年1月27日
vscode同时编辑多处
摘要: https://www.jb51.net/softjc/609020.html
阅读全文
posted @ 2021-01-27 17:03 Wayhome'
阅读(99)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
13
下一页
公告
// 侧边栏目录 // https://blog-static.cnblogs.com/files/douzujun/marvin.nav.my1502.css