File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ vue2 + vue-rotuer2 + vuex2 + webpack + ES6/7 + fetch + sass + flex + svg + http-
1616- [x] 定位功能 -- 完成
1717- [x] 选择城市 -- 完成
1818- [x] 搜索地址 -- 完成
19- - [x] 展示所选地址附近商家列表
19+ - [x] 展示所选地址附近商家列表 -- 完成
2020- [ ] 搜索美食,餐馆
2121- [ ] 根据距离、销量、评分、特色菜等进行排序和筛选
2222- [ ] 单个餐馆的详细信息展示,商品列表,优惠活动
@@ -44,6 +44,8 @@ vue2 + vue-rotuer2 + vuex2 + webpack + ES6/7 + fetch + sass + flex + svg + http-
4444|-- src // 源码目录
4545| |-- components // 组件
4646| |-- common // 公共组件
47+ | |-- mixin.js // 组件混合(包括:指令-下拉加载更多。。。)
48+ | |-- shoplist.js // msite和shop页面的餐馆列表公共组件
4749| |-- footer // 底部公共组件
4850| |-- header // 头部公共组件
4951|
@@ -57,11 +59,11 @@ vue2 + vue-rotuer2 + vuex2 + webpack + ES6/7 + fetch + sass + flex + svg + http-
5759| |-- pages // 页面组件
5860| |-- checkout // 确认订单页
5961| |-- city // 当前城市页
62+ | |-- food // 特色餐馆列表页
6063| |-- forget // 忘记密码,修改密码页
6164| |-- home // 首页
6265| |-- login // 登陆注册页
6366| |-- msite // 商铺列表页
64- | |-- food // 特色餐馆列表页
6567| |-- order // 订单列表页
6668| |-- profile // 个人中心
6769| |-- search // 搜索页
@@ -73,6 +75,8 @@ vue2 + vue-rotuer2 + vuex2 + webpack + ES6/7 + fetch + sass + flex + svg + http-
7375| |-- router // 路由配置
7476|
7577| |-- service // 数据交互统一调配
78+ | |-- template // 存放临时数据
79+ | |-- getData.js // 获取数据的统一调配文件,方便管理接口
7680|
7781| |-- store // vuex的状态管理
7882| |-- modules // store模块
Original file line number Diff line number Diff line change 4848 #head_top {
4949 background-color : $blue ;
5050 position : fixed ;
51- z-index : 999999999999 ;
51+ z-index : 9999 ;
5252 left : 0 ;
5353 top : 0 ;
5454 @include wh (100% , 1.95rem );
Original file line number Diff line number Diff line change 11<template >
2- <div >
2+ <div class = " marginTop " >
33 <head-top head-title =" 搜索" goBack =" true" ></head-top >
4+ <form class =" search_form" >
5+ <input type =" search" name =" search" class =" search_input" >
6+ <input type =" submit" name =" submit" class =" search_submit" >
7+ </form >
48 </div >
59</template >
610
@@ -32,5 +36,16 @@ export default {
3236 </script >
3337
3438<style lang="scss" scoped>
35-
39+ @import ' ../../style/mixin.scss' ;
40+
41+ .search_form {
42+ background-color : #fff ;
43+ .search_input {
44+
45+ }
46+ .search_submit {
47+
48+ }
49+ }
50+
3651 </style >
Original file line number Diff line number Diff line change @@ -68,4 +68,8 @@ html,body{
6868 overflow : hidden ;
6969 text-overflow : ellipsis ;
7070 white-space : nowrap ;
71+ }
72+
73+ .marginTop {
74+ margin-top : 1.95rem ;
7175}
You can’t perform that action at this time.
0 commit comments