Commit f867acb5 by 陈婉清

Merge branch 'v3.4.0-0117' into 'develop'

V3.4.0 0117上线后,代码合并。

See merge request !22
2 parents cb1cbcb5 616a84b4
...@@ -72,18 +72,18 @@ Page({ ...@@ -72,18 +72,18 @@ Page({
handleJump() { handleJump() {
// clearTimeout(this.data.time) // clearTimeout(this.data.time)
// this.data.time = new setTimeout(() => { this.data.time = new setTimeout(() => {
// wx.$router.go('pages.output') wx.$router.go('pages.output', { page: 'client', refresh: true })
// }, 3000) }, 2000)
// wx.$api.showToast('申请成功') // wx.$api.showToast('申请成功')
setTimeout(() => { // setTimeout(() => {
wx.$router.back(page => { // wx.$router.back(page => {
let node = page.selectComponent('#indexclue') // let node = page.selectComponent('#client')
// console.log(node) // // console.log(node)
node.getClueInit && node.getClueInit() // node.getMerchantRange && node.getMerchantRange()
// page.getClueInit && page.getClueInit() // // page.getClueInit && page.getClueInit()
}) // })
}, 1000) // }, 1000)
}, },
handleConfirm() { handleConfirm() {
......
...@@ -478,12 +478,12 @@ var senceData = [ ...@@ -478,12 +478,12 @@ var senceData = [
`${IMG_URL}index/scene/scene23.png`, `${IMG_URL}index/scene/scene23.png`,
], ],
productImgs:[ productImgs:[
`${IMG_URL}index/productImgs/product60.webp`, `${IMG_URL}index/productImgs/product70.webp`,
`${IMG_URL}index/productImgs/product61.webp`, `${IMG_URL}index/productImgs/product71.webp`,
`${IMG_URL}index/productImgs/product62.webp`, `${IMG_URL}index/productImgs/product72.webp`,
`${IMG_URL}index/productImgs/product63.webp`, `${IMG_URL}index/productImgs/product73.webp`,
`${IMG_URL}index/productImgs/product64.webp`, `${IMG_URL}index/productImgs/product74.webp`,
`${IMG_URL}index/productImgs/product65.webp`, `${IMG_URL}index/productImgs/product75.webp`
], ],
productList: [ productList: [
{ {
...@@ -508,9 +508,9 @@ var senceData = [ ...@@ -508,9 +508,9 @@ var senceData = [
noVideoPicture: [], noVideoPicture: [],
videoList:[ videoList:[
{ {
videoUrl: `${videoBaseUrl}video/expansive_activity.mp4`, videoUrl: `${videoBaseUrl}video/expansive.mp4`,
posterUrl: `${IMG_URL}index/poster/expansive_activity.png`, posterUrl: `${IMG_URL}index/poster/expansive_activity.png`,
name: '如何利用膨胀金服务帮助门店锁客返厂', name: '数字化营销增值服务-膨胀金活动',
manufacturer: '嘀加智慧', manufacturer: '嘀加智慧',
view: 3298 view: 3298
} }
......
...@@ -13,14 +13,14 @@ const videoList0 = [ ...@@ -13,14 +13,14 @@ const videoList0 = [
posterUrl: `${IMG_URL}index/poster/customer_auto.png`, posterUrl: `${IMG_URL}index/poster/customer_auto.png`,
name: '门店企微福利官实现客户活跃自动化', name: '门店企微福利官实现客户活跃自动化',
manufacturer: '嘀加智慧', manufacturer: '嘀加智慧',
view: 188 view: 1324
}, },
{ {
videoUrl: `${IMG_URL2}video/fix_insurance.mp4`, videoUrl: `${IMG_URL2}video/fix_insurance.mp4`,
posterUrl: `${IMG_URL}index/poster/fix_insurance.png`, posterUrl: `${IMG_URL}index/poster/fix_insurance.png`,
name: '定保数字化招揽,助力定保招揽返厂率提升10%', name: '定保数字化招揽,助力定保招揽返厂率提升10%',
manufacturer: '嘀加智慧云', manufacturer: '嘀加智慧云',
view: 188 view: 1546
} }
] ]
const videoList1 = [ const videoList1 = [
...@@ -45,7 +45,7 @@ const subscriptionSystemData = [ ...@@ -45,7 +45,7 @@ const subscriptionSystemData = [
id: 0, id: 0,
currentIndex: 0, currentIndex: 0,
img: 'product-img1', img: 'product-img1',
proName: '私域用户活跃代运营', proName: '客户活跃代运营',
price: '100', price: '100',
profit: '1200000', profit: '1200000',
type: 'service', type: 'service',
...@@ -55,7 +55,7 @@ const subscriptionSystemData = [ ...@@ -55,7 +55,7 @@ const subscriptionSystemData = [
varType: 0, varType: 0,
flow: 10000, flow: 10000,
productCode: 'PC011', productCode: 'PC011',
productName: '私域用户活跃代运营', productName: '客户活跃代运营',
category: '代运营', category: '代运营',
prodImg: `${IMG_URL2}/prod2/prod4-0.webp`, prodImg: `${IMG_URL2}/prod2/prod4-0.webp`,
sceneImgs: [ sceneImgs: [
...@@ -78,7 +78,7 @@ const subscriptionSystemData = [ ...@@ -78,7 +78,7 @@ const subscriptionSystemData = [
id: 1, id: 1,
currentIndex: 1, currentIndex: 1,
img: 'product-img1', img: 'product-img1',
proName: '定保/续保数字化招揽', proName: '定保数字化招揽',
price: '100', price: '100',
profit: '1200000', profit: '1200000',
type: 'service', type: 'service',
...@@ -88,7 +88,7 @@ const subscriptionSystemData = [ ...@@ -88,7 +88,7 @@ const subscriptionSystemData = [
varType: 0, varType: 0,
flow: 10000, flow: 10000,
productCode: 'PC012', productCode: 'PC012',
productName: '定保/续保数字化招揽', productName: '定保数字化招揽',
category: '招揽', category: '招揽',
prodImg: `${IMG_URL}index/prod2/prod4-1.webp`, prodImg: `${IMG_URL}index/prod2/prod4-1.webp`,
sceneImgs: [ sceneImgs: [
......
// pages/tab/output/output.js // pages/tab/output/output.js
import { getSessionId, setSessionId } from '~/utils/cache/storageApi' import { getSessionId, setSessionId } from '~/utils/cache/storageApi'
import USERAPI from '~/api/usersApi/index' import USERAPI from '~/api/usersApi/index'
import { IMG_URL } from '~/utils/constantData'
Page({ Page({
/** /**
* 页面的初始数据 * 页面的初始数据
*/ */
data: { data: {
IMG_URL,
navStyle: 'background-color: rgba(0,0,0,0);', navStyle: 'background-color: rgba(0,0,0,0);',
loginType: 0, loginType: 0,
agree: true, agree: true,
...@@ -106,6 +108,15 @@ Page({ ...@@ -106,6 +108,15 @@ Page({
}) })
} }
}, },
onRoute(options) {
if (!options || wx.$util.isEmptyObj(options)) return
let { page = 'client', refresh = true } = options
if (page == 'client' && refresh) {
let clientModule = this.selectComponent('#client')
clientModule.getClientApi && clientModule.clientRefresh()
}
},
/** /**
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
......
...@@ -363,7 +363,20 @@ Page({ ...@@ -363,7 +363,20 @@ Page({
let { actnum, index } = e.target.dataset let { actnum, index } = e.target.dataset
// 膨胀金活动,合作方式 // 膨胀金活动,合作方式
if (actnum == 4 && index == 4) { if (actnum == 4 && index == 4) {
wx.$router.jumpH5('https://scrm.glsx.com.cn/frontpdf/expand_agreement.pdf'); wx.downloadFile({
// 示例 url,并非真实存在
url: 'https://scrm.glsx.com.cn/frontpdf/expand_agreement.pdf',
success: function (res) {
console.log(res)
const filePath = res.tempFilePath
wx.openDocument({
filePath: filePath,
success: function (res) {
console.log('打开文档成功')
}
})
}
})
} }
}, },
/** /**
......
...@@ -220,7 +220,7 @@ page { ...@@ -220,7 +220,7 @@ page {
.img-item41 { .img-item41 {
width: 100%; width: 100%;
height: 1224rpx; height: 1144rpx;
} }
.img-item42 { .img-item42 {
...@@ -235,7 +235,7 @@ page { ...@@ -235,7 +235,7 @@ page {
.img-item44 { .img-item44 {
width: 100%; width: 100%;
height: 2220rpx; height: 3188rpx;
} }
.img-item45 { .img-item45 {
......
...@@ -143,6 +143,28 @@ Page({ ...@@ -143,6 +143,28 @@ Page({
// apiData, // apiData,
}; };
}, },
// 长按图片
handleLongPress(e) {
let { actnum, index } = e.target.dataset
// 膨胀金活动,合作方式
if (actnum == 4 && index == 4) {
wx.downloadFile({
// 示例 url,并非真实存在
url: 'https://scrm.glsx.com.cn/frontpdf/expand_agreement.pdf',
success: function (res) {
console.log(res)
const filePath = res.tempFilePath
wx.openDocument({
filePath: filePath,
success: function (res) {
console.log('打开文档成功')
}
})
}
})
}
},
onClickTab(event) { onClickTab(event) {
// console.log('event: ', event);s // console.log('event: ', event);s
let { index } = event.detail; let { index } = event.detail;
......
...@@ -192,7 +192,9 @@ page { ...@@ -192,7 +192,9 @@ page {
.img-item33 { .img-item33 {
width: 100%; width: 100%;
height: 2002rpx; height: 2002rpx;
}// // 流程图五 }
// 流程图五
.img-item40 { .img-item40 {
width: 100%; width: 100%;
height: 1564rpx; height: 1564rpx;
...@@ -200,7 +202,7 @@ page { ...@@ -200,7 +202,7 @@ page {
.img-item41 { .img-item41 {
width: 100%; width: 100%;
height: 1224rpx; height: 1144rpx;
} }
.img-item42 { .img-item42 {
...@@ -215,7 +217,7 @@ page { ...@@ -215,7 +217,7 @@ page {
.img-item44 { .img-item44 {
width: 100%; width: 100%;
height: 2220rpx; height: 3188rpx;
} }
.img-item45 { .img-item45 {
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</button> </button>
</block> --> </block> -->
</image> </image>
<image wx:if="{{ index >= 3 && !showLeftFlag}}" webp class="img-item img-item{{actNum}}{{index}}" src="{{item}}?v={{img_version}}"> <image wx:if="{{ index >= 3 && !showLeftFlag}}" webp class="img-item img-item{{actNum}}{{index}}" src="{{item}}?v={{img_version}}" bindlongpress="handleLongPress" data-actnum="{{actNum}}" data-index="{{index}}">
</image> </image>
</block> </block>
<view class="occupancy" wx:if="{{!isShare}}"> <view class="occupancy" wx:if="{{!isShare}}">
......
...@@ -5,3 +5,4 @@ csysfws a123456 ...@@ -5,3 +5,4 @@ csysfws a123456
账号:ssfwsa a123456 账号:ssfwsa a123456
csyfbfws01/a123456 csyfbfws01/a123456
(线上)glcsxsfwsgc a123456 (线上)glcsxsfwsgc a123456
sadmin XHvd8545
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!