摘要:
<template> <div> <div class="scan"> <span class="prev" v-on:click="back">《</span> <div id="bcid"> <div style="height:40%"></div> <!-- <p class="tip"> 阅读全文
摘要:
第一步:挂载router方法 使用$router跳转传参 toalbumdes(index) { this.$router.push({ name: "Myalbumdes", //根据注册的组件名称跳转跳转 query: { photoalbumid: index}, //query传参 }); 阅读全文
摘要:
methods: { isAndroid() { //判断机型是android const u = navigator.userAgent; const isAndroid = u.indexOf("Android") > -1 || u.indexOf("Adr") > -1; //判断andro 阅读全文
摘要:
<script> export default { name: "Myzufanghetong", data() { return { hetong:"" } }, methods: { back() { this.$router.go(-1); }, escape2Html(str) { //转义 阅读全文
摘要:
<template> <div> <div id="app">{{1596073020000 | dataFormat('yyyy-MM-dd hh:mm:ss')}}</div> </div> </template> <script > export default { data() { }, f 阅读全文