Your Name 5 years ago
parent
commit
295f371610

+ 3 - 6
app.json

@@ -1,12 +1,11 @@
1 1
 {
2 2
   "pages": [
3
-        "pages/personal_core/Realname/Realname",
3
+        "pages/payment/Member/Member",
4 4
         "pages/index/index",
5 5
   "pages/Jurisdiction/click_Jurisdiction/click_Jurisdiction",
6 6
 "pages/personal_core/vehicle/vehicle",
7 7
   "pages/information/chat/chat",
8 8
  "pages/personal_core/remind/remind",
9
- 
10 9
   "pages/Setup/modify/modify",
11 10
   "pages/Landpage/Land/Land",
12 11
   "pages/zheo_More/zheo_More",
@@ -18,7 +17,7 @@
18 17
   "pages/Setup/Aboutus/Aboutus",
19 18
    "pages/Setup/security/security",
20 19
    "pages/Setup/Setuplist/Setuplist",
21
-    "pages/payment/Member/Member",
20
+
22 21
     "pages/personal_core/Album/Album",
23 22
      "pages/personal_core/requirements/requirements",
24 23
     "pages/personal_core/personaldataModifythe/personaldataModifythe",
@@ -26,11 +25,9 @@
26 25
     "pages/personal_core/home/home",
27 26
     "pages/personal_core/Realestate/Realestate",
28 27
     "pages/personal_core/Adegreein/Adegreein",
29
-
30
-
28
+    "pages/personal_core/Realname/Realname",
31 29
     "pages/personal_core/home_list/home_list",
32 30
     "pages/index_details/index_details",
33
-
34 31
     "pages/index_screen/index_screen",
35 32
     "pages/Landpage/Retrievepassword/Retrievepassword",
36 33
     "pages/register/fillTel/fillTel",

BIN
image/m.zhif.png


+ 3 - 3
pages/chat-list/chat-list.js

@@ -151,9 +151,9 @@ Page({
151 151
               dataArr[index].create_at = data.data.create_at;
152 152
             }
153 153
 
154
-            if(dataArr[index].type == 2){
155
-              dataArr[index].content = '[图片]'
156
-            }
154
+            // if(dataArr[index].type == 2){
155
+            //   dataArr[index].content = '[图片]'
156
+            // }
157 157
          } 
158 158
      
159 159
         //新增一列

+ 96 - 45
pages/payment/Member/Member.js

@@ -5,14 +5,11 @@ Page({
5 5
 
6 6
   data: {
7 7
     OccupationArray: [], // 职业-数据
8
-    Occupationindex: 0,  // 职业-下标
9 8
 
10
-    Price:'',   //价格
11
-    Originalprice:'',   //价格
12
-    day:'', //  天
9
+    Price: '',   //价格
10
+    Originalprice: '',   //价格
11
+    day: '', //  天
13 12
     Priceid: '', //  价格ID
14
-    
15
-    
16 13
   },
17 14
 
18 15
   onLoad: function (options) {
@@ -24,62 +21,114 @@ Page({
24 21
       pid: '0'
25 22
     };
26 23
     app.postRequest(Occupation_url, Occupation_data, function (res) {      //  职业 ajax
27
-      if (res.code == 201) {
28
-        
29
-          //  计算日均价  四舍五入
30
-        var averageprice = Number(res.data[0].discount_peice / res.data[0].day);
31
-        averageprice = averageprice.toFixed(2);   //取小数点后两位
32
-        // console.log(averageprice)
33
-
34
-        that.setData({
35
-          OccupationArray: res.data,
36
-          Price: res.data[0].total_price,  //原价
37
-          Originalprice: res.data[0].discount_peice,  //优惠价格
38
-          Priceid: res.data[0].id,  //价格ID  
39
-          day: averageprice,    //  日均价
40
-        })
41
-      }
24
+              if (res.code == 201) {
25
+                          
26
+                          var arrData = res.data;
27
+                          // console.log(res.data)
28
+                          var averageprice ='';
29
+
30
+                          for ( var i in res.data){
31
+
32
+                            if (arrData[i].day && arrData[i].day  != 0) {
33
+                          
34
+                            //  计算日均价  四舍五入
35
+                              averageprice = Number(arrData[i].total_price / arrData[i].day);    
36
+                              averageprice = averageprice.toFixed(2);   //取小数点后两位
37
+                              arrData[i].average_price = averageprice;
38
+
39
+                              // console.log(averageprice);
40
+
41
+                              }
42
+
43
+                          }
44
+
45
+                          that.setData({
46
+                            OccupationArray: arrData,
47
+                          })
48
+              }
42 49
     
43 50
     })
44 51
 
45 52
   },
46 53
 
47
-  OccupationEvent: function (e) {   //  职业    单项选择器
54
+  // OccupationEvent: function (e) {   //  职业    单项选择器
48 55
   
49
-    var _discount_peice =  this.data.OccupationArray[e.detail.value].discount_peice   //优惠价格
50
-    var _day = this.data.OccupationArray[e.detail.value].day   //天
56
+  //   var _discount_peice =  this.data.OccupationArray[e.detail.value].discount_peice   //优惠价格
57
+  //   var _day = this.data.OccupationArray[e.detail.value].day   //天
58
+
59
+  //   //  计算日均价  四舍五入
60
+  //   var _averageprice = Number(_discount_peice / _day);
61
+  //   _averageprice = _averageprice.toFixed(2);   //取小数点后两位
62
+
63
+  //   // console.log(this.data.OccupationArray[e.detail.value].id);
64
+  //   // console.log('picker发送选择改变,携带值为', e.detail.value)
65
+  //   this.setData({
66
+  //     Priceid:this.data.OccupationArray[e.detail.value].id, //价格ID
67
+  //     Price:this.data.OccupationArray[e.detail.value].total_price,  //原价
68
+  //     Originalprice: this.data.OccupationArray[e.detail.value].discount_peice,  //优惠价格
69
+  //     Occupationindex: e.detail.value,
70
+  //     day: _averageprice,
71
+  //   })
72
+
73
+  // },
74
+
75
+
76
+  // sfzfmclick(e) {
77
+
78
+
79
+  // },
80
+
81
+
51 82
 
52
-    //  计算日均价  四舍五入
53
-    var _averageprice = Number(_discount_peice / _day);
54
-    _averageprice = _averageprice.toFixed(2);   //取小数点后两位
55 83
 
56
-    // console.log(this.data.OccupationArray[e.detail.value].id);
57
-    // console.log('picker发送选择改变,携带值为', e.detail.value)
84
+  // 勾选
85
+  checkboxChange: function (e) {
86
+    console.log(e.detail.value)
87
+    var that =this;
88
+
89
+   var Price= ''  //价格
90
+   var  Originalprice=''   //原价
91
+   var  day='' //  天
92
+
93
+
94
+
95
+
96
+    var dataid = e.detail.value;
97
+    var data = that.data.OccupationArray;
98
+    // console.log(data)
99
+
100
+    for (let i = 0; i < data.length; i++) {    //已选中的数据处理
101
+      if (data[i].id == dataid) {
102
+        Price = data[i].discount_peice
103
+        Originalprice = data[i].total_price
104
+        day  =  data[i].time
105
+
106
+      }
107
+    }
108
+
58 109
     this.setData({
59
-      Priceid:this.data.OccupationArray[e.detail.value].id, //价格ID
60
-      Price:this.data.OccupationArray[e.detail.value].total_price,  //原价
61
-      Originalprice: this.data.OccupationArray[e.detail.value].discount_peice,  //优惠价格
62
-      Occupationindex: e.detail.value,
63
-      day: _averageprice,
110
+      Priceid: dataid, //价格ID
111
+      Price: Price,  //原价
112
+      Originalprice: Originalprice,  //优惠价格
113
+      day: day,
64 114
     })
115
+    
116
+    console.log(day);
117
+    console.log(Originalprice);
118
+    console.log(Price);
65 119
 
120
+    console.log('checkbox发生change事件,携带value值为:', e.detail.value);
66 121
   },
67 122
 
68 123
 
69
-  sfzfmclick(e) {
70 124
 
71
-
72
-  },
73 125
   pay: function () {
74 126
     let _that = this;
75 127
     wx.login({
76 128
       success: function (res) {
77 129
         console.log(res.code)
78 130
         if (res.code) {
79
-          // let p_url = 'public/wxlogin';
80
-          // let p_data = {
81
-          //   code: res.code,
82
-          // };
131
+
83 132
           var _Priceid = _that.data.Priceid
84 133
           let payment_url = 'pay/wxpay/index';
85 134
           let payment_data = {
@@ -88,7 +137,7 @@ Page({
88 137
             discount_peice: _that.data.Originalprice,  //优惠
89 138
             code: res.code
90 139
           };
91
-          app.postRequest(payment_url, payment_data, function (res) { 
140
+          app.postRequest(payment_url, payment_data, function (res) {
92 141
 
93 142
             console.log(res.data)
94 143
             if (res.code == 201) {
@@ -108,12 +157,12 @@ Page({
108 157
                   })
109 158
                 },
110 159
                 fail(res) {
111
-                    getApp().Tips('支付失败');
160
+                  getApp().Tips('支付失败');
112 161
                 }
113 162
               })
114 163
               return
115 164
             }
116
-              getApp().Tips('支付失败');
165
+            getApp().Tips('支付失败');
117 166
           })
118 167
 
119 168
           // app.postRequest(p_url, p_data, function (res) {
@@ -126,7 +175,9 @@ Page({
126 175
         }
127 176
       }
128 177
     })
129
-  }
178
+  },
130 179
 
131 180
 
181
+
182
+  
132 183
 })

+ 49 - 3
pages/payment/Member/Member.wxml

@@ -1,4 +1,4 @@
1
-<view class="Member_title">
1
+<!-- <view class="Member_title">
2 2
      <image src='/image/Member1.png' mode="widthFix"></image>
3 3
      <text>开通会员</text>
4 4
 </view>
@@ -30,9 +30,55 @@
30 30
     </view>
31 31
 
32 32
 
33
-    <!-- <view></view> -->
34
-    <!-- sfzfmclick -->
33
+
35 34
       <view class='NextStep' bindtap='pay'>立即开通</view>
36 35
 </view>
37 36
 
37
+ -->
38
+
39
+<view class='Tips'>未开通</view> 
40
+
41
+<view class='m_head_img'><image src="/image/m.zhif.png" mode="aspectFill"></image></view>
42
+
43
+<view class='Payment_List_box'>
44
+         <view class='Payment_List'>
45
+                     <radio-group bindchange="checkboxChange">  <!-- 勾选组件 -->
46
+                               
47
+                                <block wx:for='{{OccupationArray}}' wx:key="item">
48
+                                          <view  class="Payment c">
49
+                                                    <label class="radio">  
50
+                                                    
51
+                                                                <view class='Payment_l'>
52
+                                                                      <text class='Payment_l_yf'>{{item.time}}</text>
53
+                                                                      <text class='Payment_l_rj'  wx:if="{{item.average_price}}">日均{{item.average_price}}元</text>
54
+                                                                </view>
55
+
56
+                                                                <view class='Payment_r'>
57
+                                                                        <text>{{item.total_price}}</text>
58
+                                                                        <radio value="{{item.id}}" data-id="{{item.total_price}}" color=''/>     <!-- 勾选 -->
59
+                                                                </view>
60
+
61
+                                                      </label>
62
+                                          </view>
63
+                                </block>
64
+
65
+                      </radio-group>
66
+                      
67
+                      <view class='confirm' bindtap='pay'>确认购买</view>
68
+                      <view style='height:40rpx'></view>
69
+         </view>
70
+</view>
71
+
72
+
73
+
74
+<view class='Payment_List_box'>
75
+         <view class='Payment_List'>
76
+                        <view  class="Paymentwz_text">
77
+
78
+                                <view class='Payment_title'>特权说明</view>
79
+
80
+                                <view class='Payment_text'>1.解锁消息发送</view>
38 81
 
82
+                        </view>
83
+         </view>
84
+</view>

+ 60 - 2
pages/payment/Member/Member.wxss

@@ -1,4 +1,4 @@
1
-
1
+/* 
2 2
 .Member_title{border-bottom:1px solid #ECECEC;padding:20rpx 30rpx;}
3 3
 .Member_title image{width:44rpx;display:block;margin:auto;height:0;}
4 4
 .Member_title text{display:block;font-size:28rpx;color:#292828;font-weight: 600;text-align:center;margin-top:8rpx;}
@@ -22,4 +22,62 @@
22 22
 .Member_money .m_text .m_text_pj{font-size:24rpx;color:#A7A6A6;margin-right:20rpx;float:right;position:relative;top:16rpx;}
23 23
 
24 24
 
25
-.NextStep{text-align:center;font-size:34rpx;color:#FFF;background: linear-gradient(to right, #FF9BCA , #FF79B8);height:100rpx;margin-top:70rpx;line-height:100rpx;border-radius:10rpx;}
25
+.NextStep{text-align:center;font-size:34rpx;color:#FFF;background: linear-gradient(to right, #FF9BCA , #FF79B8);height:100rpx;margin-top:70rpx;line-height:100rpx;border-radius:10rpx;} */
26
+
27
+page{background:#F4F5F7;}
28
+
29
+.Tips{background:#FED7A0;text-align:center;font-size:24rpx;color:#DDA666;padding:10rpx 0;}
30
+
31
+.m_head_img{width:100%;height:242rpx;}
32
+.m_head_img image{width:100%;height:100%;}
33
+
34
+.Payment_List_box{padding:20rpx;}
35
+.Payment_List{background:#FFF;border-radius:10rpx;padding:0 30rpx;}
36
+.Payment{border-bottom:1px solid #F4F4F4;padding:40rpx 0;}
37
+.Payment_List .Payment:last-child{border-bottom:0;}
38
+
39
+.Payment_l{float:left;}
40
+.Payment_l_yf{font-size:36rpx;color:#333;}
41
+.Payment_l_rj{font-size:24rpx;color:#999;margin-left:20rpx;}
42
+
43
+.Payment_r{float:right;}
44
+.Payment_r text{font-size:38rpx;color:#333;margin-right:10rpx;}
45
+
46
+radio{position:relative;top:-3rpx;}
47
+
48
+radio .wx-radio-input{
49
+   border-radius: 50%;/* 圆角 */
50
+   width: 40rpx; /* 背景的宽 */
51
+   height: 40rpx; /* 背景的高 */
52
+}
53
+
54
+/* 选中后的 背景样式 (红色背景 无边框 可根据UI需求自己修改) */
55
+
56
+
57
+radio .wx-radio-input.wx-radio-input-checked{
58
+   border: 1px solid #FF79B8; 
59
+   background: #FF79B8;
60
+
61
+}
62
+/* 选中后的 对勾样式 (白色对勾 可根据UI需求自己修改) */
63
+
64
+radio .wx-radio-input.wx-radio-input-checked::before{
65
+border-radius: 50%;/* 圆角 */
66
+   width: 40rpx; /* 选中后对勾大小,不要超过背景的尺寸 */
67
+   height: 40rpx; /* 选中后对勾大小,不要超过背景的尺寸 */
68
+   line-height: 40rpx;
69
+   text-align: center;
70
+   font-size:28rpx; /* 对勾大小 30rpx */
71
+   color:#fff; /* 对勾颜色 白色 */
72
+   background: transparent;
73
+   transform:translate(-50%, -50%) scale(1);
74
+   -webkit-transform:translate(-50%, -50%) scale(1);
75
+}
76
+
77
+.confirm{border:1px solid;background:linear-gradient(to right, #FF9BCA , #FF79B8);text-align:center;height:80rpx;line-height:80rpx;font-size:30rpx;color:#FFF;border-radius:10rpx;}
78
+
79
+.Paymentwz_text{border-bottom:1px solid #F4F4F4;padding:20rpx 0;}
80
+.Payment_title{border-bottom:1px solid #F4F4F4;font-size:30rpx;color:#333;padding-bottom:20rpx;}
81
+
82
+.Payment_title:before {content:"";display:block;position:relative;top:6rpx;left:0;width:6rpx;height:30rpx;background:#FF79B8;float:left;margin-right:10rpx;} 
83
+.Payment_text{font-size:28rpx;color:#999;margin-top:20rpx;}

+ 1 - 1
pages/personal_core/Album/Album.wxml

@@ -19,7 +19,7 @@
19 19
                 <block wx:for='{{initial}}' wx:key="id">  
20 20
                             <view class='Album' wx:if='{{initialcode == 201}}'>
21 21
                                     <image mode="aspectFill" class='Album_img' src='{{item.img}}'  bindtap='m_showActionSheet'  wx:for-index="id"  data-id="{{item.id}}" data-src='{{item.img}}'></image>
22
-                                    <view class='img_text'>{{item.status_str}}</view>
22
+                                    <view class='img_text'  wx:if="{{item.status != 3}}">{{item.status_str}}</view>
23 23
                             </view>
24 24
                  </block>
25 25
 

+ 61 - 83
pages/personal_core/personaldata/personaldata.js

@@ -16,16 +16,8 @@ Page({
16 16
     headurl: [],    //个人头像
17 17
 
18 18
 
19
-    photo: '',      //头像
20
-    // 上传的案例图片集合
21
-    uploadImages: [],
22
-    // 设置上传案例图片的最大数目
23
-    maxImages: 1,
24
-    // 案例图片数目是否达到了最大数目
25
-    isMaxImagesNum: false,
26
-    uploadimg: true,
27
-    
28 19
 
20
+ 
29 21
   },
30 22
 
31 23
 
@@ -135,115 +127,101 @@ Page({
135 127
 
136 128
   },
137 129
 
138
-  // enlarge:function(e){
139
-  //   var that = this;
140
-  
141
-  //   wx.previewImage({
142
-  //     urls: that.data.uploadImages,
143
-  //     current: e.currentTarget.dataset.src
144
-  //   })
145 130
 
146
-  // }
147 131
 
148 132
 
149 133
 
150 134
   // 上传图片
151 135
   chooseImageTap: function (e) {
152 136
     var _this = this;
153
-    wx.chooseImage({
154
-      count: 1,
155
-      sizeType: ['original', 'compressed'],
156
-      sourceType: ['album', 'camera'],
157
-      success(res) {
158
-
159
-
160
-        let tempFilesSize = res.tempFiles[0].size;
161
-
162
-        if (tempFilesSize > 1024 * 1024 * 3) {
163 137
 
164
-          wx.showModal({
165
-            title: '提示',
166
-            content: '图片不得超过3MB',
167
-            showCancel: false,
168
-          })
138
+    wx.showActionSheet({
139
+      itemList: ['预览图片', '上传头像'],
140
+      success(res) {
141
+        // console.log(res.tapIndex)
169 142
 
170
-          return;
171
-        }
143
+                if (res.tapIndex == 0) {       //预览所选图片
172 144
 
173
-        var Headportrait = res.tempFilePaths[0];
174
-        console.log(res.tempFilePaths[0]);
145
+                  // console.log(that.data.uploadImages);
146
+                  // console.log(e.currentTarget.dataset.src);
147
+              
148
+                  wx.previewImage({
149
+                    urls: [e.currentTarget.dataset.src],
150
+                    current: e.currentTarget.dataset.src
151
+                  })
175 152
 
153
+                }
176 154
 
177
-        wx.showModal({
178
-          title: '形象照',
179
-          content: '您确认上传此图片为形象照吗?',
180
-          success(res) {
181
-            if (res.confirm) {
182
-                        // console.log('用户点击确定')
183
-     
184
-                        // tempFilePath可以作为img标签的src属性显示图片
185
-                        _this.setData({
186
-                          uploadImages: Headportrait,
187
-                          isMaxImagesNum: true,
188
-                          uploadimg: false,
189
-                          photo: Headportrait,
190
-                        });
155
+                if (res.tapIndex == 1) {
156
+          
157
+                          wx.chooseImage({
158
+                                    count: 1,
159
+                                    sizeType: ['original', 'compressed'],
160
+                                    sourceType: ['album', 'camera'],
161
+                                    success(res) {
191 162
 
192
-                        //上传图片
193
-                        wx.uploadFile({
194
-                          url: app.globalData.url + 'my/images/headimg',
195
-                          filePath: Headportrait,
196
-                          name: 'photo',
197
-                          formData: {
198
-                            key: wx.getStorageSync('access_key'),
199
-                            token: wx.getStorageSync('access_token')
200
-                          },
201
-                          success: function (res) {
163
+                                              let tempFilesSize = res.tempFiles[0].size;
202 164
 
203
-                            var data = JSON.parse(res.data);
204
-                            console.log(data);
205
-                            if (data.code == 201) {
165
+                                              if (tempFilesSize > 1024 * 1024 * 3) {
206 166
 
207
-                              var _qrcode = '上传成功'
208
-                              getApp().Tips(_qrcode);
167
+                                                wx.showModal({
168
+                                                  title: '提示',
169
+                                                  content: '图片不得超过3MB',
170
+                                                  showCancel: false,
171
+                                                })
209 172
 
173
+                                                return;
174
+                                              }
210 175
 
211
-                              _this.onShow();
176
+                                              var Headportrait = res.tempFilePaths[0];
177
+                                              // console.log(res.tempFilePaths[0]);
212 178
 
213
-                              return;
179
+                                              //上传图片
180
+                                              wx.uploadFile({
181
+                                                url: app.globalData.url + 'my/images/headimg',
182
+                                                filePath: Headportrait,
183
+                                                name: 'photo',
184
+                                                formData: {
185
+                                                  key: wx.getStorageSync('access_key'),
186
+                                                  token: wx.getStorageSync('access_token')
187
+                                                },
188
+                                                success: function (res) {
214 189
 
215
-                            }
216
-                          
217
-                            var _qrcode2 = data.msg;
218
-                            getApp().Tips(_qrcode2);
219
-                  
190
+                                                  var data = JSON.parse(res.data);
191
+                                                  console.log(data);
192
+                                                  if (data.code == 201) {
220 193
 
221
-                          }, fail: function (d) {
194
+                                                    var _qrcode = '上传成功'
195
+                                                    getApp().Tips(_qrcode);
222 196
 
223
-                          }
224
-                        })
225 197
 
226
-           
227
-            } else if (res.cancel) {
198
+                                                    _this.onShow();
228 199
 
229
-              console.log('用户点击取消')
230
-            }
200
+                                                    return;
231 201
 
232
-          }
233
-        })
202
+                                                  }
234 203
 
204
+                                                  var _qrcode2 = data.msg;
205
+                                                  getApp().Tips(_qrcode2);
235 206
 
236 207
 
208
+                                                }, fail: function (d) {
237 209
 
210
+                                                }
211
+                                              })
238 212
 
213
+                                    }
214
+                          })
239 215
 
216
+                }
240 217
 
218
+      },
219
+      fail(res) {
220
+        console.log(res.errMsg)
241 221
       }
242 222
     })
243 223
 
244
-
245 224
   },
246 225
 
247
-
248 226
   
249 227
 })

+ 8 - 6
pages/personal_core/personaldata/personaldata.wxml

@@ -10,10 +10,12 @@
10 10
                 </block>  
11 11
           </swiper> -->
12 12
 
13
-      <view class='Headportrait'  bindtap='chooseImageTap' wx:if='{{headurl.status ==2}}'>
13
+
14
+
15
+      <!-- <view class='Headportrait'  bindtap='chooseImageTap' wx:if='{{headurl.status ==2}}'>
14 16
                 <image  mode="aspectFill"  src='{{headurl.img}}' hidden='{{isMaxImagesNum}}'></image>
15 17
 
16
-                <!-- <text>{{headurl.status_str}}</text> -->
18
+           
17 19
                 <view class='Headportrait_text_box' hidden='{{isMaxImagesNum}}'>
18 20
                       <view class='Headportrait_text'>
19 21
                               <image mode="widthFix" src='/image/tx.png'></image>
@@ -25,15 +27,15 @@
25 27
                         <image mode="aspectFill" src='{{uploadImages}}'></image>
26 28
                 </view>
27 29
 
28
-      </view>
30
+      </view> -->
29 31
 
30
-      <view class='Headportrait'  wx:else>
32
+      <view class='Headportrait'  data-src='{{headurl.img}}'  bindtap='chooseImageTap'>
31 33
                 <image  mode="aspectFill"  src='{{headurl.img}}'></image>
32 34
 
33
-                <view class='Headportrait_text_box' wx:if='{{headurl.status ==1}}'>
35
+                <view class='Headportrait_text_box'  wx:if='{{headurl.status !=3}}'>
34 36
                         <view class='Headportrait_text'>
35 37
                                 <image mode="widthFix" src='/image/tx.png'></image>
36
-                                <text>形象照审核中...</text>
38
+                                <text>{{headurl.status_str}}</text>
37 39
                         </view>
38 40
                 </view>
39 41
       </view>

+ 1 - 1
pages/personal_core/personaldata/personaldata.wxss

@@ -4,7 +4,7 @@
4 4
 
5 5
 .Headportrait{width:100%;height:100%;position:relative;}
6 6
 .Headportrait image{width:100%;height:100%;}
7
-.Headportrait_text_box{width:100%;height:100%;background:rgba(0, 0, 0, 0.5);position:absolute;top:0;left:0;}
7
+.Headportrait_text_box{width:100%;height:100%;background:rgba(0, 0, 0, 0.3);position:absolute;top:0;left:0;}
8 8
 .Headportrait_text{position:absolute;top:50%;left:0;width:100%;text-align:center;margin-top:-25rpx;}
9 9
 .Headportrait_text image{width:30rpx;height:0;position:relative;top:7rpx;}
10 10
 .Headportrait_text text{font-size:25rpx;color:#FFF;margin-left:10rpx;}