diff --git a/apis/interfaces/user.js b/apis/interfaces/user.js
index 57035ed..600bd17 100644
--- a/apis/interfaces/user.js
+++ b/apis/interfaces/user.js
@@ -25,6 +25,13 @@ const EditCover = data => req({url: "user/info/cover",method: "PUT",data: data})
const EditNickname = data => req({url: "user/info/nickname",method: "PUT",data: data}) //变更用户昵称
const EditSex= data => req({url: "user/info/sex",method: "PUT",data: data}) //变更用户性别
+// 企业介绍
+const getQHKIntroduce = () => req({url: "single/qhk_introduce"})
+
+// 意见建议
+const suggests = data => req({url: "suggests",method: "post",data: data})
+
+
export default({
userInfo,//用户基本信息
companySubscribesList,//关注企业列表
@@ -33,4 +40,6 @@ export default({
getUserInfo,//获取用户消息
EditNickname,//更改用戶名稱
EditSex,//变更用户性别
+ getQHKIntroduce,//获取行业介绍信息
+ suggests,//意见建议
})
diff --git a/pages/user/index.wxss b/pages/user/index.wxss
index 6b4abe8..1b1349e 100644
--- a/pages/user/index.wxss
+++ b/pages/user/index.wxss
@@ -248,4 +248,8 @@ page {
height: 32rpx;
line-height: 32rpx;
text-align: center;
+}
+
+image {
+ height: auto;
}
\ No newline at end of file
diff --git a/pages/user/setting/aboutAdvice/aboutAdvice.js b/pages/user/setting/aboutAdvice/aboutAdvice.js
index ecc1f96..61219d2 100644
--- a/pages/user/setting/aboutAdvice/aboutAdvice.js
+++ b/pages/user/setting/aboutAdvice/aboutAdvice.js
@@ -1,8 +1,33 @@
Page({
- data: {},
- besure(){
- wx.navigateBack({
- delta: 0,
+ data: {
+ content: '',
+ },
+ input(e) {
+ this.setData({
+ content: e.detail.value
})
+ },
+ besure() {
+ if (this.data.content) {
+ wx.$api.user.suggests({
+ content: this.data.content
+ }).then(res => {
+ wx.showToast({
+ title: '操作成功,等待客服联系',
+ icon: 'none',
+ duration: 1000,
+ success: res => {
+ wx.navigateBack({
+ delta: 0,
+ })
+ }
+ })
+ })
+ } else {
+ wx.showToast({
+ title: '信息不能为空哦~',
+ icon: 'none'
+ })
+ }
}
})
\ No newline at end of file
diff --git a/pages/user/setting/aboutAdvice/aboutAdvice.wxml b/pages/user/setting/aboutAdvice/aboutAdvice.wxml
index e0104b5..aa861ba 100644
--- a/pages/user/setting/aboutAdvice/aboutAdvice.wxml
+++ b/pages/user/setting/aboutAdvice/aboutAdvice.wxml
@@ -1,4 +1,4 @@
-
+
确认提交
\ No newline at end of file
diff --git a/pages/user/setting/aboutUs/aboutUs.js b/pages/user/setting/aboutUs/aboutUs.js
index 1247b29..b88cff4 100644
--- a/pages/user/setting/aboutUs/aboutUs.js
+++ b/pages/user/setting/aboutUs/aboutUs.js
@@ -3,5 +3,15 @@ Page({
nodes: {
}
+ },
+ onLoad() {
+ wx.$api.user.getQHKIntroduce().then(res => {
+ if (res.content) {
+ var nodes = res.content.replace('
-
-
- 电子科技有限公司是一家集产品研发,生产及销售的大型高科技电子企业,是全球专业的液晶广告机,液晶电视及液晶拼接墙制造商,从创立伊始,历经多年的稳健发展,以推动国内液晶广告机的普及化为己任,以提升人类视听享受为目标,公司旗下品牌博视(TBOSV)已经成为全球普遍赞誉的知名品牌。上海域展电子科技有限公司成立于2006年。我们凭借着"以品质为根本、以创新求发展"的理念;力争以优质的全方位服务为客户提供具有竞争力价...
- 电子科技有限公司是一家集产品研发,生产及销售的大型高科技电子企业,是全球专业的液晶广告机,液晶电视及液晶拼接墙制造商,从创立伊始,历经多年的稳健发展,以推动国内液晶广告机的普及化为己任,以提升人类视听享受为目标,公司旗下品牌博视(TBOSV)已经成为全球普遍赞誉的知名品牌。上海域展电子科技有限公司成立于2006年。我们凭借着"以品质为根本、以创新求发展"的理念;力争以优质的全方位服务为客户提供具有竞争力价...
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/pages/user/setting/aboutUs/aboutUs.wxss b/pages/user/setting/aboutUs/aboutUs.wxss
index b664d44..12da733 100644
--- a/pages/user/setting/aboutUs/aboutUs.wxss
+++ b/pages/user/setting/aboutUs/aboutUs.wxss
@@ -1,17 +1,4 @@
-.item {
- display: flex;
- flex-direction: row;
- justify-content: flex-start;
- align-items: center;
+page {
+ padding: 30rpx;
box-sizing: border-box;
- padding: 30rpx 30rpx;
- color: #333;
- font-weight: 400;
- background-color: #fff;
- border-top: #f7f7f7 solid 1rpx;
-}
-
-.item image {
- width: 50rpx;
- margin-right: 10rpx;
}
\ No newline at end of file
diff --git a/pages/user/setting/setting.wxss b/pages/user/setting/setting.wxss
index b664d44..0e14809 100644
--- a/pages/user/setting/setting.wxss
+++ b/pages/user/setting/setting.wxss
@@ -14,4 +14,8 @@
.item image {
width: 50rpx;
margin-right: 10rpx;
+}
+
+image {
+ height: auto;
}
\ No newline at end of file