Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
mallapp
Commits
b4b31af6
Commit
b4b31af6
authored
Dec 11, 2024
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完成品牌企业详情
parent
5d91e65e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1094 additions
and
53 deletions
+1094
-53
pages.json
pages.json
+4
-0
brandComponent.vue
pages/kotra/brand/brandComponent.vue
+4
-3
detail_brand.vue
pages/kotra/brand/detail_brand.vue
+541
-0
detail_company.vue
pages/kotra/brand/detail_company.vue
+533
-0
detail_building.vue
pages/kotra/carrier/detail_building.vue
+7
-26
detail_carrier.vue
pages/kotra/carrier/detail_carrier.vue
+5
-24
No files found.
pages.json
View file @
b4b31af6
...
...
@@ -764,6 +764,10 @@
},
{
"path"
:
"brand/detail_new"
//品牌详情-新版
},{
"path"
:
"brand/detail_brand"
//品牌详情-新版
},{
"path"
:
"brand/detail_company"
//品牌详情-新版
},{
"path"
:
"carrier/detail_carrier"
,
//新载体详情
"enablePullDownRefresh"
:
true
,
...
...
pages/kotra/brand/brandComponent.vue
View file @
b4b31af6
...
...
@@ -47,13 +47,14 @@
},
methods
:{
openGood
(
id
)
{
return
if
(
this
.
replace
.
state
==
'1'
){
uni
.
navigateTo
({
url
:
"/pages/kotra/brand/detail?id="
+
id
,
url
:
"/pages/kotra/brand/detail
_brand
?id="
+
id
,
});
}
else
{
uni
.
navigateTo
({
url
:
"/pages/kotra/brand/detail_company?id="
+
id
,
});
}
},
}
...
...
pages/kotra/brand/detail_brand.vue
0 → 100644
View file @
b4b31af6
This diff is collapsed.
Click to expand it.
pages/kotra/brand/detail_company.vue
0 → 100644
View file @
b4b31af6
This diff is collapsed.
Click to expand it.
pages/kotra/carrier/detail_building.vue
View file @
b4b31af6
...
...
@@ -429,7 +429,7 @@
open-type=
"contact"
:send-message-title=
"detailData.CarrierName"
:send-message-path=
"'/pages/kotra/carrier/detail_building?id=' + id"
:send-message-img=
"imgsList[0]"
:send-message-img=
"imgsList[0]
.url
"
:show-message-card=
"true"
>
<text
style=
"margin-left: 10rpx;"
:style=
"
{background:mainColor}">获取联系方式
</text>
...
...
@@ -499,7 +499,7 @@ export default {
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserPageType
:
0
;
return
{
title
:
this
.
detailData
.
CarrierName
?
this
.
detailData
.
Carrier
Name
:
""
,
title
:
this
.
detailData
.
Name
?
this
.
detailData
.
Name
:
""
,
query
:
"user_id="
+
uid
+
...
...
@@ -508,13 +508,8 @@ export default {
"&Up="
+
Up
+
"&id="
+
this
.
id
+
"&type="
+
this
.
ProjectType
,
imageUrl
:
this
.
detailData
.
BannerList
&&
this
.
detailData
.
BannerList
.
length
>
0
?
this
.
detailData
.
BannerList
[
0
]
:
""
,
this
.
id
,
imageUrl
:
this
.
imgsList
.
length
>
0
?
this
.
imgsList
[
0
].
url
:
""
};
},
onShareAppMessage
(
res
)
{
...
...
@@ -538,23 +533,9 @@ export default {
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserPageType
:
0
;
return
{
title
:
this
.
detailData
.
CarrierName
?
this
.
detailData
.
CarrierName
:
""
,
path
:
"/pages/index/index?user_id="
+
uid
+
"&SmallShopId="
+
SmallShopId
+
"&Up="
+
Up
+
"&id="
+
this
.
id
+
"&type="
+
this
.
ProjectType
+
"&JumpType=16"
,
imageUrl
:
this
.
detailData
.
BannerList
&&
this
.
detailData
.
BannerList
.
length
>
0
?
this
.
detailData
.
BannerList
[
0
]
:
""
,
title
:
this
.
detailData
.
Name
?
this
.
detailData
.
Name
:
""
,
path
:
"/pages/kotra/carrier/detail_building?id="
+
this
.
id
,
imageUrl
:
this
.
imgsList
.
length
>
0
?
this
.
imgsList
[
0
].
url
:
""
,
};
},
onLoad
(
options
)
{
...
...
pages/kotra/carrier/detail_carrier.vue
View file @
b4b31af6
...
...
@@ -472,7 +472,7 @@
open-type=
"contact"
:send-message-title=
"detailData.CarrierName"
:send-message-path=
"'/pages/kotra/carrier/detail_carrier?id=' + id"
:send-message-img=
"imgsList[0]"
:send-message-img=
"imgsList[0]
.url
"
:show-message-card=
"true"
>
<text
style=
"margin-left: 10rpx;"
:style=
"
{background:mainColor}">获取联系方式
</text>
...
...
@@ -551,13 +551,8 @@ export default {
"&Up="
+
Up
+
"&id="
+
this
.
id
+
"&type="
+
this
.
ProjectType
,
imageUrl
:
this
.
detailData
.
BannerList
&&
this
.
detailData
.
BannerList
.
length
>
0
?
this
.
detailData
.
BannerList
[
0
]
:
""
,
this
.
id
,
imageUrl
:
this
.
imgsList
.
length
>
0
?
this
.
imgsList
[
0
].
url
:
""
};
},
onShareAppMessage
(
res
)
{
...
...
@@ -582,22 +577,8 @@ export default {
:
0
;
return
{
title
:
this
.
detailData
.
CarrierName
?
this
.
detailData
.
CarrierName
:
""
,
path
:
"/pages/index/index?user_id="
+
uid
+
"&SmallShopId="
+
SmallShopId
+
"&Up="
+
Up
+
"&id="
+
this
.
id
+
"&type="
+
this
.
ProjectType
+
"&JumpType=16"
,
imageUrl
:
this
.
detailData
.
BannerList
&&
this
.
detailData
.
BannerList
.
length
>
0
?
this
.
detailData
.
BannerList
[
0
]
:
""
,
path
:
"/pages/kotra/carrier/detail_carrier?id="
+
this
.
id
,
imageUrl
:
this
.
imgsList
.
length
>
0
?
this
.
imgsList
[
0
].
url
:
""
};
},
onLoad
(
options
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment