作者 乔蒙蒙

更改图片地址

... ... @@ -23,134 +23,138 @@ App({
duration: 100
})
},
/**
* 自定义post函数,返回Promise
* +-------------------
* @param {String} url 接口网址
* @param {arrayObject} data 要传的数组对象 like: {name: 'name', age: 32}
* +-------------------
* @return {Promise} promise 返回promise供后续操作
*/
post: function (url, data, headerParams) {
wx.showNavigationBarLoading()
wx.showLoading({
title: '加载中',
})
var promise = new Promise((resolve, reject) => {
let that = this;
let postData = data;
let baseUrl = 'https://ruiwechat.w.broteam.cn/';
//网络请求
let header = {
'content-type': 'application/x-www-form-urlencoded'
}
header = Object.assign(header, headerParams)
wx.request({
url: baseUrl + url,
data: postData,
method: 'POST',
header: header,
success: function (res) {//返回取得的数据
if (res.data.code == '200') {
resolve(res.data.data);
} else if (res.data.code == '10001') {//用户未
// wx.showModal({
// title: '提示',
// content: res.data.msg,
// showCancel: false,
// success: function (res) {
// if (res.confirm) {
// wx.removeStorageSync('token');
// wx.navigateTo({
// url: '/pages/start/start',
// })
// }
// }
// })
} else if (res.data.code == '40000') {
wx.showModal({
title: '提示',
content: res.data.msg,
showCancel: false,
success: function (res) { }
})
} else if (res.data.code == '40005') {
} else if (res.data.code == '40006') {
/**
* 自定义post函数,返回Promise
* +-------------------
* @param {String} url 接口网址
* @param {arrayObject} data 要传的数组对象 like: {name: 'name', age: 32}
* +-------------------
* @return {Promise} promise 返回promise供后续操作
*/
post: function (url, data, headerParams) {
wx.showNavigationBarLoading()
wx.showLoading({
title: '加载中',
})
var promise = new Promise((resolve, reject) => {
let that = this;
let postData = data;
let baseUrl = 'https://ruiwechat.w.broteam.cn/';
//网络请求
let header = {
'content-type': 'application/x-www-form-urlencoded'
}
header = Object.assign(header, headerParams)
wx.request({
url: baseUrl + url,
data: postData,
method: 'POST',
header: header,
success: function (res) {//返回取得的数据
if (res.data.code == '200') {
resolve(res.data.data);
} else if (res.data.code == '10001') {//用户未
// wx.showModal({
// title: '提示',
// content: res.data.msg,
// showCancel: false,
// success: function (res) {
// if (res.confirm) {
// wx.removeStorageSync('token');
// wx.navigateTo({
// url: '/pages/start/start',
// })
// }
// }
// })
} else if (res.data.code == '40000') {
wx.showModal({
title: '提示',
content: res.data.msg,
showCancel: false,
success: function (res) { }
})
} else if (res.data.code == '40005') {
} else {
wx.showModal({
title: '提示',
content: res.data.msg,
showCancel: false,
})
reject(res.data)
}
wx.hideLoading()
wx.hideNavigationBarLoading()
},
error: function (e) {
console.log(e)
reject('网络出错');
// wx.hideLoading()
wx.hideNavigationBarLoading()
}
})
});
} else if (res.data.code == '40006') {
return promise;
},
globalData: {
userInfo: null
},
} else {
wx.showModal({
title: '提示',
content: res.data.msg,
showCancel: false,
})
reject(res.data)
}
wx.hideLoading()
wx.hideNavigationBarLoading()
},
error: function (e) {
console.log(e)
reject('网络出错');
// wx.hideLoading()
wx.hideNavigationBarLoading()
}
})
});
return promise;
},
globalData: {
userInfo: null
},
// 动画
//渐入,渐出实现
show: function (that, param, opacity) {
var animation = wx.createAnimation({
//持续时间800ms
duration: 800,
timingFunction: 'ease',
});
//var animation = this.animation
animation.opacity(opacity).step()
//将param转换为key
var json = '{"' + param + '":""}'
json = JSON.parse(json);
json[param] = animation.export()
//设置动画
that.setData(json)
},
// 动画
//渐入,渐出实现
show: function (that, param, opacity) {
var animation = wx.createAnimation({
//持续时间800ms
duration: 800,
timingFunction: 'ease',
});
//var animation = this.animation
animation.opacity(opacity).step()
//将param转换为key
var json = '{"' + param + '":""}'
json = JSON.parse(json);
json[param] = animation.export()
//设置动画
that.setData(json)
},
//滑动渐入渐出
slideupshow: function (that, param, px, opacity) {
var animation = wx.createAnimation({
duration: 1000,
timingFunction: 'ease',
});
animation.translateY(px).opacity(opacity).step()
//将param转换为key
var json = '{"' + param + '":""}'
json = JSON.parse(json);
json[param] = animation.export()
//设置动画
that.setData(json)
},
//滑动渐入渐出
slideupshow: function (that, param, px, opacity) {
var animation = wx.createAnimation({
duration: 1000,
timingFunction: 'ease',
});
animation.translateY(px).opacity(opacity).step()
//将param转换为key
var json = '{"' + param + '":""}'
json = JSON.parse(json);
json[param] = animation.export()
//设置动画
that.setData(json)
},
//向右滑动渐入渐出
sliderightshow: function (that, param, px, opacity) {
var animation = wx.createAnimation({
duration: 1500,
timingFunction: 'ease',
});
animation.translateX(px).opacity(opacity).step()
//将param转换为key
var json = '{"' + param + '":""}'
json = JSON.parse(json);
json[param] = animation.export()
//设置动画
that.setData(json)
},
//向右滑动渐入渐出
sliderightshow: function (that, param, px, opacity) {
var animation = wx.createAnimation({
duration: 1500,
timingFunction: 'ease',
});
animation.translateX(px).opacity(opacity).step()
//将param转换为key
var json = '{"' + param + '":""}'
json = JSON.parse(json);
json[param] = animation.export()
//设置动画
that.setData(json)
},
globalData: {
userInfo: null,
baseImgUrl: 'http://pjq0ww1cj.bkt.clouddn.com/'
}
})
\ No newline at end of file
... ...
... ... @@ -9,6 +9,7 @@ Page({
connectButton: [
{ className: "", text: "在线客服", bindtap: "" }
],
baseImgUrl: app.globalData.baseImgUrl,
minscreenHeight: 0,
scrollTop: 0,
name: '',
... ... @@ -140,11 +141,11 @@ Page({
companyStatus: false,
})
}
let AuglyTest_phone = /^1(3|4|5|6|7|8)\d{9}$/;
let AuglyTest_phone = /^1[0-9]{10}$/;
if(!AuglyTest_phone.test(that.data.phone)) {
that.setData({
contactStatus: true,
contactContent: "手机号格式不正确",
contactContent: "联系方式请输入不超过11位数字",
})
// wx.showToast({
// title: '手机号格式不正确',
... ...
<!--pages/about/about.wxml-->
<view class='about_wrap'>
<view class='about_top'>
<image src='http://pjq0ww1cj.bkt.clouddn.com/about.png'></image>
<image src='{{baseImgUrl}}/about.png'></image>
</view>
<view class='about_content'>
<import src="../../wxParse/wxParse.wxml"/>
<template is="wxParse" data="{{wxParseData:content_img.nodes}}"/>
<!-- <image src='http://pjq0ww1cj.bkt.clouddn.com/about_content.png' mode="widthFix"></image> -->
<!-- <image src='{{baseImgUrl}}/about_content.png' mode="widthFix"></image> -->
</view>
<view class='about_contact_way'>
<view class='about_title'>
<image src='http://pjq0ww1cj.bkt.clouddn.com/phone.png'></image>
<image src='{{baseImgUrl}}/phone.png'></image>
<view>联系我们</view>
</view>
<view class='about_contact_box'>
... ... @@ -37,13 +37,13 @@
<!-- 申请 -->
<view class='sub_apply_box'>
<view class='sub_apply_title'>
<image src='http://pjq0ww1cj.bkt.clouddn.com/apply.png'></image>
<image src='{{baseImgUrl}}/apply.png'></image>
</view>
<view class='sub_apply_list'>
<view class='sub_apply_must'>*</view>
<view class='sub_apply_input'>
<view class='sub_input_left'>
<image src='http://pjq0ww1cj.bkt.clouddn.com/user.png' mode="widthFix"></image>
<image src='{{baseImgUrl}}/user.png' mode="widthFix"></image>
</view>
<input type='text' bindchange="nameFun" placeholder="请输入您的姓名" />
<text wx:if="{{nameStatus == true}}">{{nameContent}}</text>
... ... @@ -53,9 +53,9 @@
<view class='sub_apply_must'>*</view>
<view class='sub_apply_input'>
<view class='sub_input_left'>
<image src='http://pjq0ww1cj.bkt.clouddn.com/input_phone.png' mode="widthFix"></image>
<image src='{{baseImgUrl}}/input_phone.png' mode="widthFix"></image>
</view>
<input type='number' maxlength='11' bindchange="phoneFun" placeholder="请输入您的联系方式" />
<input type='number' bindchange="phoneFun" placeholder="请输入您的联系方式" />
<text wx:if="{{contactStatus == true}}">{{contactContent}}</text>
</view>
</view>
... ... @@ -63,24 +63,24 @@
<!-- <view class='sub_apply_must'>*</view> -->
<view class='sub_apply_input' style='margin-left:30rpx;'>
<view class='sub_input_left'>
<image src='http://pjq0ww1cj.bkt.clouddn.com/company.png' mode="widthFix"></image>
<image src='{{baseImgUrl}}/company.png' mode="widthFix"></image>
</view>
<input type='text' bindchange="companyFun" placeholder="请输入您的所在行业" />
<text wx:if="{{companyStatus == true}}">{{companyContent}}</text>
</view>
</view>
<view class='sub_btn' bindtap='subFun'>
<image src='http://pjq0ww1cj.bkt.clouddn.com/sub_btn.png'></image>
<image src='{{baseImgUrl}}/sub_btn.png'></image>
</view>
</view>
<!-- 客服 -->
<view class='chat_peo'>
<button open-type="contact" class='contacButton'>
<image src='http://pjq0ww1cj.bkt.clouddn.com/chat_peo.png'></image>
<image src='{{baseImgUrl}}/chat_peo.png'></image>
</button>
</view>
<!-- 返回顶部 -->
<view class='chat_peo return_top' wx:if="{{scrollTop>minscreenHeight}}" bindtap="goTop" >
<image src='http://pjq0ww1cj.bkt.clouddn.com/dingbu.png'></image>
<image src='{{baseImgUrl}}/dingbu.png'></image>
</view>
</view>
... ...
... ... @@ -10,40 +10,41 @@ Page({
*/
data: {
imgUrls: [],
connectButton: [
{ className: "", text: "在线客服", bindtap: "" }
],
baseImgUrl: app.globalData.baseImgUrl,
connectButton: [
{ className: "", text: "在线客服", bindtap: "" }
],
autoplay: false,
duration: 1000,
circular: true,
currentSwiper: 0,
},
changeIndicatorDots(e) {
// console.log(e)
// console.log(e)
this.setData({
indicatorDots: !this.data.indicatorDots
})
},
changeAutoplay(e) {
// consolle.log(e)
// consolle.log(e)
this.setData({
autoplay: !this.data.autoplay
})
},
intervalChange(e) {
// console.log(e)
// console.log(e)
this.setData({
interval: e.detail.value
})
},
durationChange(e) {
// console.log(e)
// console.log(e)
this.setData({
duration: e.detail.value
})
},
swiperChange: function (e) {
// conosle.log(e)
// conosle.log(e)
this.setData({
currentSwiper: e.detail.current
})
... ... @@ -53,15 +54,15 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
let url = '/portal/Api/scene';
app.post(url, {}).then((res) => {
// console.log('res', res);
this.setData({
imgUrls: res.list
let url = '/portal/Api/scene';
app.post(url, {}).then((res) => {
// console.log('res', res);
this.setData({
imgUrls: res.list
})
}).catch((err) => {
console.log(err);
})
}).catch((err) => {
console.log(err);
})
},
jumpFun: function (e) {
wx.navigateTo({
... ... @@ -70,42 +71,42 @@ Page({
},
// 返回上一页
backFun: function () {
wx.navigateBack({
changed: true
});
wx.navigateBack({
changed: true
});
},
// 触摸开始事件
touchStart: function (e) {
touchDot = e.touches[0].pageX; // 获取触摸时的原点
// 使用js计时器记录时间
interval = setInterval(function () {
time++;
}, 100);
touchDot = e.touches[0].pageX; // 获取触摸时的原点
// 使用js计时器记录时间
interval = setInterval(function () {
time++;
}, 100);
},
// 触摸移动事件
touchMove: function (e) {
var touchMove = e.touches[0].pageX;
console.log("touchMove:" + touchMove + " touchDot:" + touchDot + " diff:" + (touchMove - touchDot));
// 向左滑动
if (touchMove - touchDot <= -40 && time < 10) {
wx.navigateTo({
url: '../about/about'
})
console.log(1)
}
// 向右滑动
if (touchMove - touchDot >= 40 && time < 10) {
console.log('向右滑动');
// alert("已经是第一页了")
wx.navigateBack({
changed: true
});
}
var touchMove = e.touches[0].pageX;
console.log("touchMove:" + touchMove + " touchDot:" + touchDot + " diff:" + (touchMove - touchDot));
// 向左滑动
if (touchMove - touchDot <= -40 && time < 10) {
wx.navigateTo({
url: '../about/about'
})
console.log(1)
}
// 向右滑动
if (touchMove - touchDot >= 40 && time < 10) {
console.log('向右滑动');
// alert("已经是第一页了")
wx.navigateBack({
changed: true
});
}
},
// 触摸结束事件
touchEnd: function (e) {
clearInterval(interval); // 清除setInterval
time = 0;
clearInterval(interval); // 清除setInterval
time = 0;
},
/**
... ... @@ -149,7 +150,7 @@ Page({
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
... ...
... ... @@ -19,7 +19,7 @@
<!-- 客服 -->
<view class='chat_peo'>
<button open-type="contact" class='contacButton'>
<image src='http://pjq0ww1cj.bkt.clouddn.com/chat_peo.png'></image>
<image src='{{baseImgUrl}}/chat_peo.png'></image>
</button>
</view>
... ...
... ... @@ -17,6 +17,7 @@ Page({
connectButton: [
{ className: "", text: "在线客服", bindtap: "" }
],
baseImgUrl: app.globalData.baseImgUrl,
currentSwiper: 0,
autoplay: true,
interval: 5000,
... ...
... ... @@ -31,40 +31,40 @@
</view>
<view class='case_content'>
<view class='case_list' data-html="政府案例" data-id='1' bindtap='goFun'>
<image src='http://pjq0ww1cj.bkt.clouddn.com/zhengfu.png'></image>
<image src='{{baseImgUrl}}/zhengfu.png'></image>
<view class='case_list_text'>政府</view>
</view>
<view class='case_list' data-html="地产案例" data-id='3' bindtap='goFun'>
<image src='http://pjq0ww1cj.bkt.clouddn.com/dichan.png'></image>
<image src='{{baseImgUrl}}/dichan.png'></image>
<view class='case_list_text'>地产</view>
</view>
<view class='case_list' data-html="制造案例" data-id='2' bindtap='goFun'>
<image src='http://pjq0ww1cj.bkt.clouddn.com/zhizao.png'></image>
<image src='{{baseImgUrl}}/zhizao.png'></image>
<view class='case_list_text'>制造</view>
</view>
<view class='case_list' data-html="教育案例" data-id='5' bindtap='goFun'>
<image src='http://pjq0ww1cj.bkt.clouddn.com/jiaoyu.png'></image>
<image src='{{baseImgUrl}}/jiaoyu.png'></image>
<view class='case_list_text'>教育</view>
</view>
<view class='case_list' data-html="物流案例" data-id='4' bindtap='goFun'>
<image src='http://pjq0ww1cj.bkt.clouddn.com/jinrong.png'></image>
<image src='{{baseImgUrl}}/jinrong.png'></image>
<view class='case_list_text'>物流</view>
</view>
<view class='case_list' data-html="零售案例" data-id='6' bindtap='goFun'>
<image src='http://pjq0ww1cj.bkt.clouddn.com/lingshou.png'></image>
<image src='{{baseImgUrl}}/lingshou.png'></image>
<view class='case_list_text'>零售</view>
</view>
</view>
<view class='drop_img'>
<image src='http://pjq0ww1cj.bkt.clouddn.com/left.png' style='margin-right:200rpx;' bindtap='backFun'></image>
<image src='http://pjq0ww1cj.bkt.clouddn.com/right.png' bindtap="jumpFun"></image>
<image src='{{baseImgUrl}}/left.png' style='margin-right:200rpx;' bindtap='backFun'></image>
<image src='{{baseImgUrl}}/right.png' bindtap="jumpFun"></image>
</view>
</view>
<!-- 客服 -->
<view class='chat_peo' >
<button open-type="contact" class='contacButton'>
<!-- <button open-type="contact" class='contacButton'> -->
<image src='http://pjq0ww1cj.bkt.clouddn.com/chat_peo.png'></image>
<image src='{{baseImgUrl}}/chat_peo.png'></image>
<!-- </button> -->
</button>
</view>
... ...
... ... @@ -11,6 +11,7 @@ Page({
connectButton: [
{ className: "", text: "在线客服", bindtap: "" }
],
baseImgUrl: app.globalData.baseImgUrl,
currentSwiper: 0,
listStatus: 0,
data: {},
... ...
... ... @@ -17,7 +17,7 @@
<image src="{{item.video_img}}"
class="slide-image fmImg" mode="aspectFill">
</image>
<image src='http://pjq0ww1cj.bkt.clouddn.com/video_btn.png' class="video_btn {{item.video_img!==''?'position-ab':''}}"></image>
<image src='{{baseImgUrl}}/video_btn.png' class="video_btn {{item.video_img!==''?'position-ab':''}}"></image>
</block>
<block wx:else>
... ... @@ -63,23 +63,23 @@
<view class='info_list' wx:if="{{listStatus==0}}">
<import src="../../wxParse/wxParse.wxml"/>
<template is="wxParse" data="{{wxParseData:content_1.nodes}}"/>
<!-- <image src="http://pjq0ww1cj.bkt.clouddn.com/jianjie.png" mode='widthFix'></image> -->
<!-- <image src="{{baseImgUrl}}/jianjie.png" mode='widthFix'></image> -->
</view>
<view class='info_list' wx:else>
<import src="../../wxParse/wxParse.wxml"/>
<template is="wxParse" data="{{wxParseData:content_2.nodes}}"/>
<!-- <image src="http://pjq0ww1cj.bkt.clouddn.com/shishi.png" mode='widthFix'></image> -->
<!-- <image src="{{baseImgUrl}}/shishi.png" mode='widthFix'></image> -->
</view>
</view>
</view>
<!-- 客服 -->
<view class='chat_peo'>
<button open-type="contact" class='contacButton'>
<image src='http://pjq0ww1cj.bkt.clouddn.com/chat_peo.png'></image>
<image src='{{baseImgUrl}}/chat_peo.png'></image>
</button>
</view>
<!-- 返回顶部 -->
<view class='chat_peo return_top' wx:if="{{scrollTop>minscreenHeight}}" bindtap="goTop" >
<image src='http://pjq0ww1cj.bkt.clouddn.com/dingbu.png'></image>
<image src='{{baseImgUrl}}/dingbu.png'></image>
</view>
</view>
... ...
// pages/caseList/caseList.js
const app=getApp();
const app = getApp();
Page({
/**
* 页面的初始数据
*/
data: {
connectButton: [
{ className: "", text: "在线客服", bindtap: "" }
],
caseList: [],
page: 1,
typeId: null,
minscreenHeight: 0,
scrollTop: 0,
jzSuccess: false,
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
let that = this;
wx.setNavigationBarTitle({
title: options.html,
});
that.setData({
typeId: options.id
})
that.getData();
},
/**
* 页面的初始数据
*/
data: {
connectButton: [
{ className: "", text: "在线客服", bindtap: "" }
],
caseList: [],
baseImgUrl: app.globalData.baseImgUrl,
page: 1,
typeId: null,
minscreenHeight: 0,
scrollTop: 0,
jzSuccess: false,
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
let that = this;
wx.setNavigationBarTitle({
title: options.html,
});
that.setData({
typeId: options.id
})
that.getData();
},
onPageScroll: function (e) { // 获取滚动条当前位置
// console.log(e)
this.setData({
... ... @@ -39,100 +40,100 @@ Page({
goTop: function () {
app.goTop()
},
getData() {
let that = this;
let url = '/portal/Api/listCategory';
// console.log(that.data.page);
// console.log(that.data.typeId);
let data = {
typeId: that.data.typeId,
page: that.data.page,
};
app.post(url, data).then((res) => {
console.log('res',res);
let data = [];
if(res.page == 1 && res.list.length == 0) {
that.setData({
jzSuccess: true,
jzSuccessContent: "暂无相关数据",
})
}else if(res.list.length < 10) {
that.setData({
caseList: that.data.caseList.concat(res.list),
jzSuccess: true,
jzSuccessContent: "已加载全部内容",
})
}else {
that.setData({
caseList: that.data.caseList.concat(res.list),
jzSuccess: false,
})
}
// data.
}).catch((err) => {
console.log(err);
})
},
jumpFun(e) {
// console.log(e.currentTarget.dataset.id);
wx.navigateTo({
url: '../caseDetail/caseDetail?id=' + e.currentTarget.dataset.id
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
var that = this;
that.setData({
page: that.data.page + 1
})
that.getData();
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
getData() {
let that = this;
let url = '/portal/Api/listCategory';
// console.log(that.data.page);
// console.log(that.data.typeId);
let data = {
typeId: that.data.typeId,
page: that.data.page,
};
app.post(url, data).then((res) => {
console.log('res', res);
let data = [];
if (res.page == 1 && res.list.length == 0) {
that.setData({
jzSuccess: true,
jzSuccessContent: "暂无相关数据",
})
} else if (res.list.length < 10) {
that.setData({
caseList: that.data.caseList.concat(res.list),
jzSuccess: true,
jzSuccessContent: "已加载全部内容",
})
} else {
that.setData({
caseList: that.data.caseList.concat(res.list),
jzSuccess: false,
})
}
// data.
}).catch((err) => {
console.log(err);
})
},
jumpFun(e) {
// console.log(e.currentTarget.dataset.id);
wx.navigateTo({
url: '../caseDetail/caseDetail?id=' + e.currentTarget.dataset.id
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
var that = this;
that.setData({
page: that.data.page + 1
})
that.getData();
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
... ...
... ... @@ -24,11 +24,11 @@
<!-- 客服 -->
<cover-view class='chat_peo'>
<button open-type="contact" class='contacButton'>
<cover-image src='http://pjq0ww1cj.bkt.clouddn.com/chat_peo.png'></cover-image>
<cover-image src='{{baseImgUrl}}/chat_peo.png'></cover-image>
</button>
</cover-view>
<!-- 返回顶部 -->
<cover-view class='chat_peo return_top' wx:if="{{scrollTop>minscreenHeight}}" bindtap='goTop'>
<cover-image src='http://pjq0ww1cj.bkt.clouddn.com/dingbu.png'></cover-image>
<cover-image src='{{baseImgUrl}}/dingbu.png'></cover-image>
</cover-view>
</view>
... ...
... ... @@ -17,6 +17,7 @@ Page({
connectButton: [
{ className: "", text: "在线客服", bindtap: "" }
],
baseImgUrl: app.globalData.baseImgUrl,
},
changeIndicatorDots(e) {
this.setData({
... ...
... ... @@ -4,28 +4,28 @@
<swiper-item>
<view class='imgPolytope'>
<image src='http://pjq0ww1cj.bkt.clouddn.com/ruiwang_zhutu1.png' class='index_zhutu'></image>
<image src='http://pjq0ww1cj.bkt.clouddn.com/ruiwangfangkuai_1.png' class='image0 image01 heart01'></image>
<image src='http://pjq0ww1cj.bkt.clouddn.com/ruiwangfangkuai_2.png' class='image0 image02 heart01'></image>
<image src='http://pjq0ww1cj.bkt.clouddn.com/ruiwangfangkuai_3.png' class='image0 image03 heart01'></image>
<image src='http://pjq0ww1cj.bkt.clouddn.com/ruiwangfangkuai_4.png' class='image0 image04 heart'></image>
<image src='http://pjq0ww1cj.bkt.clouddn.com/ruiwangfangkuai_5.png' class='image0 image05 heart01'></image>
<image src='http://pjq0ww1cj.bkt.clouddn.com/ruiwangfangkuai_6.png' class='image0 image06 heart02'></image>
<image src='http://pjq0ww1cj.bkt.clouddn.com/ruiwangfangkuai_7.png' class='image0 image07 heart02'></image>
<image src='http://pjq0ww1cj.bkt.clouddn.com/ruiwangfangkuai_8.png' class='image0 image08 heart02'></image>
<image src='http://pjq0ww1cj.bkt.clouddn.com/ruiwangfangkuai_9.png' class='image0 image09 heart01'></image>
<image src='http://pjq0ww1cj.bkt.clouddn.com/ruiwangfangkuai_10.png' class='image0 image10 heart02'></image>
<image src='http://pjq0ww1cj.bkt.clouddn.com/fenxi.png' class='fenxi image0 heart'></image>
<image src='http://pjq0ww1cj.bkt.clouddn.com/guankong.png' class='guankong image0 heart'></image>
<image src='http://pjq0ww1cj.bkt.clouddn.com/jiaohu.png' class='jiaohu image0 heart'></image>
<image src='http://pjq0ww1cj.bkt.clouddn.com/xiezuo.png' class='xiezuo image0 heart'></image>
<image src='{{baseImgUrl}}/ruiwang_zhutu1.png' class='index_zhutu'></image>
<image src='{{baseImgUrl}}/ruiwangfangkuai_1.png' class='image0 image01 heart01'></image>
<image src='{{baseImgUrl}}/ruiwangfangkuai_2.png' class='image0 image02 heart01'></image>
<image src='{{baseImgUrl}}/ruiwangfangkuai_3.png' class='image0 image03 heart01'></image>
<image src='{{baseImgUrl}}/ruiwangfangkuai_4.png' class='image0 image04 heart'></image>
<image src='{{baseImgUrl}}/ruiwangfangkuai_5.png' class='image0 image05 heart01'></image>
<image src='{{baseImgUrl}}/ruiwangfangkuai_6.png' class='image0 image06 heart02'></image>
<image src='{{baseImgUrl}}/ruiwangfangkuai_7.png' class='image0 image07 heart02'></image>
<image src='{{baseImgUrl}}/ruiwangfangkuai_8.png' class='image0 image08 heart02'></image>
<image src='{{baseImgUrl}}/ruiwangfangkuai_9.png' class='image0 image09 heart01'></image>
<image src='{{baseImgUrl}}/ruiwangfangkuai_10.png' class='image0 image10 heart02'></image>
<image src='{{baseImgUrl}}/fenxi.png' class='fenxi image0 heart'></image>
<image src='{{baseImgUrl}}/guankong.png' class='guankong image0 heart'></image>
<image src='{{baseImgUrl}}/jiaohu.png' class='jiaohu image0 heart'></image>
<image src='{{baseImgUrl}}/xiezuo.png' class='xiezuo image0 heart'></image>
</view>
<view class='index_title'>
<view class='title init' animation="{{slide_up1}}">数据分析及可视化</view>
<view class='content contentInit' animation="{{slide_up2}}">大数据探索商业价值的无限可能</view>
</view>
<view class='drop_img heart'>
<image src='http://pjq0ww1cj.bkt.clouddn.com/drop.png'></image>
<image src='{{baseImgUrl}}/drop.png'></image>
</view>
</swiper-item>
<!-- 第二屏 -->
... ... @@ -60,27 +60,27 @@
</view>
<view class='case_content'>
<view class='case_list' data-html="政府案例" data-id='1' bindtap='goFun'>
<image src='http://pjq0ww1cj.bkt.clouddn.com/zhengfu.png'></image>
<image src='{{baseImgUrl}}/zhengfu.png'></image>
<view class='case_list_text'>政府</view>
</view>
<view class='case_list' data-html="地产案例" data-id='3' bindtap='goFun'>
<image src='http://pjq0ww1cj.bkt.clouddn.com/dichan.png'></image>
<image src='{{baseImgUrl}}/dichan.png'></image>
<view class='case_list_text'>地产</view>
</view>
<view class='case_list' data-html="制造案例" data-id='2' bindtap='goFun'>
<image src='http://pjq0ww1cj.bkt.clouddn.com/zhizao.png'></image>
<image src='{{baseImgUrl}}/zhizao.png'></image>
<view class='case_list_text'>制造</view>
</view>
<view class='case_list' data-html="教育案例" data-id='5' bindtap='goFun'>
<image src='http://pjq0ww1cj.bkt.clouddn.com/jiaoyu.png'></image>
<image src='{{baseImgUrl}}/jiaoyu.png'></image>
<view class='case_list_text'>教育</view>
</view>
<view class='case_list' data-html="物流案例" data-id='4' bindtap='goFun'>
<image src='http://pjq0ww1cj.bkt.clouddn.com/jinrong.png'></image>
<image src='{{baseImgUrl}}/jinrong.png'></image>
<view class='case_list_text'>物流</view>
</view>
<view class='case_list' data-html="零售案例" data-id='6' bindtap='goFun'>
<image src='http://pjq0ww1cj.bkt.clouddn.com/lingshou.png'></image>
<image src='{{baseImgUrl}}/lingshou.png'></image>
<view class='case_list_text'>零售</view>
</view>
</view>
... ... @@ -92,7 +92,7 @@
<!-- 客服 -->
<view class='chat_peo'>
<button open-type="contact" class='contacButton'>
<image src='http://pjq0ww1cj.bkt.clouddn.com/chat_peo.png'></image>
<image src='{{baseImgUrl}}/chat_peo.png'></image>
</button>
</view>
... ...