ssfg 4 роки тому
батько
коміт
3abba7b8ae

BIN
images/bg_main_new2.jpg


BIN
images/shenfenka.png


+ 2 - 2
pages/aboutUs/aboutUs.js

@@ -5,8 +5,8 @@ Page({
    * 页面的初始数据
    */
   data: {
-    phone: '000000000000',
-    email: '11111111'
+    phone: '010-0000000',
+    email: '000@163.com'
   },
 
   /**

+ 3 - 17
pages/aboutUs/aboutUs.wxml

@@ -16,25 +16,11 @@
 				<view style="float:right;margin-right:50rpx;" bindtap="call">{{email}}</view>
 			</view>
 			<view style="line-height:80rpx;width:600rpx;height:80rpx">
-				<view style="float:left;margin-left:50rpx">客服邮箱:</view>
-				<view style="float:right;margin-right:50rpx;" bindtap="call">{{email}}</view>
+				<view style="float:left;margin-left:50rpx">工作时间:</view>
+				<view style="float:right;margin-right:50rpx;" bindtap="call">8:30 - 17:00</view>
 			</view>
-			<!-- <view style="line-height:70rpx;width:600rpx">
-				<view style="float:left;margin-left:50rpx">客服时间:</view>
-				<view style="float:right;margin-right:50rpx;color:#407cf3" bindtap="call">8:00-17:00</view>
-			</view> -->
-			<!-- <view> 客服电话:<text bindtap="call">{{phone}}</text></view>
-			<view>客服邮箱:<text bindtap="call">{{email}}</text></view> -->
 		</view>
 	</view>
 	<view class="middle1"></view>
 	<view class="middle2"></view>
-</view>
-<!-- <image src='../../images/aboutus_top.png' class='top'></image>
-<view class="middle">
-<view class="whitebj">
-<view class="bb">版本号:1.0.0</view>
-<view class="js">吉顺致养介绍,吉顺致养介绍吉顺致养介绍吉顺致养介绍,吉顺致养介绍,吉顺致养介绍吉顺致养介绍吉顺致养介绍,吉顺致养介绍吉顺致养介</view>
-</view>
-</view>
-<image src='../../images/aboutus_bottom.png' class='bottom'></image> -->
+</view>

+ 33 - 31
pages/adviceSubmit/adviceSubmit.js

@@ -11,7 +11,7 @@ Page({
     // 获取输入框的内容
     var value = e.detail.value;
     this.setData({
-      value:e.detail.value
+      value: e.detail.value
     })
     // 获取输入框内容的长度
     var len = parseInt(value.length);
@@ -37,36 +37,38 @@ Page({
     // 当输入框内容的长度大于最大长度限制(max)时,终止setData()的执行
     console.log(this.data)
   },
-  submit(){
-    wx.request({
-      url: app.globalData.publicUrl + '/feedback/add',
-      method: "POST",
-      data: {
-        appletsId: wx.getStorageSync('openId'),
-        content:this.data.value
-      },
-      success: res => {
-        console.log(res,'我提交成功了')
-        this.setData({
-          value:''
-        })
-        // wx.showToast({
-        //   title: '感谢您的反馈,我们会认真处理问题尽快完善相关功能',
-        //   icon: 'success',
-        //   duration: 2000
-        // })
-        wx.showToast({
-          title: '感谢您的反馈,我们会认真处理问题并尽快完善相关功能!',
-          icon: 'none',
-          duration: 3000,
-        });
-        setTimeout(function(){
-          wx.switchTab({
-            url: '../../pages/personInfo/personInfo'
+  submit() {
+    if (this.data.value) {
+      wx.request({
+        url: app.globalData.publicUrl + '/feedback/add',
+        method: "POST",
+        data: {
+          appletsId: wx.getStorageSync('openId'),
+          content: this.data.value
+        },
+        success: res => {
+          console.log(res, '我提交成功了')
+          this.setData({
+            value: ''
+          })
+          wx.showToast({
+            title: '感谢您的反馈,我们会认真处理问题并尽快完善相关功能!',
+            icon: 'none',
+            duration: 3000,
           });
-        },3000)
-
-      }
-    });
+          setTimeout(function () {
+            wx.switchTab({
+              url: '../../pages/personInfo/personInfo'
+            });
+          }, 3000)
+        }
+      });
+    }else{
+      wx.showToast({
+        title: '反馈不能为空哦',
+        icon: 'none',
+        duration: 3000,
+      });
+    }
   },
 })

+ 1 - 1
pages/updatepassword/updatepassword.wxml

@@ -1,5 +1,5 @@
 <view>
-	<image src="/images/bg_main_new2.jpg" style="width: 100%; height: 380rpx;"> </image>
+	<image src="/images/bg_main_new.jpg" style="width: 100%; height: 380rpx;"> </image>
 	<view class="home">
 		账号 : {{info.loginName}}({{info.dept5.name}})
 	</view>