Commit 67d62d92 by 前端

Merge branch 'develop' into 'master'

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

See merge request !23
2 parents f5a9faad f867acb5
......@@ -72,18 +72,18 @@ Page({
handleJump() {
// clearTimeout(this.data.time)
// this.data.time = new setTimeout(() => {
// wx.$router.go('pages.output')
// }, 3000)
this.data.time = new setTimeout(() => {
wx.$router.go('pages.output', { page: 'client', refresh: true })
}, 2000)
// wx.$api.showToast('申请成功')
setTimeout(() => {
wx.$router.back(page => {
let node = page.selectComponent('#indexclue')
// console.log(node)
node.getClueInit && node.getClueInit()
// page.getClueInit && page.getClueInit()
})
}, 1000)
// setTimeout(() => {
// wx.$router.back(page => {
// let node = page.selectComponent('#client')
// // console.log(node)
// node.getMerchantRange && node.getMerchantRange()
// // page.getClueInit && page.getClueInit()
// })
// }, 1000)
},
handleConfirm() {
......
......@@ -478,12 +478,12 @@ var senceData = [
`${IMG_URL}index/scene/scene23.png`,
],
productImgs:[
`${IMG_URL}index/productImgs/product60.webp`,
`${IMG_URL}index/productImgs/product61.webp`,
`${IMG_URL}index/productImgs/product62.webp`,
`${IMG_URL}index/productImgs/product63.webp`,
`${IMG_URL}index/productImgs/product64.webp`,
`${IMG_URL}index/productImgs/product65.webp`,
`${IMG_URL}index/productImgs/product70.webp`,
`${IMG_URL}index/productImgs/product71.webp`,
`${IMG_URL}index/productImgs/product72.webp`,
`${IMG_URL}index/productImgs/product73.webp`,
`${IMG_URL}index/productImgs/product74.webp`,
`${IMG_URL}index/productImgs/product75.webp`
],
productList: [
{
......@@ -508,9 +508,9 @@ var senceData = [
noVideoPicture: [],
videoList:[
{
videoUrl: `${videoBaseUrl}video/expansive_activity.mp4`,
videoUrl: `${videoBaseUrl}video/expansive.mp4`,
posterUrl: `${IMG_URL}index/poster/expansive_activity.png`,
name: '如何利用膨胀金服务帮助门店锁客返厂',
name: '数字化营销增值服务-膨胀金活动',
manufacturer: '嘀加智慧',
view: 3298
}
......
......@@ -13,14 +13,14 @@ const videoList0 = [
posterUrl: `${IMG_URL}index/poster/customer_auto.png`,
name: '门店企微福利官实现客户活跃自动化',
manufacturer: '嘀加智慧',
view: 188
view: 1324
},
{
videoUrl: `${IMG_URL2}video/fix_insurance.mp4`,
posterUrl: `${IMG_URL}index/poster/fix_insurance.png`,
name: '定保数字化招揽,助力定保招揽返厂率提升10%',
manufacturer: '嘀加智慧云',
view: 188
view: 1546
}
]
const videoList1 = [
......@@ -45,7 +45,7 @@ const subscriptionSystemData = [
id: 0,
currentIndex: 0,
img: 'product-img1',
proName: '私域用户活跃代运营',
proName: '客户活跃代运营',
price: '100',
profit: '1200000',
type: 'service',
......@@ -55,7 +55,7 @@ const subscriptionSystemData = [
varType: 0,
flow: 10000,
productCode: 'PC011',
productName: '私域用户活跃代运营',
productName: '客户活跃代运营',
category: '代运营',
prodImg: `${IMG_URL2}/prod2/prod4-0.webp`,
sceneImgs: [
......@@ -78,7 +78,7 @@ const subscriptionSystemData = [
id: 1,
currentIndex: 1,
img: 'product-img1',
proName: '定保/续保数字化招揽',
proName: '定保数字化招揽',
price: '100',
profit: '1200000',
type: 'service',
......@@ -88,7 +88,7 @@ const subscriptionSystemData = [
varType: 0,
flow: 10000,
productCode: 'PC012',
productName: '定保/续保数字化招揽',
productName: '定保数字化招揽',
category: '招揽',
prodImg: `${IMG_URL}index/prod2/prod4-1.webp`,
sceneImgs: [
......
// pages/tab/output/output.js
import { getSessionId, setSessionId } from '~/utils/cache/storageApi'
import USERAPI from '~/api/usersApi/index'
import { IMG_URL } from '~/utils/constantData'
Page({
/**
* 页面的初始数据
*/
data: {
IMG_URL,
navStyle: 'background-color: rgba(0,0,0,0);',
loginType: 0,
agree: true,
......@@ -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({
let { actnum, index } = e.target.dataset
// 膨胀金活动,合作方式
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 {
.img-item41 {
width: 100%;
height: 1224rpx;
height: 1144rpx;
}
.img-item42 {
......@@ -235,7 +235,7 @@ page {
.img-item44 {
width: 100%;
height: 2220rpx;
height: 3188rpx;
}
.img-item45 {
......
......@@ -143,6 +143,28 @@ Page({
// 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) {
// console.log('event: ', event);s
let { index } = event.detail;
......
......@@ -192,7 +192,9 @@ page {
.img-item33 {
width: 100%;
height: 2002rpx;
}// // 流程图五
}
// 流程图五
.img-item40 {
width: 100%;
height: 1564rpx;
......@@ -200,7 +202,7 @@ page {
.img-item41 {
width: 100%;
height: 1224rpx;
height: 1144rpx;
}
.img-item42 {
......@@ -215,7 +217,7 @@ page {
.img-item44 {
width: 100%;
height: 2220rpx;
height: 3188rpx;
}
.img-item45 {
......
......@@ -50,7 +50,7 @@
</button>
</block> -->
</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>
</block>
<view class="occupancy" wx:if="{{!isShare}}">
......
......@@ -4,4 +4,5 @@ csysfws a123456
生意助手小程序--生意助手2号
账号:ssfwsa a123456
csyfbfws01/a123456
(线上)glcsxsfwsgc a123456
\ No newline at end of file
(线上)glcsxsfwsgc a123456
sadmin XHvd8545
\ 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!