正在显示
13 个修改的文件
包含
76 行增加
和
66 行删除
@@ -25,13 +25,13 @@ App({ | @@ -25,13 +25,13 @@ App({ | ||
25 | }, | 25 | }, |
26 | 26 | ||
27 | /** | 27 | /** |
28 | -* 自定义post函数,返回Promise | ||
29 | -* +------------------- | ||
30 | -* @param {String} url 接口网址 | ||
31 | -* @param {arrayObject} data 要传的数组对象 like: {name: 'name', age: 32} | ||
32 | -* +------------------- | ||
33 | -* @return {Promise} promise 返回promise供后续操作 | ||
34 | -*/ | 28 | + * 自定义post函数,返回Promise |
29 | + * +------------------- | ||
30 | + * @param {String} url 接口网址 | ||
31 | + * @param {arrayObject} data 要传的数组对象 like: {name: 'name', age: 32} | ||
32 | + * +------------------- | ||
33 | + * @return {Promise} promise 返回promise供后续操作 | ||
34 | + */ | ||
35 | post: function (url, data, headerParams) { | 35 | post: function (url, data, headerParams) { |
36 | wx.showNavigationBarLoading() | 36 | wx.showNavigationBarLoading() |
37 | wx.showLoading({ | 37 | wx.showLoading({ |
@@ -106,7 +106,7 @@ App({ | @@ -106,7 +106,7 @@ App({ | ||
106 | }, | 106 | }, |
107 | 107 | ||
108 | 108 | ||
109 | -// 动画 | 109 | + // 动画 |
110 | //渐入,渐出实现 | 110 | //渐入,渐出实现 |
111 | show: function (that, param, opacity) { | 111 | show: function (that, param, opacity) { |
112 | var animation = wx.createAnimation({ | 112 | var animation = wx.createAnimation({ |
@@ -153,4 +153,8 @@ App({ | @@ -153,4 +153,8 @@ App({ | ||
153 | //设置动画 | 153 | //设置动画 |
154 | that.setData(json) | 154 | that.setData(json) |
155 | }, | 155 | }, |
156 | + globalData: { | ||
157 | + userInfo: null, | ||
158 | + baseImgUrl: 'http://pjq0ww1cj.bkt.clouddn.com/' | ||
159 | + } | ||
156 | }) | 160 | }) |
@@ -9,6 +9,7 @@ Page({ | @@ -9,6 +9,7 @@ Page({ | ||
9 | connectButton: [ | 9 | connectButton: [ |
10 | { className: "", text: "在线客服", bindtap: "" } | 10 | { className: "", text: "在线客服", bindtap: "" } |
11 | ], | 11 | ], |
12 | + baseImgUrl: app.globalData.baseImgUrl, | ||
12 | minscreenHeight: 0, | 13 | minscreenHeight: 0, |
13 | scrollTop: 0, | 14 | scrollTop: 0, |
14 | name: '', | 15 | name: '', |
@@ -140,11 +141,11 @@ Page({ | @@ -140,11 +141,11 @@ Page({ | ||
140 | companyStatus: false, | 141 | companyStatus: false, |
141 | }) | 142 | }) |
142 | } | 143 | } |
143 | - let AuglyTest_phone = /^1(3|4|5|6|7|8)\d{9}$/; | 144 | + let AuglyTest_phone = /^1[0-9]{10}$/; |
144 | if(!AuglyTest_phone.test(that.data.phone)) { | 145 | if(!AuglyTest_phone.test(that.data.phone)) { |
145 | that.setData({ | 146 | that.setData({ |
146 | contactStatus: true, | 147 | contactStatus: true, |
147 | - contactContent: "手机号格式不正确", | 148 | + contactContent: "联系方式请输入不超过11位数字", |
148 | }) | 149 | }) |
149 | // wx.showToast({ | 150 | // wx.showToast({ |
150 | // title: '手机号格式不正确', | 151 | // title: '手机号格式不正确', |
1 | <!--pages/about/about.wxml--> | 1 | <!--pages/about/about.wxml--> |
2 | <view class='about_wrap'> | 2 | <view class='about_wrap'> |
3 | <view class='about_top'> | 3 | <view class='about_top'> |
4 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/about.png'></image> | 4 | + <image src='{{baseImgUrl}}/about.png'></image> |
5 | </view> | 5 | </view> |
6 | <view class='about_content'> | 6 | <view class='about_content'> |
7 | <import src="../../wxParse/wxParse.wxml"/> | 7 | <import src="../../wxParse/wxParse.wxml"/> |
8 | <template is="wxParse" data="{{wxParseData:content_img.nodes}}"/> | 8 | <template is="wxParse" data="{{wxParseData:content_img.nodes}}"/> |
9 | - <!-- <image src='http://pjq0ww1cj.bkt.clouddn.com/about_content.png' mode="widthFix"></image> --> | 9 | + <!-- <image src='{{baseImgUrl}}/about_content.png' mode="widthFix"></image> --> |
10 | </view> | 10 | </view> |
11 | <view class='about_contact_way'> | 11 | <view class='about_contact_way'> |
12 | <view class='about_title'> | 12 | <view class='about_title'> |
13 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/phone.png'></image> | 13 | + <image src='{{baseImgUrl}}/phone.png'></image> |
14 | <view>联系我们</view> | 14 | <view>联系我们</view> |
15 | </view> | 15 | </view> |
16 | <view class='about_contact_box'> | 16 | <view class='about_contact_box'> |
@@ -37,13 +37,13 @@ | @@ -37,13 +37,13 @@ | ||
37 | <!-- 申请 --> | 37 | <!-- 申请 --> |
38 | <view class='sub_apply_box'> | 38 | <view class='sub_apply_box'> |
39 | <view class='sub_apply_title'> | 39 | <view class='sub_apply_title'> |
40 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/apply.png'></image> | 40 | + <image src='{{baseImgUrl}}/apply.png'></image> |
41 | </view> | 41 | </view> |
42 | <view class='sub_apply_list'> | 42 | <view class='sub_apply_list'> |
43 | <view class='sub_apply_must'>*</view> | 43 | <view class='sub_apply_must'>*</view> |
44 | <view class='sub_apply_input'> | 44 | <view class='sub_apply_input'> |
45 | <view class='sub_input_left'> | 45 | <view class='sub_input_left'> |
46 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/user.png' mode="widthFix"></image> | 46 | + <image src='{{baseImgUrl}}/user.png' mode="widthFix"></image> |
47 | </view> | 47 | </view> |
48 | <input type='text' bindchange="nameFun" placeholder="请输入您的姓名" /> | 48 | <input type='text' bindchange="nameFun" placeholder="请输入您的姓名" /> |
49 | <text wx:if="{{nameStatus == true}}">{{nameContent}}</text> | 49 | <text wx:if="{{nameStatus == true}}">{{nameContent}}</text> |
@@ -53,9 +53,9 @@ | @@ -53,9 +53,9 @@ | ||
53 | <view class='sub_apply_must'>*</view> | 53 | <view class='sub_apply_must'>*</view> |
54 | <view class='sub_apply_input'> | 54 | <view class='sub_apply_input'> |
55 | <view class='sub_input_left'> | 55 | <view class='sub_input_left'> |
56 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/input_phone.png' mode="widthFix"></image> | 56 | + <image src='{{baseImgUrl}}/input_phone.png' mode="widthFix"></image> |
57 | </view> | 57 | </view> |
58 | - <input type='number' maxlength='11' bindchange="phoneFun" placeholder="请输入您的联系方式" /> | 58 | + <input type='number' bindchange="phoneFun" placeholder="请输入您的联系方式" /> |
59 | <text wx:if="{{contactStatus == true}}">{{contactContent}}</text> | 59 | <text wx:if="{{contactStatus == true}}">{{contactContent}}</text> |
60 | </view> | 60 | </view> |
61 | </view> | 61 | </view> |
@@ -63,24 +63,24 @@ | @@ -63,24 +63,24 @@ | ||
63 | <!-- <view class='sub_apply_must'>*</view> --> | 63 | <!-- <view class='sub_apply_must'>*</view> --> |
64 | <view class='sub_apply_input' style='margin-left:30rpx;'> | 64 | <view class='sub_apply_input' style='margin-left:30rpx;'> |
65 | <view class='sub_input_left'> | 65 | <view class='sub_input_left'> |
66 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/company.png' mode="widthFix"></image> | 66 | + <image src='{{baseImgUrl}}/company.png' mode="widthFix"></image> |
67 | </view> | 67 | </view> |
68 | <input type='text' bindchange="companyFun" placeholder="请输入您的所在行业" /> | 68 | <input type='text' bindchange="companyFun" placeholder="请输入您的所在行业" /> |
69 | <text wx:if="{{companyStatus == true}}">{{companyContent}}</text> | 69 | <text wx:if="{{companyStatus == true}}">{{companyContent}}</text> |
70 | </view> | 70 | </view> |
71 | </view> | 71 | </view> |
72 | <view class='sub_btn' bindtap='subFun'> | 72 | <view class='sub_btn' bindtap='subFun'> |
73 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/sub_btn.png'></image> | 73 | + <image src='{{baseImgUrl}}/sub_btn.png'></image> |
74 | </view> | 74 | </view> |
75 | </view> | 75 | </view> |
76 | <!-- 客服 --> | 76 | <!-- 客服 --> |
77 | <view class='chat_peo'> | 77 | <view class='chat_peo'> |
78 | <button open-type="contact" class='contacButton'> | 78 | <button open-type="contact" class='contacButton'> |
79 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/chat_peo.png'></image> | 79 | + <image src='{{baseImgUrl}}/chat_peo.png'></image> |
80 | </button> | 80 | </button> |
81 | </view> | 81 | </view> |
82 | <!-- 返回顶部 --> | 82 | <!-- 返回顶部 --> |
83 | <view class='chat_peo return_top' wx:if="{{scrollTop>minscreenHeight}}" bindtap="goTop" > | 83 | <view class='chat_peo return_top' wx:if="{{scrollTop>minscreenHeight}}" bindtap="goTop" > |
84 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/dingbu.png'></image> | 84 | + <image src='{{baseImgUrl}}/dingbu.png'></image> |
85 | </view> | 85 | </view> |
86 | </view> | 86 | </view> |
@@ -10,6 +10,7 @@ Page({ | @@ -10,6 +10,7 @@ Page({ | ||
10 | */ | 10 | */ |
11 | data: { | 11 | data: { |
12 | imgUrls: [], | 12 | imgUrls: [], |
13 | + baseImgUrl: app.globalData.baseImgUrl, | ||
13 | connectButton: [ | 14 | connectButton: [ |
14 | { className: "", text: "在线客服", bindtap: "" } | 15 | { className: "", text: "在线客服", bindtap: "" } |
15 | ], | 16 | ], |
@@ -19,7 +19,7 @@ | @@ -19,7 +19,7 @@ | ||
19 | <!-- 客服 --> | 19 | <!-- 客服 --> |
20 | <view class='chat_peo'> | 20 | <view class='chat_peo'> |
21 | <button open-type="contact" class='contacButton'> | 21 | <button open-type="contact" class='contacButton'> |
22 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/chat_peo.png'></image> | 22 | + <image src='{{baseImgUrl}}/chat_peo.png'></image> |
23 | </button> | 23 | </button> |
24 | </view> | 24 | </view> |
25 | 25 |
@@ -17,6 +17,7 @@ Page({ | @@ -17,6 +17,7 @@ Page({ | ||
17 | connectButton: [ | 17 | connectButton: [ |
18 | { className: "", text: "在线客服", bindtap: "" } | 18 | { className: "", text: "在线客服", bindtap: "" } |
19 | ], | 19 | ], |
20 | + baseImgUrl: app.globalData.baseImgUrl, | ||
20 | currentSwiper: 0, | 21 | currentSwiper: 0, |
21 | autoplay: true, | 22 | autoplay: true, |
22 | interval: 5000, | 23 | interval: 5000, |
@@ -31,40 +31,40 @@ | @@ -31,40 +31,40 @@ | ||
31 | </view> | 31 | </view> |
32 | <view class='case_content'> | 32 | <view class='case_content'> |
33 | <view class='case_list' data-html="政府案例" data-id='1' bindtap='goFun'> | 33 | <view class='case_list' data-html="政府案例" data-id='1' bindtap='goFun'> |
34 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/zhengfu.png'></image> | 34 | + <image src='{{baseImgUrl}}/zhengfu.png'></image> |
35 | <view class='case_list_text'>政府</view> | 35 | <view class='case_list_text'>政府</view> |
36 | </view> | 36 | </view> |
37 | <view class='case_list' data-html="地产案例" data-id='3' bindtap='goFun'> | 37 | <view class='case_list' data-html="地产案例" data-id='3' bindtap='goFun'> |
38 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/dichan.png'></image> | 38 | + <image src='{{baseImgUrl}}/dichan.png'></image> |
39 | <view class='case_list_text'>地产</view> | 39 | <view class='case_list_text'>地产</view> |
40 | </view> | 40 | </view> |
41 | <view class='case_list' data-html="制造案例" data-id='2' bindtap='goFun'> | 41 | <view class='case_list' data-html="制造案例" data-id='2' bindtap='goFun'> |
42 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/zhizao.png'></image> | 42 | + <image src='{{baseImgUrl}}/zhizao.png'></image> |
43 | <view class='case_list_text'>制造</view> | 43 | <view class='case_list_text'>制造</view> |
44 | </view> | 44 | </view> |
45 | <view class='case_list' data-html="教育案例" data-id='5' bindtap='goFun'> | 45 | <view class='case_list' data-html="教育案例" data-id='5' bindtap='goFun'> |
46 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/jiaoyu.png'></image> | 46 | + <image src='{{baseImgUrl}}/jiaoyu.png'></image> |
47 | <view class='case_list_text'>教育</view> | 47 | <view class='case_list_text'>教育</view> |
48 | </view> | 48 | </view> |
49 | <view class='case_list' data-html="物流案例" data-id='4' bindtap='goFun'> | 49 | <view class='case_list' data-html="物流案例" data-id='4' bindtap='goFun'> |
50 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/jinrong.png'></image> | 50 | + <image src='{{baseImgUrl}}/jinrong.png'></image> |
51 | <view class='case_list_text'>物流</view> | 51 | <view class='case_list_text'>物流</view> |
52 | </view> | 52 | </view> |
53 | <view class='case_list' data-html="零售案例" data-id='6' bindtap='goFun'> | 53 | <view class='case_list' data-html="零售案例" data-id='6' bindtap='goFun'> |
54 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/lingshou.png'></image> | 54 | + <image src='{{baseImgUrl}}/lingshou.png'></image> |
55 | <view class='case_list_text'>零售</view> | 55 | <view class='case_list_text'>零售</view> |
56 | </view> | 56 | </view> |
57 | </view> | 57 | </view> |
58 | <view class='drop_img'> | 58 | <view class='drop_img'> |
59 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/left.png' style='margin-right:200rpx;' bindtap='backFun'></image> | ||
60 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/right.png' bindtap="jumpFun"></image> | 59 | + <image src='{{baseImgUrl}}/left.png' style='margin-right:200rpx;' bindtap='backFun'></image> |
60 | + <image src='{{baseImgUrl}}/right.png' bindtap="jumpFun"></image> | ||
61 | </view> | 61 | </view> |
62 | </view> | 62 | </view> |
63 | <!-- 客服 --> | 63 | <!-- 客服 --> |
64 | <view class='chat_peo' > | 64 | <view class='chat_peo' > |
65 | <button open-type="contact" class='contacButton'> | 65 | <button open-type="contact" class='contacButton'> |
66 | <!-- <button open-type="contact" class='contacButton'> --> | 66 | <!-- <button open-type="contact" class='contacButton'> --> |
67 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/chat_peo.png'></image> | 67 | + <image src='{{baseImgUrl}}/chat_peo.png'></image> |
68 | <!-- </button> --> | 68 | <!-- </button> --> |
69 | </button> | 69 | </button> |
70 | </view> | 70 | </view> |
@@ -11,6 +11,7 @@ Page({ | @@ -11,6 +11,7 @@ Page({ | ||
11 | connectButton: [ | 11 | connectButton: [ |
12 | { className: "", text: "在线客服", bindtap: "" } | 12 | { className: "", text: "在线客服", bindtap: "" } |
13 | ], | 13 | ], |
14 | + baseImgUrl: app.globalData.baseImgUrl, | ||
14 | currentSwiper: 0, | 15 | currentSwiper: 0, |
15 | listStatus: 0, | 16 | listStatus: 0, |
16 | data: {}, | 17 | data: {}, |
@@ -17,7 +17,7 @@ | @@ -17,7 +17,7 @@ | ||
17 | <image src="{{item.video_img}}" | 17 | <image src="{{item.video_img}}" |
18 | class="slide-image fmImg" mode="aspectFill"> | 18 | class="slide-image fmImg" mode="aspectFill"> |
19 | </image> | 19 | </image> |
20 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/video_btn.png' class="video_btn {{item.video_img!==''?'position-ab':''}}"></image> | 20 | + <image src='{{baseImgUrl}}/video_btn.png' class="video_btn {{item.video_img!==''?'position-ab':''}}"></image> |
21 | 21 | ||
22 | </block> | 22 | </block> |
23 | <block wx:else> | 23 | <block wx:else> |
@@ -63,23 +63,23 @@ | @@ -63,23 +63,23 @@ | ||
63 | <view class='info_list' wx:if="{{listStatus==0}}"> | 63 | <view class='info_list' wx:if="{{listStatus==0}}"> |
64 | <import src="../../wxParse/wxParse.wxml"/> | 64 | <import src="../../wxParse/wxParse.wxml"/> |
65 | <template is="wxParse" data="{{wxParseData:content_1.nodes}}"/> | 65 | <template is="wxParse" data="{{wxParseData:content_1.nodes}}"/> |
66 | - <!-- <image src="http://pjq0ww1cj.bkt.clouddn.com/jianjie.png" mode='widthFix'></image> --> | 66 | + <!-- <image src="{{baseImgUrl}}/jianjie.png" mode='widthFix'></image> --> |
67 | </view> | 67 | </view> |
68 | <view class='info_list' wx:else> | 68 | <view class='info_list' wx:else> |
69 | <import src="../../wxParse/wxParse.wxml"/> | 69 | <import src="../../wxParse/wxParse.wxml"/> |
70 | <template is="wxParse" data="{{wxParseData:content_2.nodes}}"/> | 70 | <template is="wxParse" data="{{wxParseData:content_2.nodes}}"/> |
71 | - <!-- <image src="http://pjq0ww1cj.bkt.clouddn.com/shishi.png" mode='widthFix'></image> --> | 71 | + <!-- <image src="{{baseImgUrl}}/shishi.png" mode='widthFix'></image> --> |
72 | </view> | 72 | </view> |
73 | </view> | 73 | </view> |
74 | </view> | 74 | </view> |
75 | <!-- 客服 --> | 75 | <!-- 客服 --> |
76 | <view class='chat_peo'> | 76 | <view class='chat_peo'> |
77 | <button open-type="contact" class='contacButton'> | 77 | <button open-type="contact" class='contacButton'> |
78 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/chat_peo.png'></image> | 78 | + <image src='{{baseImgUrl}}/chat_peo.png'></image> |
79 | </button> | 79 | </button> |
80 | </view> | 80 | </view> |
81 | <!-- 返回顶部 --> | 81 | <!-- 返回顶部 --> |
82 | <view class='chat_peo return_top' wx:if="{{scrollTop>minscreenHeight}}" bindtap="goTop" > | 82 | <view class='chat_peo return_top' wx:if="{{scrollTop>minscreenHeight}}" bindtap="goTop" > |
83 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/dingbu.png'></image> | 83 | + <image src='{{baseImgUrl}}/dingbu.png'></image> |
84 | </view> | 84 | </view> |
85 | </view> | 85 | </view> |
1 | // pages/caseList/caseList.js | 1 | // pages/caseList/caseList.js |
2 | -const app=getApp(); | 2 | +const app = getApp(); |
3 | Page({ | 3 | Page({ |
4 | 4 | ||
5 | /** | 5 | /** |
@@ -10,6 +10,7 @@ Page({ | @@ -10,6 +10,7 @@ Page({ | ||
10 | { className: "", text: "在线客服", bindtap: "" } | 10 | { className: "", text: "在线客服", bindtap: "" } |
11 | ], | 11 | ], |
12 | caseList: [], | 12 | caseList: [], |
13 | + baseImgUrl: app.globalData.baseImgUrl, | ||
13 | page: 1, | 14 | page: 1, |
14 | typeId: null, | 15 | typeId: null, |
15 | minscreenHeight: 0, | 16 | minscreenHeight: 0, |
@@ -49,20 +50,20 @@ Page({ | @@ -49,20 +50,20 @@ Page({ | ||
49 | page: that.data.page, | 50 | page: that.data.page, |
50 | }; | 51 | }; |
51 | app.post(url, data).then((res) => { | 52 | app.post(url, data).then((res) => { |
52 | - console.log('res',res); | 53 | + console.log('res', res); |
53 | let data = []; | 54 | let data = []; |
54 | - if(res.page == 1 && res.list.length == 0) { | 55 | + if (res.page == 1 && res.list.length == 0) { |
55 | that.setData({ | 56 | that.setData({ |
56 | jzSuccess: true, | 57 | jzSuccess: true, |
57 | jzSuccessContent: "暂无相关数据", | 58 | jzSuccessContent: "暂无相关数据", |
58 | }) | 59 | }) |
59 | - }else if(res.list.length < 10) { | 60 | + } else if (res.list.length < 10) { |
60 | that.setData({ | 61 | that.setData({ |
61 | caseList: that.data.caseList.concat(res.list), | 62 | caseList: that.data.caseList.concat(res.list), |
62 | jzSuccess: true, | 63 | jzSuccess: true, |
63 | jzSuccessContent: "已加载全部内容", | 64 | jzSuccessContent: "已加载全部内容", |
64 | }) | 65 | }) |
65 | - }else { | 66 | + } else { |
66 | that.setData({ | 67 | that.setData({ |
67 | caseList: that.data.caseList.concat(res.list), | 68 | caseList: that.data.caseList.concat(res.list), |
68 | jzSuccess: false, | 69 | jzSuccess: false, |
@@ -24,11 +24,11 @@ | @@ -24,11 +24,11 @@ | ||
24 | <!-- 客服 --> | 24 | <!-- 客服 --> |
25 | <cover-view class='chat_peo'> | 25 | <cover-view class='chat_peo'> |
26 | <button open-type="contact" class='contacButton'> | 26 | <button open-type="contact" class='contacButton'> |
27 | - <cover-image src='http://pjq0ww1cj.bkt.clouddn.com/chat_peo.png'></cover-image> | 27 | + <cover-image src='{{baseImgUrl}}/chat_peo.png'></cover-image> |
28 | </button> | 28 | </button> |
29 | </cover-view> | 29 | </cover-view> |
30 | <!-- 返回顶部 --> | 30 | <!-- 返回顶部 --> |
31 | <cover-view class='chat_peo return_top' wx:if="{{scrollTop>minscreenHeight}}" bindtap='goTop'> | 31 | <cover-view class='chat_peo return_top' wx:if="{{scrollTop>minscreenHeight}}" bindtap='goTop'> |
32 | - <cover-image src='http://pjq0ww1cj.bkt.clouddn.com/dingbu.png'></cover-image> | 32 | + <cover-image src='{{baseImgUrl}}/dingbu.png'></cover-image> |
33 | </cover-view> | 33 | </cover-view> |
34 | </view> | 34 | </view> |
@@ -17,6 +17,7 @@ Page({ | @@ -17,6 +17,7 @@ Page({ | ||
17 | connectButton: [ | 17 | connectButton: [ |
18 | { className: "", text: "在线客服", bindtap: "" } | 18 | { className: "", text: "在线客服", bindtap: "" } |
19 | ], | 19 | ], |
20 | + baseImgUrl: app.globalData.baseImgUrl, | ||
20 | }, | 21 | }, |
21 | changeIndicatorDots(e) { | 22 | changeIndicatorDots(e) { |
22 | this.setData({ | 23 | this.setData({ |
@@ -4,28 +4,28 @@ | @@ -4,28 +4,28 @@ | ||
4 | 4 | ||
5 | <swiper-item> | 5 | <swiper-item> |
6 | <view class='imgPolytope'> | 6 | <view class='imgPolytope'> |
7 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/ruiwang_zhutu1.png' class='index_zhutu'></image> | ||
8 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/ruiwangfangkuai_1.png' class='image0 image01 heart01'></image> | ||
9 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/ruiwangfangkuai_2.png' class='image0 image02 heart01'></image> | ||
10 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/ruiwangfangkuai_3.png' class='image0 image03 heart01'></image> | ||
11 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/ruiwangfangkuai_4.png' class='image0 image04 heart'></image> | ||
12 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/ruiwangfangkuai_5.png' class='image0 image05 heart01'></image> | ||
13 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/ruiwangfangkuai_6.png' class='image0 image06 heart02'></image> | ||
14 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/ruiwangfangkuai_7.png' class='image0 image07 heart02'></image> | ||
15 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/ruiwangfangkuai_8.png' class='image0 image08 heart02'></image> | ||
16 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/ruiwangfangkuai_9.png' class='image0 image09 heart01'></image> | ||
17 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/ruiwangfangkuai_10.png' class='image0 image10 heart02'></image> | ||
18 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/fenxi.png' class='fenxi image0 heart'></image> | ||
19 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/guankong.png' class='guankong image0 heart'></image> | ||
20 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/jiaohu.png' class='jiaohu image0 heart'></image> | ||
21 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/xiezuo.png' class='xiezuo image0 heart'></image> | 7 | + <image src='{{baseImgUrl}}/ruiwang_zhutu1.png' class='index_zhutu'></image> |
8 | + <image src='{{baseImgUrl}}/ruiwangfangkuai_1.png' class='image0 image01 heart01'></image> | ||
9 | + <image src='{{baseImgUrl}}/ruiwangfangkuai_2.png' class='image0 image02 heart01'></image> | ||
10 | + <image src='{{baseImgUrl}}/ruiwangfangkuai_3.png' class='image0 image03 heart01'></image> | ||
11 | + <image src='{{baseImgUrl}}/ruiwangfangkuai_4.png' class='image0 image04 heart'></image> | ||
12 | + <image src='{{baseImgUrl}}/ruiwangfangkuai_5.png' class='image0 image05 heart01'></image> | ||
13 | + <image src='{{baseImgUrl}}/ruiwangfangkuai_6.png' class='image0 image06 heart02'></image> | ||
14 | + <image src='{{baseImgUrl}}/ruiwangfangkuai_7.png' class='image0 image07 heart02'></image> | ||
15 | + <image src='{{baseImgUrl}}/ruiwangfangkuai_8.png' class='image0 image08 heart02'></image> | ||
16 | + <image src='{{baseImgUrl}}/ruiwangfangkuai_9.png' class='image0 image09 heart01'></image> | ||
17 | + <image src='{{baseImgUrl}}/ruiwangfangkuai_10.png' class='image0 image10 heart02'></image> | ||
18 | + <image src='{{baseImgUrl}}/fenxi.png' class='fenxi image0 heart'></image> | ||
19 | + <image src='{{baseImgUrl}}/guankong.png' class='guankong image0 heart'></image> | ||
20 | + <image src='{{baseImgUrl}}/jiaohu.png' class='jiaohu image0 heart'></image> | ||
21 | + <image src='{{baseImgUrl}}/xiezuo.png' class='xiezuo image0 heart'></image> | ||
22 | </view> | 22 | </view> |
23 | <view class='index_title'> | 23 | <view class='index_title'> |
24 | <view class='title init' animation="{{slide_up1}}">数据分析及可视化</view> | 24 | <view class='title init' animation="{{slide_up1}}">数据分析及可视化</view> |
25 | <view class='content contentInit' animation="{{slide_up2}}">大数据探索商业价值的无限可能</view> | 25 | <view class='content contentInit' animation="{{slide_up2}}">大数据探索商业价值的无限可能</view> |
26 | </view> | 26 | </view> |
27 | <view class='drop_img heart'> | 27 | <view class='drop_img heart'> |
28 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/drop.png'></image> | 28 | + <image src='{{baseImgUrl}}/drop.png'></image> |
29 | </view> | 29 | </view> |
30 | </swiper-item> | 30 | </swiper-item> |
31 | <!-- 第二屏 --> | 31 | <!-- 第二屏 --> |
@@ -60,27 +60,27 @@ | @@ -60,27 +60,27 @@ | ||
60 | </view> | 60 | </view> |
61 | <view class='case_content'> | 61 | <view class='case_content'> |
62 | <view class='case_list' data-html="政府案例" data-id='1' bindtap='goFun'> | 62 | <view class='case_list' data-html="政府案例" data-id='1' bindtap='goFun'> |
63 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/zhengfu.png'></image> | 63 | + <image src='{{baseImgUrl}}/zhengfu.png'></image> |
64 | <view class='case_list_text'>政府</view> | 64 | <view class='case_list_text'>政府</view> |
65 | </view> | 65 | </view> |
66 | <view class='case_list' data-html="地产案例" data-id='3' bindtap='goFun'> | 66 | <view class='case_list' data-html="地产案例" data-id='3' bindtap='goFun'> |
67 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/dichan.png'></image> | 67 | + <image src='{{baseImgUrl}}/dichan.png'></image> |
68 | <view class='case_list_text'>地产</view> | 68 | <view class='case_list_text'>地产</view> |
69 | </view> | 69 | </view> |
70 | <view class='case_list' data-html="制造案例" data-id='2' bindtap='goFun'> | 70 | <view class='case_list' data-html="制造案例" data-id='2' bindtap='goFun'> |
71 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/zhizao.png'></image> | 71 | + <image src='{{baseImgUrl}}/zhizao.png'></image> |
72 | <view class='case_list_text'>制造</view> | 72 | <view class='case_list_text'>制造</view> |
73 | </view> | 73 | </view> |
74 | <view class='case_list' data-html="教育案例" data-id='5' bindtap='goFun'> | 74 | <view class='case_list' data-html="教育案例" data-id='5' bindtap='goFun'> |
75 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/jiaoyu.png'></image> | 75 | + <image src='{{baseImgUrl}}/jiaoyu.png'></image> |
76 | <view class='case_list_text'>教育</view> | 76 | <view class='case_list_text'>教育</view> |
77 | </view> | 77 | </view> |
78 | <view class='case_list' data-html="物流案例" data-id='4' bindtap='goFun'> | 78 | <view class='case_list' data-html="物流案例" data-id='4' bindtap='goFun'> |
79 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/jinrong.png'></image> | 79 | + <image src='{{baseImgUrl}}/jinrong.png'></image> |
80 | <view class='case_list_text'>物流</view> | 80 | <view class='case_list_text'>物流</view> |
81 | </view> | 81 | </view> |
82 | <view class='case_list' data-html="零售案例" data-id='6' bindtap='goFun'> | 82 | <view class='case_list' data-html="零售案例" data-id='6' bindtap='goFun'> |
83 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/lingshou.png'></image> | 83 | + <image src='{{baseImgUrl}}/lingshou.png'></image> |
84 | <view class='case_list_text'>零售</view> | 84 | <view class='case_list_text'>零售</view> |
85 | </view> | 85 | </view> |
86 | </view> | 86 | </view> |
@@ -92,7 +92,7 @@ | @@ -92,7 +92,7 @@ | ||
92 | <!-- 客服 --> | 92 | <!-- 客服 --> |
93 | <view class='chat_peo'> | 93 | <view class='chat_peo'> |
94 | <button open-type="contact" class='contacButton'> | 94 | <button open-type="contact" class='contacButton'> |
95 | - <image src='http://pjq0ww1cj.bkt.clouddn.com/chat_peo.png'></image> | 95 | + <image src='{{baseImgUrl}}/chat_peo.png'></image> |
96 | </button> | 96 | </button> |
97 | </view> | 97 | </view> |
98 | 98 |
-
请 注册 或 登录 后发表评论