|
|
@@ -4,7 +4,7 @@
|
|
|
* @Author: dream
|
|
|
* @Date: 2021-03-26 13:48:37
|
|
|
* @LastEditors: dream
|
|
|
- * @LastEditTime: 2021-03-29 19:55:19
|
|
|
+ * @LastEditTime: 2021-03-30 10:16:09
|
|
|
-->
|
|
|
<template>
|
|
|
<view class="good-detail-main" :style="{ paddingBottom: `${pagePaddingBottom}px`}">
|
|
|
@@ -54,7 +54,7 @@
|
|
|
<view class="good-block u-m-t-16 iph-bg-fff">
|
|
|
<view class="u-flex u-row-between">
|
|
|
<view class="block-title">商家信息</view>
|
|
|
- <view class="block-more">查看更多</view>
|
|
|
+ <view class="block-more" @click="toBusinessCard">查看更多</view>
|
|
|
</view>
|
|
|
<view class="block-line">
|
|
|
<view class="block-label">商家名称:</view>
|
|
|
@@ -81,9 +81,12 @@
|
|
|
</view>
|
|
|
<view class="block-tip">注:此说明仅出现价格比较时有效,最终解释权由趣订所有</view>
|
|
|
</view>
|
|
|
- <iph-fixed-bottom @getHeight="getFooterHeight">
|
|
|
+ <iph-fixed-bottom ref="footer" @getHeight="getFooterHeight">
|
|
|
<view class="good-detail-footer u-flex iph-bg-fff">
|
|
|
- <view class="icon iph-icon-shopcat"></view>
|
|
|
+ <view class="u-rela">
|
|
|
+ <view class="icon iph-icon-shopcat"></view>
|
|
|
+ <u-badge :count="1" overflow-count="99" :offset="[0, -8]" bgColor="#FE5128" ></u-badge>
|
|
|
+ </view>
|
|
|
<view class="footer-price u-m-l-24 u-flex u-flex-1">
|
|
|
<view class="u-font-22 u-m-r-4 u-line-32">¥</view>
|
|
|
<view class="u-font-36 u-ling-50">0</view>
|
|
|
@@ -101,6 +104,7 @@ export default {
|
|
|
name: 'goodsDetail',
|
|
|
data () {
|
|
|
return {
|
|
|
+ isShow: true,
|
|
|
pagePaddingBottom: 0,
|
|
|
detail: {
|
|
|
img: 'https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=288400877,2749955263&fm=26&gp=0.jpg'
|
|
|
@@ -110,6 +114,11 @@ export default {
|
|
|
methods: {
|
|
|
getFooterHeight (val) {
|
|
|
this.pagePaddingBottom = val + 8
|
|
|
+ },
|
|
|
+ toBusinessCard () {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: './businessCard'
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
}
|