Commit a30e8f9c authored by youjie's avatar youjie

楼宇 企业获取联系方式

parent b753a0a6
......@@ -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:{
......
......@@ -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>
......
......@@ -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) {
......
......@@ -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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment