Browse Source

11_20 个人中心-更多功能控件更换

1027077952@qq.com 7 months ago
parent
commit
12e43ce853

+ 60 - 2
pages/my/index.vue

@@ -573,7 +573,65 @@
 						<view class="utils-box flex justify-center">
 							<view class="utils-box-c">
 								<view class="util-list">
-									<view v-if="XCXIsSelect != '否'" class="util-item"
+									<view class="util-item"
+										@click="goNav('/pages/my/ruleCenter')">
+										<image src="../../static/images/my/icon/utils/rulerCenter.png"
+											style="width: 54rpx; height: 54rpx" mode=""></image>
+										<view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
+											规则中心
+										</view>
+									</view>
+									<view class="util-item"
+										@click="goNav('/pages/my/VIP/benefits')">
+										<image src="../../static/images/my/icon/utils/benefits.png"
+											style="width: 54rpx; height: 54rpx" mode=""></image>
+										<view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
+											我的权益
+										</view>
+									</view>
+									<view class="util-item">
+										<image src="../../static/images/my/icon/utils/wallet.png"
+											style="width: 54rpx; height: 54rpx" mode=""></image>
+										<view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
+											钱包
+										</view>
+									</view>
+									<view class="util-item">
+										<image src="../../static/images/my/icon/utils/invoice.png"
+											style="width: 54rpx; height: 54rpx" mode=""></image>
+										<view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
+											发票
+										</view>
+									</view>
+									<view class="util-item">
+										<image src="../../static/images/my/icon/utils/user.png"
+											style="width: 54rpx; height: 54rpx" mode=""></image>
+										<view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
+											个人主页
+										</view>
+									</view>
+									<view class="util-item" @click="goNav('/pages/my/myCompany')">
+										<image src="../../static/images/my/icon/utils/company.png"
+											style="width: 54rpx; height: 54rpx" mode=""></image>
+										<view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
+											企业管理
+										</view>
+									</view>
+									<view class="util-item" @click="goChat">
+										<image src="../../static/images/my/icon/utils/kefu.png"
+											style="width: 54rpx; height: 54rpx" mode=""></image>
+										<view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
+											我的客服
+										</view>
+									</view>
+									<view class="util-item" @click="goNav('/my/setting/mimi')">
+										<image src="../../static/images/my/icon/utils/privacy.png"
+											style="width: 54rpx; height: 54rpx" mode=""></image>
+										<view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
+											隐私规则
+										</view>
+									</view>
+									<!-- <view v-if="XCXIsSelect != '否'" class="util-item"
 										@click="goNav('/package/myLove/myLove')">
 										<image src="../../static/images/my/icon/utils/myLovere.png"
 											style="width: 54rpx; height: 54rpx" mode=""></image>
@@ -653,7 +711,7 @@
 										<view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
 											退出登录
 										</view>
-									</view>
+									</view> -->
 								</view>
 							</view>
 						</view>

+ 10 - 3
pages/recruitmentData/communicationRecords.vue

@@ -59,10 +59,10 @@
                <view class="talent-content">
                  <!-- 头像和基本信息 -->
                  <view class="talent-header">
-                   <image :src="record.avatar" class="talent-avatar" mode="aspectFill"></image>
+                   <image :src="record.userAvatar" class="talent-avatar" mode="aspectFill"></image>
                    <view class="talent-info">
                      <view class="talent-name-section">
-                       <view class="talent-name">{{ record.name }}</view>
+                       <view class="talent-name">{{ record.userName }}</view>
                        <view class="talent-tags">
                          <view class="status-tag online" v-if="record.isOnline">在线</view>
                          <view class="status-tag hot" v-if="record.isHot">热门搜索</view>
@@ -348,6 +348,7 @@ export default {
   onLoad() {
     const systemInfo = uni.getSystemInfoSync()
     this.statusBarHeight = systemInfo.statusBarHeight || 0
+	  this.getData()
   },
   methods: {
     goBack() {
@@ -378,7 +379,13 @@ export default {
       uni.navigateTo({
         url: '/pages/recruitmentData/interviewManage'
       })
-    }
+    },
+	getData(){
+		this.$Request.getT("/app/chat/chatUser").then(res=>{
+			console.log(res);
+			this.communicationRecords = res.records //沟通记录
+		})
+	},
  }
 }
 </script>

+ 23 - 6
pages/recruitmentData/index.vue

@@ -28,10 +28,12 @@
             <text>今日数据</text>
             <image src="/static/images/qiehuan.svg" class="switch-icon" mode="aspectFit" @click="goToDataCenter"></image>
           </view>
-          <view class="filter-btn" @click="goToDataCenter">
-            <text class="filter-text">亚马逊运营总监</text>
-            <u-icon name="arrow-down" color="#016BF6" size="16"></u-icon>
-          </view>
+		  <picker @change="changeZw" :value="zwIndex" :range="zwList" :range-key="'name'">
+			<view class="filter-btn">
+				<text class="filter-text">{{zwList.length?zwList[zwIndex].name:''}}</text>
+				<u-icon name="arrow-down" color="#016BF6" size="16"></u-icon>
+			</view>
+		  </picker>
         </view>
         
         <view class="data-grid">
@@ -146,15 +148,22 @@ export default {
           total: 10,
           isUrgent: true
         }
-      ]
+      ],
+	  zwList:[],
+	  zwIndex:0,
+	  
     }
   },
   onLoad() {
     // 获取状态栏高度
     const systemInfo = uni.getSystemInfoSync()
     this.statusBarHeight = systemInfo.statusBarHeight || 0
+	// this.getData()
   },
   methods: {
+	changeZw (e){
+		this.zwIndex=e.detail.value
+	},
     getBenefitIcon(action) {
       switch(action) {
         case '查看':
@@ -176,11 +185,19 @@ export default {
     toggleWeekData() {
       // 切换周数据视图
       console.log('切换周数据')
+	  uni.navigateTo({
+	    url: '/pages/recruitmentData/dataCenter'
+	  })
     },
     showDetail(item) {
       // 显示详情
       console.log('显示详情:', item)
-    }
+    },
+	getData(){
+		this.$Request.getT("/app/user/userData").then(res=>{
+			
+		})
+	},
   }
 }
 </script>

BIN
static/images/my/icon/utils/benefits.png


BIN
static/images/my/icon/utils/company.png


BIN
static/images/my/icon/utils/invoice.png


BIN
static/images/my/icon/utils/kefu.png


BIN
static/images/my/icon/utils/privacy.png


BIN
static/images/my/icon/utils/rulerCenter.png


BIN
static/images/my/icon/utils/user.png


BIN
static/images/my/icon/utils/wallet.png