摘要: 完整功能和页面 1、goods.wxml代码 <!--商品详情页--> <view class="container"> <scroll-view class="main" scroll-y="true"> <!--顶部轮播图--> <swiper autoplay="true" indicator 阅读全文
posted @ 2022-07-23 23:54 小李不背锅 阅读(475) 评论(0) 推荐(0) 编辑
摘要: 1、首先在page同目录下创建util工具类文件夹,因为要经常用到 2、在utilz文件夹下创建time_transform.js文件,代码如下: //时间戳转换成日期时间,传入时间精确到毫秒 function js_date_time(unixtime) { var date = new Date 阅读全文
posted @ 2022-07-23 23:19 小李不背锅 阅读(544) 评论(0) 推荐(0) 编辑