代码提交
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
<layout class="goodsDetail">
|
||||
<view :style="computedHeightStyle"></view>
|
||||
<Header
|
||||
:scroll-top="scrollTop"
|
||||
ref="headerRef"
|
||||
:propUp="false"
|
||||
>
|
||||
@ -189,7 +190,7 @@
|
||||
>
|
||||
<img
|
||||
class="action-icon-img"
|
||||
src="@/static/images/icon-kefu.png"
|
||||
src="https://b2c-pro-static-dev.zkthink.com/static/images/icon-kefu.png"
|
||||
/>
|
||||
<text class="action-icon-label">客服</text>
|
||||
</view>
|
||||
@ -207,9 +208,9 @@
|
||||
></uv-badge>
|
||||
</view>
|
||||
|
||||
<img
|
||||
<image
|
||||
class="action-icon-img"
|
||||
src="@/static/images/icon-gouwuche.png"
|
||||
src="https://b2c-pro-static-dev.zkthink.com/static/images/icon-gouwuche.png"
|
||||
/>
|
||||
<text class="action-icon-label">购物车</text>
|
||||
</view>
|
||||
@ -222,12 +223,12 @@
|
||||
<image
|
||||
v-if="!storeInfo?.userCollect"
|
||||
class="action-icon-img"
|
||||
src="@/static/images/icon-shouceng.png"
|
||||
src="https://b2c-pro-static-dev.zkthink.com/static/images/icon-shouceng.png"
|
||||
/>
|
||||
<image
|
||||
v-if="storeInfo?.userCollect"
|
||||
class="action-icon-img"
|
||||
src="@/static/images/icon-shouceng-o.png"
|
||||
src="https://b2c-pro-static-dev.zkthink.com/static/images/icon-shouceng-o.png"
|
||||
/>
|
||||
<text class="action-icon-label">收藏</text>
|
||||
</view>
|
||||
@ -247,7 +248,7 @@
|
||||
></uv-button>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<ReturnTop :scroll-top="scrollTop" />
|
||||
</layout>
|
||||
</template>
|
||||
|
||||
@ -262,6 +263,7 @@ import Header from '@/components/Header/index.vue'
|
||||
import GoodCouponSelect from "@/components/good-coupon-select/good-coupon-select.vue";
|
||||
import UvIcon from "@/uni_modules/uv-icon/components/uv-icon/uv-icon.vue";
|
||||
import { useScroll } from "@/hooks/useScroll";
|
||||
import ReturnTop from "@/components/ReturnTop/index.vue"
|
||||
|
||||
const {push, getParams, pushToTab, goBack} = useRouter();
|
||||
const {toast} = useInterface()
|
||||
@ -319,13 +321,15 @@ onLoad((options) => {
|
||||
handleGetDetail(params.id)
|
||||
handleGetCartCount(params.id)
|
||||
})
|
||||
useScroll()
|
||||
const {scrollTop} = useScroll()
|
||||
const goToService = () => {
|
||||
toast({title: '😒敬请期待😒'})
|
||||
}
|
||||
|
||||
const goToShopCart = () => {
|
||||
pushToTab({url: '/pages/shoppingCart/shoppingCart'})
|
||||
push({
|
||||
url: '/pages/shoppingCartJump/shoppingCart'
|
||||
})
|
||||
}
|
||||
|
||||
const handleOpenSelect = (action) => {
|
||||
|
Reference in New Issue
Block a user