- 博客(8)
- 收藏
- 关注
原创 仿大众点评——tab切换、部分数据的显示与隐藏
图代码template<template> <div id="app"> <div v-for="(index,key) in GroupBuying" v-bind:key="'one'+key"> <div class="GroupName">{{index.GroupName}}</div> ...
2019-12-29 22:00:34 277
原创 JavaScript——Array类型
检测数组一个网页或一个全局作用域instanceof操作符网页包含多个框架(两个以上不同的全局执行环境)Array.isArray()转换方法toLocaleString()var person1={ toLocaleString:function(){ return "name1"; }, toString:function(){ ret...
2019-12-28 13:06:53 261
原创 仿大众点评——aui-tab按钮组工具栏
tab切换图代码这里我引用了AUI的框架,所以需要在index.html文件进行配置//css样式引入 <link rel="stylesheet" href="/static/css/aui.css">//script引入<script src="/static/script/api.js"></script><script src="...
2019-12-26 22:52:00 524
原创 echarts——折线图、散点图、拐点类型、拐点大小
//data是传进来的数据function charts(data) { var myChart = echarts.init(document.getElementById('main')); option = { width: '650px', height: '410px', ...
2019-12-24 23:27:34 2190
原创 仿大众点评——美食列表
图代码template<template> <div id="app"> <div class="fl-flex" v-for="(index,key) in restaurant.Restaurant" v-bind:key="key"> <div class="flex1"> <div cl...
2019-12-23 20:49:13 356
原创 仿大众点评——如何设置页面不随宽度变化拉伸
图在引用页面设置总宽度<template> <div> <v-foodList style="width:1000px;"></v-foodList> </div></template><script>import foodList from '../../compon...
2019-12-22 22:28:05 146
原创 仿大众点评——解决placeholder中iconfont不显示和颜色改变的问题
成果图iconfont图标不显示之前在网上搜索placeholder如何显示iconfont图标,网上大部分的答案都是 <input type="text" class="iconfont inp" placeholder="" />但是这样的话图标根本出不来如何在input的placeholder中显示图标我们只需把代码换一换 &...
2019-12-21 16:36:29 431 1
原创 仿大众点评——地区选择(阻止下拉列表框的消失)
实现图代码<template> <div id="app"> <div class="cf-flex dropdown"> <div class="cf-flex1" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" ari...
2019-12-20 22:02:00 259
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人