提交 7c59f575fcc9d10c17d7c2be150f7f4cbb2a8d2e

作者 wangyu
1 个父辈 b3b278ca

更新内存较大的本地切图为oss存储的网络图片地址

... ... @@ -144,9 +144,10 @@ App({
144 144 // baseUrl: "http://192.144.144.220:20000/",
145 145 // baseUrl: "http://154.8.229.55:20000/",
146 146 // baseUrl: "http://47.110.250.177:20000/",
147   - // baseUrl: "http://47.110.158.110:20000/",
148   - baseUrl: "https://api.workai.com.cn/",
  147 + baseUrl: "http://47.110.158.110:20000/",
  148 + // baseUrl: "https://api.workai.com.cn/",
149 149 OSSUrl: "", //"https://oss.workai.com.cn/",
  150 + OSSImgHeader:"https://hropublic.oss-cn-beijing.aliyuncs.com/weixin/",
150 151 userInfo: null,
151 152 hostInfo: null,
152 153 hasLogin: false,
... ...
... ... @@ -8,7 +8,7 @@ Page({
8 8 * 页面的初始数据
9 9 */
10 10 data: {
11   -
  11 + bg: getApp().globalData.OSSImgHeader + "bg.png"
12 12 },
13 13
14 14 /**
... ...
1 1 <!--pages/getPhone/getPhone.wxml-->
2 2 <!-- <button open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">获取用户手机号</button> -->
3 3 <view class='page'>
4   - <image src='/images/bg.png' class='back-img' mode="bottom aspectFill"></image>
  4 + <image src='{{bg}}' class='back-img' mode="bottom aspectFill"></image>
5 5 <view class='content-wrap'>
6 6 <image style="width:160rpx;height:36rpx;margin:0 60rpx" src="/images/login_tip.png"></image>
7 7 <view style="font-size:28rpx;font-family:PingFang-SC-Medium,PingFang-SC;color:#828699;margin:15rpx 60rpx 150rpx 60rpx">您需要登录后才能进行个人信息采集、专项附加扣除填报、查看个人工资条和扣税明细。</view>
... ...
... ... @@ -6,6 +6,7 @@ var baseUrl = app.globalData.baseUrl;
6 6
7 7 Page({
8 8 data: {
  9 + bg: getApp().globalData.OSSImgHeader + "bg.png",
9 10 mobile: '',
10 11 verifyCode: "",
11 12 tenant_id: "",
... ...
1 1 <!--pages/login/login.wxml-->
2 2 <view class="page">
3 3
4   - <image src='/images/bg.png' class='back-img' mode="bottom aspectFill"></image>
  4 + <image src='{{bg}}' class='back-img' mode="bottom aspectFill"></image>
5 5
6 6 <view class='data_wrap'>
7 7 <view style='margin-left:126rpx;margin-right:126rpx'>
... ...
... ... @@ -30,12 +30,12 @@ Page({
30 30 status: "support_duty",
31 31 sureid: false
32 32 },
33   - // {
34   - // message: '大病医疗',
35   - // disable_change: '',
36   - // status: "medical_fund",
37   - // sureid: false
38   - // },
  33 + {
  34 + message: '大病医疗',
  35 + disable_change: '',
  36 + status: "medical_fund",
  37 + sureid: false
  38 + },
39 39 {
40 40 message: '住房',
41 41 sureid: false,
... ...
... ... @@ -19,7 +19,7 @@
19 19 <text class="{{selectIndex[index].sureid?'select_blue_28':'select_666_28'}}" style='line-height:80rpx;margin-left: 34rpx;'>{{item.message}}</text>
20 20 </view>
21 21 </view>
22   - <view wx:if="{{selectIndex[selectIndex.length-1].sureid}}" style='background: #F1FAFD;height:62rpx;position: relative;display: flex;justify-content:center'>
  22 + <view wx:if="{{selectIndex[4].sureid}}" style='background: #F1FAFD;height:62rpx;position: relative;display: flex;justify-content:center'>
23 23 <view bindtap='housing01'>
24 24 <view class='float_left'>
25 25 <image class='single-img' src="{{flag_housing01? '/images/selected02.png' : '/images/unselected02.png'}}" style='margin-top:16rpx'></image>
... ...
... ... @@ -35,12 +35,14 @@ Page({
35 35 imgpath: '',
36 36 new_data: null,
37 37 modal_images: {
38   - "children_education": "/images/childedu_declare.png",
39   - "continuing_education": "/images/continueedu_declare.png",
40   - "support_duty": "/images/support_older_declare.png",
41   - "medical_fund": "/images/health_declare.png",
42   - // "house_fund": "/images/house_declare_loan.png"
  38 + "children_education": getApp().globalData.OSSImgHeader + "childedu_declare.png",
  39 + "continuing_education": getApp().globalData.OSSImgHeader +"continueedu_declare.png",
  40 + "support_duty": getApp().globalData.OSSImgHeader +"support_older_declare.png",
  41 + "medical_fund": getApp().globalData.OSSImgHeader +"health_declare.png",
43 42 },
  43 + house_fund_loan: getApp().globalData.OSSImgHeader + "house_declare_loan.png",
  44 + house_fund_rent: getApp().globalData.OSSImgHeader + "house_declare_rent.png",
  45 + openmodal_img: getApp().globalData.OSSImgHeader + "openmodal_img.png",
44 46 showModal_img: false,
45 47 showModal_reducetype: false,
46 48 showModal_addtype: false,
... ...
... ... @@ -3,7 +3,7 @@
3 3
4 4 <view style='width:100%;height:100%;'>
5 5 <view style='display:flex;flex-direction:column;margin-bottom:140rpx;'>
6   - <image class='openmodal_img' src="/images/openmodal_img.png" bindtap='showModalImg'></image>
  6 + <image class='openmodal_img' src="{{openmodal_img}}" bindtap='showModalImg'></image>
7 7
8 8 <view style='height:100rpx;padding:0 30rpx;background:#FFF' wx:if="{{cur_status=='children_education'||cur_status=='house_fund'}}">
9 9 <text style='font-size:30rpx;color:#333;line-height:100rpx;font-family: PingFangSC-Semibold;float:left'>扣除方式</text>
... ... @@ -396,8 +396,8 @@
396 396 <!-- 申报说明 -->
397 397 <view style='top:200rpx;position:absolute;z-index:10;width:325px;right:0;left:0;margin:auto' hidden="{{!showModal_img}}">
398 398 <image wx:if="{{cur_status!='house_fund'}}" class='modal_img' src="{{modal_images[cur_status]}}"></image>
399   - <image wx:if="{{cur_status=='house_fund'&&house_type=='house_fund_rent'}}" class='modal_img02' src="/images/house_declare_rent.png"></image>
400   - <image wx:if="{{cur_status=='house_fund'&&house_type=='house_fund_loan'}}" class='modal_img' src="/images/house_declare_loan.png"></image>
  399 + <image wx:if="{{cur_status=='house_fund'&&house_type=='house_fund_rent'}}" class='modal_img02' src="{{house_declare_rent}}"></image>
  400 + <image wx:if="{{cur_status=='house_fund'&&house_type=='house_fund_loan'}}" class='modal_img' src="{{house_declare_loan}}"></image>
401 401 <!-- <text style='position:absolute;font-size:20px;color:#fff;float:right;top:0;right:100rpx' bindtap='closeModalImg'>x</text> -->
402 402 <view style='width:80rpx;height:80rpx;position:absolute;float:right;top:0;right:0;display:flex;align-items:center;justify-content:center;' bindtap='closeModalImg'>
403 403 <image style='width:30rpx;height:30rpx;' src='/images/close.png'></image>
... ...
... ... @@ -6,6 +6,7 @@ var baseUrl = app.globalData.baseUrl;
6 6 Page({
7 7
8 8 data: {
  9 + payment_bg: getApp().globalData.OSSImgHeader + "payment_bg.png",
9 10 // tab切换
10 11 isshow: false,
11 12 currentTab: 0,
... ...
... ... @@ -58,7 +58,7 @@
58 58 </view>
59 59 </view>
60 60 <view style='margin:30rpx;positive:relative;width:92%;height:312rpx'>
61   - <image class=' payment_img_bg ' src='/images/payment_bg.png ' style='position:absolute;z-index: 1;'></image>
  61 + <image class=' payment_img_bg ' src='{{payment_bg}}' style='position:absolute;z-index: 1;'></image>
62 62 <view>
63 63 <view class='view_bg_wrap' style='margin-top: 44rpx;'>
64 64 <view style='flex-grow: 1;text-align:center;display: flex;flex-direction: column;'>
... ... @@ -140,7 +140,7 @@
140 140 </view>
141 141 </view>
142 142 <view style='margin:30rpx;positive:relative;width:92%;height:312rpx'>
143   - <image class=' payment_img_bg ' src='/images/payment_bg.png ' style='position:absolute;z-index: 1;'></image>
  143 + <image class=' payment_img_bg ' src='{{payment_bg}}' style='position:absolute;z-index: 1;'></image>
144 144 <view>
145 145 <view class='view_bg_wrap' style='margin-top: 44rpx;'>
146 146 <view style='flex-grow: 1;text-align:center;display: flex;flex-direction: column;'>
... ...
... ... @@ -10,6 +10,7 @@ Page({
10 10 * Page initial data
11 11 */
12 12 data: {
  13 + payment_bg: getApp().globalData.OSSImgHeader + "payment_bg.png",
13 14 choosed_date: '',
14 15 long_date: 0
15 16 },
... ...
... ... @@ -13,7 +13,7 @@
13 13 </picker>
14 14 <view class='divide_line_f5f5f5'></view>
15 15 <view style='margin: 30rpx;positive:relative;width:92%;height:454rpx'>
16   - <image class=' payment_img_bg ' src='/images/payment_bg.png ' style='position:absolute;z-index: 1;'></image>
  16 + <image class=' payment_img_bg ' src='{{payment_bg}}' style='position:absolute;z-index: 1;'></image>
17 17 <view>
18 18 <view class='view_bg_wrap' style='margin-top: 48rpx;'>
19 19 <view style='flex: 1;text-align:center;display: flex;flex-direction: column;'>
... ...
... ... @@ -7,9 +7,11 @@ Page({
7 7 * 页面的初始数据
8 8 */
9 9 data: {
  10 + verify_dialog: getApp().globalData.OSSImgHeader + "verify_dialog.png",
10 11 isshow: false,
11 12 onresume: false,
12   - has_verify: true
  13 + has_verify: true,
  14 + guide_bg: getApp().globalData.OSSImgHeader+"guide_bg.png"
13 15 },
14 16
15 17 /**
... ...
... ... @@ -4,7 +4,7 @@
4 4 <scroll-view>
5 5 <view class="bg_wrap">
6 6
7   - <image class='bgimg' src='/images/guide_bg.png'></image>
  7 + <image class='bgimg' src='{{guide_bg}}'></image>
8 8
9 9 <view class='card_rectangle_bg_row' style='margin-top:310rpx;padding:30rpx' bindtap='gotaxPerson'>
10 10 <image class="icon_wrap" src="/images/tax_person.png"></image>
... ... @@ -67,7 +67,7 @@
67 67 <view class="mask" wx:if="{{!has_verify&&onresume}}"></view>
68 68
69 69 <view style='top:180rpx;position:absolute;z-index:10;right:0;left:0;margin:auto;text-align:center;' wx:if="{{!has_verify&&onresume}}">
70   - <image style='height:860rpx' src='/images/verify_dialog.png'>
  70 + <image style='height:860rpx' src='{{verify_dialog}}'>
71 71 </image>
72 72 <view style='position:absolute;top:660rpx;right:0;left:0;display:flex;flex-direction:column'>
73 73 <view class='btn_blue_radius' bindtap="go_verify_idcard">
... ...
注册登录 后发表评论