|
|
@ -1,5 +1,5 @@ |
|
|
<template> |
|
|
<template> |
|
|
<view style="position: relative"> |
|
|
|
|
|
|
|
|
<view class="page"> |
|
|
<view v-if="hasCompany && hasLogin" class="wrapper"> |
|
|
<view v-if="hasCompany && hasLogin" class="wrapper"> |
|
|
<uni-nav-bar :fixed="true" color="#ffffff" background-color="#ffffff" :status-bar="true"> |
|
|
<uni-nav-bar :fixed="true" color="#ffffff" background-color="#ffffff" :status-bar="true"> |
|
|
<view slot="left" class="left-title">纸商城</view> |
|
|
<view slot="left" class="left-title">纸商城</view> |
|
|
@ -60,11 +60,8 @@ |
|
|
</view> |
|
|
</view> |
|
|
</scroll-list> |
|
|
</scroll-list> |
|
|
</view> |
|
|
</view> |
|
|
<view> |
|
|
|
|
|
<view class="offer-prices" @click="nativeTo()"><image class="my-image" src="../../static/imgs/trade/camera.png"></image></view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
<view v-show="!hasCompany || !hasLogin"> |
|
|
|
|
|
|
|
|
<view v-else> |
|
|
<uni-nav-bar :fixed="true" :status-bar="true"> |
|
|
<uni-nav-bar :fixed="true" :status-bar="true"> |
|
|
<view slot="left" style="font-size: 40rpx; color: #000000">纸商城</view> |
|
|
<view slot="left" style="font-size: 40rpx; color: #000000">纸商城</view> |
|
|
</uni-nav-bar> |
|
|
</uni-nav-bar> |
|
|
@ -93,6 +90,7 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
<view class="offer-prices" @click="nativeTo()"><image class="my-image" src="../../static/imgs/trade/camera.png"></image></view> |
|
|
</view> |
|
|
</view> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
@ -325,7 +323,7 @@ export default { |
|
|
summary: '点击进入我的商城\n限时特价等你来抢!', |
|
|
summary: '点击进入我的商城\n限时特价等你来抢!', |
|
|
scene: scene, // WXSceneTimeline,WXSceneSession |
|
|
scene: scene, // WXSceneTimeline,WXSceneSession |
|
|
imageUrl: 'https://qncloud.oss-cn-shenzhen.aliyuncs.com/paper_shopkeeper/wx-share-store.png', |
|
|
imageUrl: 'https://qncloud.oss-cn-shenzhen.aliyuncs.com/paper_shopkeeper/wx-share-store.png', |
|
|
href: H5_URL_STORE + `id=${this.$store.state.supplierInfo.supplierId}`, |
|
|
|
|
|
|
|
|
href: H5_URL_STORE + `id=${this.$store.state.supplierInfo.supplierId}&userId=${this.$store.state.userInfo.userId}`, |
|
|
success: () => { |
|
|
success: () => { |
|
|
console.log('分享成功') |
|
|
console.log('分享成功') |
|
|
}, |
|
|
}, |
|
|
@ -342,6 +340,11 @@ export default { |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
<style lang="scss" scoped> |
|
|
|
|
|
.page { |
|
|
|
|
|
position: relative; |
|
|
|
|
|
width: 750rpx; |
|
|
|
|
|
height: 100vh; |
|
|
|
|
|
} |
|
|
.wrapper { |
|
|
.wrapper { |
|
|
width: 750rpx; |
|
|
width: 750rpx; |
|
|
overflow: hidden; |
|
|
overflow: hidden; |
|
|
@ -498,17 +501,17 @@ export default { |
|
|
margin-left: 6rpx; |
|
|
margin-left: 6rpx; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
.offer-prices { |
|
|
|
|
|
position: absolute; |
|
|
|
|
|
z-index: 100; |
|
|
|
|
|
right: 32rpx; |
|
|
|
|
|
bottom: 122rpx; |
|
|
|
|
|
border-radius: 50%; |
|
|
|
|
|
width: 100rpx; |
|
|
|
|
|
height: 100rpx; |
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
box-shadow: 0rpx 4rpx 34rpx 0rpx rgba(0, 0, 0, 0.2); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
.offer-prices { |
|
|
|
|
|
position: fixed; |
|
|
|
|
|
z-index: 100; |
|
|
|
|
|
right: 32rpx; |
|
|
|
|
|
bottom: 122rpx; |
|
|
|
|
|
border-radius: 50%; |
|
|
|
|
|
width: 100rpx; |
|
|
|
|
|
height: 100rpx; |
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
box-shadow: 0rpx 4rpx 34rpx 0rpx rgba(0, 0, 0, 0.2); |
|
|
.my-image { |
|
|
.my-image { |
|
|
width: 100rpx; |
|
|
width: 100rpx; |
|
|
height: 100rpx; |
|
|
height: 100rpx; |
|
|
|