随笔分类 - vue
vue学习
摘要:onLoad() { this.getList() }, getList() { var data = { column: 'id,post_id,title,author_name,cover,published_at' //需要的字段名 }; uni.request({ url: 'https:
阅读全文
摘要:Vue:uni-app学习(九)--引入地图 <template> <view> <map style="width: 100%; height: 600px;" :latitude="latitude" :longitude="longitude" :markers="covers"> </map
阅读全文
摘要:Vue:uni-app学习(八)--上滑透明渐变吸顶
阅读全文
摘要:List 列表 uni-ui 的 List 组件 ,帮助使用者快速构建列表 https://ext.dcloud.net.cn/plugin?id=24 GoodsNav 商品导航 uni-goods-nav 组件主要用于电商类应用底部导航,可自定义加入购物车,购买等操作 https://ext.d
阅读全文
摘要:一、容器属性 display:flex flex-direction: 取值:row(默认) | row-reverse | column | column-reverse flex-wrap: 取值:nowrap(默认) | wrap | wrap-reverse flex-flow: flex-
阅读全文
摘要:Vue:uni-app学习(六)--表单组件 <template> <view> </view> </template> <script> export default { data() { return { }; } } </script> <style lang="scss"> </style>
阅读全文
摘要:一、图片展示 <template> <view> <page-head :title="title"></page-head> <view class="uni-padding-wrap uni-common-mt"> <view class="uni-title"> 示例1 <text>\n本地图
阅读全文
摘要:Vue:uni-app学习(三)--下拉刷新 上滑加载
阅读全文
摘要:Vue:uni-app学习(三)--幻灯播放 <template> <view> <swiper class="swiper" :indicator-dots="indicatorDots" :autoplay="autoplay" :interval="interval" :duration="d
阅读全文
摘要:页面跳转: <template> <view class="content"> <navigator url="../form/form" open-type="navigate"> <button type="primary" class="button1">表单设置1-支持返回</button>
阅读全文
摘要:一、新建my/my.vue标签页 二、pages.json页添加 1、pages "pages": [ ...... ,{ "path" : "pages/my/my", "style" : { "navigationBarTitleText": "my" } } ], 2、tabBar "tabB
阅读全文
摘要:src\TodiList.vue <template> <div id="app"> <input v-model="inputValue" /> <button @click="handleSubmit">提交</button> <ul> <todo-item v-for="(item,index
阅读全文
摘要:一、安装 npm install -g vue-cli 二、初始化项目 vue init webpack my-project 三、启动项目 cd my-project npm run dev
阅读全文
摘要:<!DOCTYPE html><html><head> <title>vue</title> <script type="text/javascript" src="../vue.js"></script></head><body> <div id="root"> <!-- {{name}} -->
阅读全文

浙公网安备 33010602011771号