Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
xianyu-ufo-app-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
TaoHuang
2019-10-23 16:39:05 +0800
Commit
99cf9aee8db311697047e682094e47ed2aedcee1
2 parents
fdffc2ca
cebd02ae
Merge remote-tracking branch 'origin/develop' into develop
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
7 deletions
apps/pages/order/delivery-back-address.vue
apps/pages/order/order-list/index.js
apps/pages/product/mixins.js
apps/pages/product/product-detail.vue
apps/store/product/actions.js
apps/pages/order/delivery-back-address.vue
View file @
99cf9ae
<template>
<layout-app class="address-wrapper" title="商品回寄地址">
<SellOrderAddress :isOnlyShowBack="true" />
<layout-app title="商品回寄地址">
<div class="address-wrapper">
<SellOrderAddress :isOnlyShowBack="true" />
</div>
</layout-app>
</template>
...
...
apps/pages/order/order-list/index.js
View file @
99cf9ae
...
...
@@ -18,7 +18,6 @@ const routers = [
};
},
beforeEnter
:
(
to
,
from
,
next
)
=>
{
// ...
next
();
},
},
...
...
apps/pages/product/mixins.js
View file @
99cf9ae
...
...
@@ -14,7 +14,7 @@ export default {
return
this
.
productDetail
.
goods_list
[
0
].
image_list
;
},
resource
()
{
return
this
.
productDetail
.
resource
;
return
this
.
productDetail
.
resource
||
{}
;
},
activity
()
{
return
this
.
productDetail
.
activity
;
...
...
apps/pages/product/product-detail.vue
View file @
99cf9ae
<template>
<div class="layout">
<LayoutHeader class="layout-header" :show-back="true"
:title="'\u200E'
"></LayoutHeader>
<LayoutHeader class="layout-header" :show-back="true"
title="商品详情
"></LayoutHeader>
<div class="layout-context fixscroll">
<LayoutScroll
ref="pageScroll"
...
...
@@ -30,7 +30,7 @@
</div>
<div class="info-name"><div>{{productDetail.product_name}}</div></div>
</div>
<a class="banner" v-
show="resource
" @click.prevent="gotoNewPage">
<a class="banner" v-
if="resource.src
" @click.prevent="gotoNewPage">
<img-size ref="resourceImg" :src="sizeImg(resource.src)"/>
</a>
<div class="info">
...
...
apps/store/product/actions.js
View file @
99cf9ae
...
...
@@ -27,7 +27,7 @@ export default {
let
[
detail
,
resource
,
activity
,
recommend
]
=
await
Promise
.
all
(
queryTasks
);
resource
=
get
(
resource
,
'[0].data[0]'
,
null
);
resource
=
get
(
resource
,
'[0].data[0]'
,
{}
);
commit
(
Types
.
UPDATE_PRODUCT_DETAIL
,
Object
.
assign
(
detail
.
product_info
,
{
resource
,
...
...
Please
register
or
login
to post a comment