摘要: <template> <view :style="{width: windowWidth + 'px', height: windowHeight + 'px', 'background-color': '#000'}"> <view class="goback" @click="goback" : 阅读全文
posted @ 2020-10-17 17:26 福超 阅读(280) 评论(0) 推荐(0) 编辑
摘要: app.vue里面写onLaunch: function(launch) { let that = this // #ifdef APP-PLUS uni.getSystemInfo({ success(res) { console.log(res) console.log(res.platform 阅读全文
posted @ 2020-09-21 19:06 福超 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 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 福超 阅读(341) 评论(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 福超 阅读(948) 评论(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 福超 阅读(2700) 评论(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 福超 阅读(162) 评论(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 福超 阅读(540) 评论(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 福超 阅读(139) 评论(0) 推荐(0) 编辑
摘要: $ npm i --save lodash import { throttle } from 'lodash'; 引入 不是组件add_goods_num: throttle(function(){ //执行函数},1000) 阅读全文
posted @ 2020-07-29 20:00 福超 阅读(118) 评论(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 福超 阅读(183) 评论(0) 推荐(0) 编辑