|
|
|
@ -77,11 +77,11 @@ |
|
|
|
<text class="text_13">立即分享给好友</text> |
|
|
|
<view class="flex-col group_20"> |
|
|
|
<view class="justify-between group_21"> |
|
|
|
<view class="flex-col items-center" @click="share('WXSceneSession')"> |
|
|
|
<view class="flex-col items-center" @click="shareFactory('WXSceneSession')"> |
|
|
|
<image src="/static/imgs/general/session-share-icon.png" class="image_14" /> |
|
|
|
<text class="text_14">微信好友</text> |
|
|
|
</view> |
|
|
|
<view class="flex-col group_23" @click="share('WXSceneTimeline')"> |
|
|
|
<view class="flex-col group_23" @click="shareFactory('WXSceneTimeline')"> |
|
|
|
<image src="/static/imgs/general/line-share-icon.png" class="image_15" /> |
|
|
|
<text class="text_15">朋友圈</text> |
|
|
|
</view> |
|
|
|
@ -102,7 +102,7 @@ import { go2 } from '@/utils/hook.js' |
|
|
|
import { getFactoryInfo } from '@/apis/factoryApi.js' |
|
|
|
import { getEquipmentList } from '@/apis/deviceApi.js' |
|
|
|
import { getProductionList } from '@/apis/productionApi.js' |
|
|
|
import { fileType } from '@/enums/index.js' |
|
|
|
import { fileType, H5_URL_FACTORY } from '@/enums/index.js' |
|
|
|
export default { |
|
|
|
components: { |
|
|
|
Banner |
|
|
|
@ -260,11 +260,11 @@ export default { |
|
|
|
uni.share({ |
|
|
|
provider: 'weixin', |
|
|
|
type: 0, |
|
|
|
title: factoryInfo.name, |
|
|
|
title: this.factoryInfo.name, |
|
|
|
summary: '印包客支持远程验厂,在线了解工厂', |
|
|
|
scene: scene, // WXSceneTimeline,WXSceneSession |
|
|
|
imageUrl: 'https://qncloud.oss-cn-shenzhen.aliyuncs.com/paper_shopkeeper/wx-share-store.png', |
|
|
|
href: H5_URL_FACTORY + `shareId=${res}`, |
|
|
|
href: H5_URL_FACTORY + `shareId=${this.factoryInfo.id}`, |
|
|
|
success: () => { |
|
|
|
console.log('分享成功') |
|
|
|
}, |
|
|
|
@ -328,11 +328,12 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
.text_1 { |
|
|
|
width: 600rpx; |
|
|
|
color: rgb(0, 0, 0); |
|
|
|
font-size: 36rpx; |
|
|
|
font-weight: 500; |
|
|
|
line-height: 50rpx; |
|
|
|
white-space: nowrap; |
|
|
|
white-space: break-all; |
|
|
|
} |
|
|
|
.group_6 { |
|
|
|
margin: 7rpx 7rpx 7rpx 0; |
|
|
|
|