摘要:
<template> <view :style="{width: windowWidth + 'px', height: windowHeight + 'px', 'background-color': '#000'}"> <view class="goback" @click="goback" : 阅读全文
摘要:
app.vue里面写onLaunch: function(launch) { let that = this // #ifdef APP-PLUS uni.getSystemInfo({ success(res) { console.log(res) console.log(res.platform 阅读全文
摘要:
1.下载组件 ksp-image-cutter 2.引入 import kpsImageCutter from "@/components/ksp-image-cutter/ksp-image-cutter.vue"; 3.使用 <image @click="chooseImage()" style 阅读全文
摘要:
main.js 引入 Clipboard npm install --save v-clipboard import Clipboard from 'v-clipboard' Vue.use(Clipboard) 来源链接: https://blog.csdn.net/weixin_39907729 阅读全文
摘要:
<template> <view class="about"> <view class="lis"> <view class="li" v-for="(item,index) in 100" :key="index"> {{index}} </view> </view> <!-- :style="{ 阅读全文
摘要:
点击 openMap() 即可 传经纬度 地名地址openMap() { // 获取目的地经纬度 let j = '113.953532'; let w = '22.540024'; let obj = this.bMapTransQQMap(Number(j), Number(w)); let a 阅读全文
摘要:
<template> <view class="release-page"> <!-- #ifdef APP-PLUS --> <uni-nav-bar fixed="true" left-icon="back" :status-bar="true" :border="false" title="发 阅读全文
摘要:
//昨天的时间 var day1 = new Date(); day1.setTime(day1.getTime()-24*60*60*1000); var s1 = day1.getFullYear()+"-" + (day1.getMonth()+1) + "-" + day1.getDate( 阅读全文
摘要:
$ npm i --save lodash import { throttle } from 'lodash'; 引入 不是组件add_goods_num: throttle(function(){ //执行函数},1000) 阅读全文
摘要:
//jweixin-1.4.0 一定要下载这个版本 踩过坑 <template> <view class="container"> <view class="content"> <!-- <view :style="styleobj1" class="topContent"> --> <view c 阅读全文