08 2021 档案

摘要:1、制作一个微信上传图片的功能 <!-- index.wxml --> <view class="con"> <text class="title">上传照片</text> <view class="img_list"> <block wx:for="{{imgList}}" wx:key="ind 阅读全文
posted @ 2021-08-31 18:31 凌晨的粥 阅读(839) 评论(1) 推荐(0) 编辑
摘要:1、在element 的基础上做一个 图片上传功能: <template> <div> <!-- list-type 图片的显示类型 --> <!-- action 图片要上次服务器的地址 --> <!-- on-preview 点击文件列表中已上传的文件时的触发的钩子函数(点击显示对应的预览图片) 阅读全文
posted @ 2021-08-27 10:47 凌晨的粥 阅读(7023) 评论(0) 推荐(0) 编辑
摘要:1、在微信上分享的时候发现只有头部标题显示,没有内容和图片,那么如何自定义内容和图片呢? 首先第一步在 index.html先引入微信JS sdk <script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.2 阅读全文
posted @ 2021-08-23 18:18 凌晨的粥 阅读(883) 评论(0) 推荐(0) 编辑
摘要:1、利用计算属性实现一个时间戳格式转化的功能: (date.js) const dataFormat = function(originVal) { const dt = new Date(originVal) const y = dt.getFullYear() const m = (dt.get 阅读全文
posted @ 2021-08-19 10:05 凌晨的粥 阅读(4888) 评论(0) 推荐(1) 编辑
摘要:如: <div id="carouselExampleCaptions001" class="carousel slide" data-ride="carousel"> <div class="carousel-inner" style="height: 100%;"> <div class="ca 阅读全文
posted @ 2021-08-12 11:48 凌晨的粥 阅读(145) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示