摘要:
模糊实例 图片使用高斯模糊效果: img { -webkit-filter: blur(5px); /* Chrome, Safari, Opera */ filter: blur(5px); } css语法: filter: none | blur() | brightness() | contr 阅读全文
摘要:
一、在components文件夹下新建 pagination.vue <template> <div class="page-wrap"> <ul> <li class="li-page" :plain="true" @click="goPrePage">«</li> <li v-for 阅读全文
摘要:
nuxt脚手架开发好项目后怎么打包 以下是脚手架的package.json部分代码 "scripts": { "dev": "cross-env NODE_ENV=development nodemon server/index.js --watch server", "build": "nuxt 阅读全文
摘要:
<template>标签中: <view class="" v-if="daShow==1"> <view class="orderlist-list" @click="goDetail(item.id)" v-for="item in row_list" :key='item.id'> <!-- 阅读全文
摘要:
首先要学会看文档,https://www.nuxtjs.cn/guide/configuration 一、创建项目,并运行 终端运行 npx create-nuxt-app <项目名> (npx(npx在NPM版本5.2.0默认安装了)),填写完项目信息后进入项目目录运行 npm run dev即可 阅读全文
摘要:
一、首先要关闭原生导航栏 :在pages.json 中设置 "navigationStyle":"custom" 二、在APP.vue中 onLaunch: function() { uni.getSystemInfo({ success: function(e) { // #ifndef MP V 阅读全文
摘要:
是否为 null 是否为 "" 是否为空字符串(引号中间有空格) 如: " "。 制表符、换行符、换页符和回车 一. 字符串 1. if(str == null || str == "") 非空 if(str != null && str != "") 2. if(str == null || st 阅读全文
摘要:
第一步:在components下创建 popup.vue子组件; popup.vue中 <template> <view> <view class="popus-box"> <view class="content"> <view class="title">{{propsMsg.title}}</ 阅读全文
摘要:
当前时间:<div>{{updateTime}}</dmethods:{ infor(){ var that = this; that.addDate() }, //获取当前年月日 addDate(){ var that = this; const nowDate = new Date(); con 阅读全文
摘要:
强大的css样式实现平行四边形: 啥也不说了,直接上代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <met 阅读全文