|
@@ -63,12 +63,17 @@
|
|
|
|
|
|
|
|
<view class="placeholder-view" :style="'height:' + (bottomBlankHeight + 140) + 'rpx'"></view>
|
|
<view class="placeholder-view" :style="'height:' + (bottomBlankHeight + 140) + 'rpx'"></view>
|
|
|
<view class="bot fixed bgfff dflex">
|
|
<view class="bot fixed bgfff dflex">
|
|
|
- <view class="botbtn fflex" style="border-right: 1px solid #fff;" v-if="recommendCard.wechat"
|
|
|
|
|
- @click="showCodePop()">
|
|
|
|
|
- 加微咨询
|
|
|
|
|
|
|
+ <view class="fflex ddflex">
|
|
|
|
|
+ <view class="botbtn fflex" style="border-right: 1px solid #fff;" v-if="recommendCard.wechat"
|
|
|
|
|
+ @click="showCodePop()">
|
|
|
|
|
+ 加微咨询
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="botbtn fflex" @click="callPhone(recommendCard.phone)" v-if="recommendCard.phone">
|
|
|
|
|
+ 电话咨询
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="botbtn fflex" @click="callPhone(recommendCard.phone)" v-if="recommendCard.phone">
|
|
|
|
|
- 电话咨询
|
|
|
|
|
|
|
+ <view class="botbtn fflex" style="border-left: 1px solid #fff;background-color: red;" @click="toBuy()" v-if="product.linkUrl">
|
|
|
|
|
+ 购买
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="xiajia" v-if="product.state !=1">您来晚了,产品已经下架</view>
|
|
<view class="xiajia" v-if="product.state !=1">您来晚了,产品已经下架</view>
|
|
@@ -115,7 +120,7 @@
|
|
|
var QQMapWX = require("../../utils/qqmap.js");
|
|
var QQMapWX = require("../../utils/qqmap.js");
|
|
|
const route = require("../../utils/route");
|
|
const route = require("../../utils/route");
|
|
|
const api = require("../../utils/api.js");
|
|
const api = require("../../utils/api.js");
|
|
|
- import productFooter from "../../components/product_footer/index";
|
|
|
|
|
|
|
+ import productFooter from "../components/product_footer/index";
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
data() {
|
|
data() {
|
|
@@ -398,6 +403,10 @@
|
|
|
req.saveBehaviorNew(this.recommendCard.id, 1, 14)
|
|
req.saveBehaviorNew(this.recommendCard.id, 1, 14)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ },
|
|
|
|
|
+ toBuy(){
|
|
|
|
|
+ if(!this.product.linkUrl) return false
|
|
|
|
|
+ app.globalData.openPage('pages/web/web?url='+encodeURIComponent(this.product.linkUrl));
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|