Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
momo的小宝贝
vue2-elm
提交
3a9b2bf2
V
vue2-elm
项目概览
momo的小宝贝
/
vue2-elm
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vue2-elm
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
3a9b2bf2
编写于
2月 09, 2018
作者:
C
cangdu
提交者:
GitHub
2月 09, 2018
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #288 from catchonme/master
修改路由关系,修复排序页面统计数字异常,修复用户名检测问题
上级
3fd11ca3
f093408f
变更
5
展开全部
隐藏空白更改
内联
并排
Showing
5 changed file
with
525 addition
and
527 deletion
+525
-527
src/components/common/shoplist.vue
src/components/common/shoplist.vue
+3
-4
src/page/food/food.vue
src/page/food/food.vue
+1
-7
src/page/profile/children/children/setusername.vue
src/page/profile/children/children/setusername.vue
+9
-3
src/page/profile/children/info.vue
src/page/profile/children/info.vue
+507
-507
src/router/router.js
src/router/router.js
+5
-6
未找到文件。
src/components/common/shoplist.vue
浏览文件 @
3a9b2bf2
...
...
@@ -29,7 +29,7 @@
</h5>
<h5
class=
"fee_distance"
>
<p
class=
"fee"
>
¥
{{
item
.
float_minimum_order_amount
}}
起送
¥
{{
item
.
float_minimum_order_amount
}}
起送
<span
class=
"segmentation"
>
/
</span>
{{
item
.
piecewise_agent_fee
.
tips
}}
</p>
...
...
@@ -123,7 +123,7 @@ export default {
}
//防止重复请求
if
(
this
.
preventRepeatReuqest
)
{
return
return
}
this
.
showLoading
=
true
;
this
.
preventRepeatReuqest
=
true
;
...
...
@@ -183,7 +183,6 @@ export default {
//监听父级的确认按钮是否被点击,并且返回一个自定义事件通知父级,已经接收到数据,此时父级才可以清除已选状态
confirmSelect
:
function
(
value
){
this
.
listenPropChange
();
this
.
$emit
(
'
DidConfrim
'
);
}
}
}
...
...
@@ -337,4 +336,4 @@ export default {
.loading-enter
,
.loading-leave-active
{
opacity
:
0
}
</
style
>
\ No newline at end of file
</
style
>
src/page/food/food.vue
浏览文件 @
3a9b2bf2
...
...
@@ -166,7 +166,7 @@
<div
class=
"back_cover"
v-show=
"sortBy"
></div>
</transition>
<section
class=
"shop_list_container"
>
<shop-list
:geohash=
"geohash"
:restaurantCategoryId=
"restaurant_category_id"
:restaurantCategoryIds=
"restaurant_category_ids"
:sortByType=
'sortByType'
:deliveryMode=
"delivery_mode"
:confirmSelect=
"confirmStatus"
:supportIds=
"support_ids"
v-if=
"latitude"
@
DidConfrim=
"clearAll"
></shop-list>
<shop-list
:geohash=
"geohash"
:restaurantCategoryId=
"restaurant_category_id"
:restaurantCategoryIds=
"restaurant_category_ids"
:sortByType=
'sortByType'
:deliveryMode=
"delivery_mode"
:confirmSelect=
"confirmStatus"
:supportIds=
"support_ids"
v-if=
"latitude"
></shop-list>
</section>
</div>
</
template
>
...
...
@@ -325,12 +325,6 @@ export default {
}
})
},
//点击取消或者确认时,需要清空当前已选的状态值
clearAll
(){
this
.
delivery_mode
=
null
;
// this.support_ids.map(item => item.status = false);
// this.filterNum = 0;
},
//只有点击清空按钮才清空数据,否则一直保持原有状态
clearSelect
(){
this
.
support_ids
.
map
(
item
=>
item
.
status
=
false
);
...
...
src/page/profile/children/setusername.vue
→
src/page/profile/children/
children/
setusername.vue
浏览文件 @
3a9b2bf2
...
...
@@ -39,7 +39,7 @@
},
mounted
(){
},
computed
:{
...
mapState
([
...
...
@@ -56,23 +56,29 @@
this
.
earn
=
false
;
this
.
bordercolor
=
true
;
this
.
opacityall
=
false
;
return
false
;
}
else
{
this
.
earn
=
true
;
this
.
bordercolor
=
false
;
this
.
opacityall
=
true
;
return
true
;
}
},
resetName
(){
let
checkResult
=
this
.
inputThing
();
if
(
!
checkResult
)
{
return
;
}
this
.
RETSET_NAME
(
this
.
inputValue
);
this
.
$router
.
go
(
-
1
);
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
@import
'src/style/mixin'
;
.rating_page
{
position
:
absolute
;
top
:
0
;
...
...
src/page/profile/children/info.vue
浏览文件 @
3a9b2bf2
此差异已折叠。
点击以展开。
src/router/router.js
浏览文件 @
3a9b2bf2
...
...
@@ -27,7 +27,7 @@ const foodDetail = r => require.ensure([], () => r(require('../page/shop/childre
const
shopDetail
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'
../page/shop/children/shopDetail
'
)),
'
shopDetail
'
)
const
shopSafe
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'
../page/shop/children/children/shopSafe
'
)),
'
shopSafe
'
)
const
info
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'
../page/profile/children/info
'
)),
'
info
'
)
const
setusername
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'
../page/profile/children/setusername
'
)),
'
setusername
'
)
const
setusername
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'
../page/profile/children/
children/
setusername
'
)),
'
setusername
'
)
const
address
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'
../page/profile/children/children/address
'
)),
'
address
'
)
const
add
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'
../page/profile/children/children/children/add
'
)),
'
add
'
)
const
addDetail
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'
../page/profile/children/children/children/children/addDetail
'
)),
'
addDetail
'
)
...
...
@@ -142,6 +142,9 @@ export default [{
path
:
'
info
'
,
//个人信息详情页
component
:
info
,
children
:
[{
path
:
'
setusername
'
,
component
:
setusername
,
},{
path
:
'
address
'
,
component
:
address
,
//编辑地址
children
:[{
...
...
@@ -154,10 +157,6 @@ export default [{
}]
}]
},
{
path
:
'
setusername
'
,
component
:
setusername
,
},
{
path
:
'
service
'
,
//服务中心
component
:
service
,
...
...
@@ -251,4 +250,4 @@ export default [{
},
]
},
]
}]
\ No newline at end of file
}]
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录