import { Message } from 'element-ui'
const router = new Router({
base: '/',
routes: [
{
path: '/',
...
4年前 (2021-11-19)
喜欢
config/config.js写入
// 此vm参数为页面的实例,可以通过它引用vuex中的变量
module.exports = (vm) => {
// 初始化请求配置
uni.$u.http.setConfig((config) => {
...
4年前 (2021-11-19)
喜欢
function myCache(key, value, seconds = 3600 * 24) {
let nowTime = Date.parse(new Date()) / 1000;
if (key && value) {
...
4年前 (2021-11-19)
喜欢
插件地址
用来选择城市
<template>
<view style="text-align: center; padding-top: 200px;">
<picker @change="ge...
4年前 (2021-11-19)
喜欢
<li v-for="(item,index) in listTemp" :key="index">
<div v-for="(cell,i) in item" :key="i&q...
4年前 (2021-11-18)
喜欢
padding-top: var(--status-bar-height);
...
4年前 (2021-11-18)
喜欢
opacity: 1,
drawLine () {
var that = this
window.addEventListener('resize', this.drawLine)
var myChart = this.$ec...
4年前 (2021-11-18)
喜欢
<template>
<div class="jiudianlist">
<div class="jiudianlisthead">
<div class="it...
4年前 (2021-11-18)
喜欢
申请地址
懒得本地生成,直接找了一个线上地址,在线生成了。
可以查看md5值和sha1的值
...
4年前 (2021-11-17)
喜欢
let router_path = this.$route.path
console.log(router_path)
...
4年前 (2021-11-17)
喜欢