摘要: 1.下载组件 ksp-image-cutter 2.引入 import kpsImageCutter from "@/components/ksp-image-cutter/ksp-image-cutter.vue"; 3.使用 <image @click="chooseImage()" style 阅读全文
posted @ 2020-09-21 17:18 福超 阅读(360) 评论(0) 推荐(0)
摘要: main.js 引入 Clipboard npm install --save v-clipboard import Clipboard from 'v-clipboard' Vue.use(Clipboard) 来源链接: https://blog.csdn.net/weixin_39907729 阅读全文
posted @ 2020-09-18 16:09 福超 阅读(985) 评论(0) 推荐(0)
摘要: <template> <view class="about"> <view class="lis"> <view class="li" v-for="(item,index) in 100" :key="index"> {{index}} </view> </view> <!-- :style="{ 阅读全文
posted @ 2020-09-10 17:36 福超 阅读(2758) 评论(0) 推荐(0)
摘要: 点击 openMap() 即可 传经纬度 地名地址openMap() { // 获取目的地经纬度 let j = '113.953532'; let w = '22.540024'; let obj = this.bMapTransQQMap(Number(j), Number(w)); let a 阅读全文
posted @ 2020-09-09 19:29 福超 阅读(190) 评论(0) 推荐(0)
摘要: <template> <view class="release-page"> <!-- #ifdef APP-PLUS --> <uni-nav-bar fixed="true" left-icon="back" :status-bar="true" :border="false" title="发 阅读全文
posted @ 2020-08-15 17:36 福超 阅读(592) 评论(0) 推荐(0)
摘要: //昨天的时间 var day1 = new Date(); day1.setTime(day1.getTime()-24*60*60*1000); var s1 = day1.getFullYear()+"-" + (day1.getMonth()+1) + "-" + day1.getDate( 阅读全文
posted @ 2020-08-01 15:05 福超 阅读(144) 评论(0) 推荐(0)
摘要: $ npm i --save lodash import { throttle } from 'lodash'; 引入 不是组件add_goods_num: throttle(function(){ //执行函数},1000) 阅读全文
posted @ 2020-07-29 20:00 福超 阅读(122) 评论(0) 推荐(0)
摘要: //jweixin-1.4.0 一定要下载这个版本 踩过坑 <template> <view class="container"> <view class="content"> <!-- <view :style="styleobj1" class="topContent"> --> <view c 阅读全文
posted @ 2020-07-28 19:44 福超 阅读(193) 评论(0) 推荐(0)
摘要: <template> <view class="content"> <map :latitude="latitude" :longitude="longitude" style="width: 100%; height: 40vh" scale="15" :show-location="true" 阅读全文
posted @ 2020-07-24 20:43 福超 阅读(1551) 评论(0) 推荐(0)
摘要: //点击事件 //上传图片 getImg() { if (this.fileList.length >= 9) { uni.showToast({ title: '上传数量上限', icon: 'none', duration: 1000 }) return } let that = this; u 阅读全文
posted @ 2020-07-23 20:32 福超 阅读(625) 评论(0) 推荐(0)