摘要: <view class="btm_tool"> <view class="tool_item"> <view class="iconfont icon-kefu"></view> <view> 联系客服 </view> <button open-type="contact"></button> </ 阅读全文
posted @ 2021-01-21 23:04 13522679763-任国强 阅读(130) 评论(0) 推荐(0)
摘要: // 点击轮播图 放大预览 handlePrevewImage(e){ // 1 先构造要预览的图片数组 const urls = this.GoodsInfo.pics.map(v=>v.pics_mid) // 2 接收传递过来的图片url const current = e.currentTa 阅读全文
posted @ 2021-01-21 22:00 13522679763-任国强 阅读(302) 评论(0) 推荐(0)
摘要: // 同时发送的异步代码的次数 let ajaxTimes = 0; export const request=(params)=>{ ajaxTimes++; // 显示加载中效果 wx.showLoading({ title: "加载中", mask: true }); // 定义公共的url 阅读全文
posted @ 2021-01-21 20:48 13522679763-任国强 阅读(113) 评论(0) 推荐(0)
摘要: "enablePullDownRefresh": true, "backgroundTextStyle":"dark" /** * 页面相关事件处理函数--监听用户下拉动作 */ onPullDownRefresh: function () { console.log('下拉刷新') //1 重置数 阅读全文
posted @ 2021-01-21 20:38 13522679763-任国强 阅读(136) 评论(0) 推荐(0)
摘要: // pages/goods_list/index.js import {request} from "../../request/index.js" import regeneratorRuntime from "../../lib/runtime/runtime.js"; Page({ /** 阅读全文
posted @ 2021-01-21 20:26 13522679763-任国强 阅读(75) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-01-21 15:41 13522679763-任国强 阅读(56) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-01-21 14:55 13522679763-任国强 阅读(72) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-01-21 12:21 13522679763-任国强 阅读(36) 评论(0) 推荐(0)