Ver código fonte

二维码背景颜色

lifanagju_citu 2 meses atrás
pai
commit
20ad725372
1 arquivos alterados com 2 adições e 3 exclusões
  1. 2 3
      pagesB/jobFair/jobFairEntShare.vue

+ 2 - 3
pagesB/jobFair/jobFairEntShare.vue

@@ -22,7 +22,6 @@ let jobFairId = '' // 分享会ID
 let enterpriseId = '' // 企业ID
 let entName = '' // 企业名称
 let shareImg = '' // 分享背景图片-底图
-// let shareImg = 'https://menduner.citupro.com:3443/dev/4dd7dd3c9ef350d62fcbc814b88c1ac1916f484a3ee8d8531ae7a2698a289670.jpg' // 分享背景图片-底图
 
 onLoad(async (options) => {
   jobFairId = options.jobFairId
@@ -42,7 +41,7 @@ const getJobFairDetail = async () => {
 }
 
 let positionNameList = []
-let entLogoUrl = ''
+let entLogoUrl = 'https://minio.citupro.com/dev/menduner/company-avatar.png'
 const getEntPositionList = async () => {
   if (!jobFairId || !enterpriseId) {
     uni.showToast({ title: '获取企业岗位失败,请重试!', icon: 'none', duration: 2000 })
@@ -124,7 +123,7 @@ const handleShareCode = async () => {
 		width: 200,
 		autoColor: false,
 		checkPath: true,
-		hyaline: true
+		hyaline: false // 二维码背景颜色为透明
 	}
 	const res = await getJobAdvertisedShareQrcode(query, { noAuth: true })
 	const data = res?.data ? 'data:image/png;base64,' + res.data : ''