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
a30e8f9c
Commit
a30e8f9c
authored
Jan 03, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
楼宇 企业获取联系方式
parent
b753a0a6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
38 additions
and
9 deletions
+38
-9
brandComponent.vue
pages/kotra/brand/brandComponent.vue
+11
-3
contactInformation.vue
pages/kotra/brand/components/contactInformation.vue
+1
-1
detail_company.vue
pages/kotra/brand/detail_company.vue
+12
-1
detail_building.vue
pages/kotra/carrier/detail_building.vue
+14
-4
No files found.
pages/kotra/brand/brandComponent.vue
View file @
a30e8f9c
...
...
@@ -21,8 +21,14 @@
</view>
<view
class=
"good-info"
>
<view
class=
"good-name"
>
{{
x
.
BrandName
}}
</view>
<view
class=
"good-price-info"
>
<span
class=
"price"
>
{{
x
.
FullBrandName
}}
</span>
<view
class=
"good-price-info"
style=
"display: flex;justify-content: space-around;"
>
<span
class=
"price"
style=
"flex: 1;"
>
{{
x
.
FullBrandName
}}
</span>
<view
style=
"flex-shrink: 0;"
:style=
"
{'color':u.MallBaseId==18?'#017EDF':'#017EDF'}">
<span
v-if=
"x.AreaRequirement>0"
>
{{
x
.
AreaRequirement
}}
㎡
</span>
<span
v-if=
"x.EndAreaRequirement>0&&u.MallBaseId==18"
style=
"color:rgba(1, 126, 223, .6);"
><span
style=
"color: #dedede;"
>
/
</span>
{{
x
.
EndAreaRequirement
}}
个
</span>
</view>
</view>
</view>
</view>
...
...
@@ -35,6 +41,7 @@
props
:[
'g'
],
data
()
{
return
{
u
:{},
replace
:
null
}
},
...
...
@@ -42,7 +49,8 @@
},
mounted
()
{
let
uid
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
let
use
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
this
.
u
=
use
this
.
replace
=
uni
.
getStorageSync
(
'replace_page_index'
)
},
methods
:{
...
...
pages/kotra/brand/components/contactInformation.vue
View file @
a30e8f9c
...
...
@@ -23,7 +23,7 @@
<view
@
click=
"callPhone(infor.ContactPhone)"
:class=
"[infor.ContactPhone?'active':'']"
>
{{
infor
.
ContactPhone
?
infor
.
ContactPhone
:
'-'
}}
</view>
</view>
<view
class=
"contactInforT"
>
<view
class=
"contactInforT"
v-if=
"infor.TongYiMobile"
>
<text>
线下合作
</text>
<view
@
click=
"callPhone(infor.TongYiMobile)"
:class=
"[infor.TongYiMobile?'active':'']"
>
{{
infor
.
TongYiMobile
?
infor
.
TongYiMobile
:
'-'
}}
</view>
...
...
pages/kotra/brand/detail_company.vue
View file @
a30e8f9c
...
...
@@ -91,7 +91,7 @@
</view>
</scroll-view>
<view
class=
"carrier-query-contact"
>
<button
<
!--
<
button
open-type=
"contact"
:send-message-title=
"detailData.CarrierName"
:send-message-path=
"'/pages/kotra/brand/detail_company?id=' + ID"
...
...
@@ -99,19 +99,29 @@
:show-message-card=
"true"
>
<text
style=
"margin-left: 10rpx;"
:style=
"
{background:mainColor}">获取联系方式
</text>
</button>
-->
<button
@
click=
"showContactInfo=true"
>
<text
style=
"margin-left: 10rpx;"
:style=
"
{background:mainColor}"
>获取联系方式
</text>
</button>
</view>
<contactInformation
v-if=
"showContactInfo"
:infor=
"details"
@
closeBtn=
"showContactInfo=false"
></contactInformation>
</view>
</
template
>
<
script
>
import
hParse
from
"@/components/u-parse/parse.vue"
;
import
bianmarenTooltip
from
"../components/bianmaren-tooltips.vue"
;
import
contactInformation
from
"../brand/components/contactInformation.vue"
;
let
timer
;
export
default
{
components
:
{
hParse
,
bianmarenTooltip
,
contactInformation
},
data
()
{
return
{
...
...
@@ -138,6 +148,7 @@ export default {
tooltipShow
:
false
,
tooltipBtns
:
[
"今日sad"
],
eleId
:
""
,
//点击元素
showContactInfo
:
false
,
};
},
onLoad
(
options
)
{
...
...
pages/kotra/carrier/detail_building.vue
View file @
a30e8f9c
...
...
@@ -472,7 +472,7 @@
</scroll-view>
<auth
v-if=
"showAuth"
@
changeuserinfo=
"reloadUserinfo"
@
gbAuth=
"gbAuth"
></auth>
<view
class=
"carrier-query-contact"
>
<button
<
!--
<
button
open-type=
"contact"
:send-message-title=
"detailData.CarrierName"
:send-message-path=
"'/pages/kotra/carrier/detail_building?id=' + id"
...
...
@@ -480,17 +480,26 @@
:show-message-card=
"true"
>
<text
style=
"margin-left: 10rpx;"
:style=
"
{background:mainColor}">获取联系方式
</text>
</button>
</button>
-->
<button
@
click=
"showContactInfo=true"
>
<text
style=
"margin-left: 10rpx;"
:style=
"
{background:mainColor}"
>获取联系方式
</text>
</button>
</view>
<contactInformation
v-if=
"showContactInfo"
:infor=
"detailData"
@
closeBtn=
"showContactInfo=false"
></contactInformation>
</view>
</
template
>
<
script
>
import
auth
from
"@/components/auth/index.vue"
;
import
contactInformation
from
"../brand/components/contactInformation.vue"
;
export
default
{
components
:
{
auth
auth
,
contactInformation
},
data
()
{
return
{
...
...
@@ -523,6 +532,7 @@ export default {
detailData
:
{
CreateDate
:
""
,
},
showContactInfo
:
false
,
};
},
onShareTimeline
()
{
...
...
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