uni-app
小蜜蜂dyh
这个作者很懒,什么都没留下…
展开
-
uniapp前端js来实现打开移动端的相机功能,并将图片通过七牛云获得图片网络地址保存到数据库
一、如下1.首先实现相机拍照功能利用uniapp的组件chooseImage:takePhoto(){ let self = this; uni.chooseImage({ count: 1, sizeType: ['compressed'], sourceType: ['camera'], success: function(res){ let tempFilePaths = res.tempFilePaths; sel原创 2021-03-08 10:14:35 · 631 阅读 · 0 评论 -
uniapp手动画table,并固定表头,支持横向纵向滑动
在template里面(示例)<view class="table-main"> <table class="gridtable"> <thead> <tr class="title"> <td class="title-th" style="width: 100upx;height: 50upx;">编号</td> <td class="title-th" style="width: 20原创 2021-02-22 14:37:25 · 4591 阅读 · 1 评论