From 94c2cf59a5e7fcc21a9a721e8c1fcbc9fffadd6a Mon Sep 17 00:00:00 2001
From: lin <1005713861@163.com>
Date: Mon, 11 May 2026 16:37:51 +0800
Subject: [PATCH] feat:购有趣
---
pages/my/my.vue | 72 ++++++++++++++++++++++++++++++++++-
1 files changed, 69 insertions(+), 3 deletions(-)
diff --git a/pages/my/my.vue b/pages/my/my.vue
index ec7041f..4cfe9f4 100644
--- a/pages/my/my.vue
+++ b/pages/my/my.vue
@@ -6,14 +6,58 @@
<view class="startBar"></view>
<view class="myContent">
<view class="myHeader">
- <image :src="userInfo != null ? userInfo.avatar : '/static/imgs/headimg.png'" class="avatar" mode="" @tap="setImg"></image>
+ <!-- <image :src="userInfo != null ? userInfo.avatar : '/static/imgs/headimg.png'" class="avatar" mode="" @tap="setImg"></image> -->
+ <image :src="userInfo != null ? userInfo.avatar : '/static/imgs/headimg.png'" class="avatar" mode="" ></image>
<view class="myNick">
<template>
<view v-if="userInfo == null" @tap="$util.goPages('/pages/login/login')">未登录</view>
<view v-else>{{userInfo.phone}}</view>
</template>
+ <!-- <template v-if="userInfo != null && Config">
+ <template v-if="userInfo.status == 1">
+ <view class="edu" v-if="userInfo != null && userInfo.edu_auth == 0 && Config.put_open == 2 && userInfo.over_auth == 0">额度:未认证</view>
+ <view class="edu" v-else-if="userInfo != null && userInfo.edu_auth == 0 && Config.put_open == 2 && userInfo.over_auth == 1">额度:授信中</view>
+ <view class="edu" v-else-if="userInfo != null && userInfo.edu_auth == 1 && Config.put_open == 2">额度:{{userInfo.const}}</view>
+ </template>
+ <template v-else>
+ <view class="edu">额度:授信失败</view>
+ </template>
+ </template>
+ <template v-if="userInfo != null && userInfo.face_auth == 0">
+ <view class="edu" @tap="$util.checkGoPages('/pages/my/my')">未认证</view>
+ </template> -->
</view>
</view>
+
+ <!-- <view class="auth" v-if="userInfo && userInfo.over_auth != 1" @tap="$util.checkGoPages('/pages/my/my')">
+ <image src="@/static/imgs/notice.png" mode=""></image>
+ <text>您还未进行实名认证,点击前往实名认证</text>
+ <view class="">去认证</view>
+ </view> -->
+
+ <!-- <view class="num-wrapper tui-skeleton-rect">
+ <view class="num-item" style="display: flex;background: white;border-radius: 24rpx;padding: 22rpx;width: 48%;" @tap="$util.checkLogin('/pages/collect/collect')">
+ <view style="padding-right: 32rpx;">
+ <image style="width: 48rpx;height: 48rpx;margin-top: 30rpx;" src="/static/imgs/Star.png"></image>
+ </view>
+ <view style="flex: 1">
+ <view class="txt" style="color: #666;text-align:left">我的收藏</view>
+ <view class="num" style="color: #333;text-align:left;margin-top: 8rpx;">0</view>
+
+ </view>
+ </view>
+ <view style="display: flex;background: white;border-radius: 24rpx;padding: 22rpx;width: 48%;" class="num-item" @tap="$util.checkLogin('/pages/address/address')">
+ <view style="padding-right: 32rpx;">
+ <image style="width: 48rpx;height: 48rpx;margin-top: 30rpx;" src="/static/imgs/History.png"></image>
+ </view>
+ <view style="flex: 1">
+ <view class="txt" style="color: #666;text-align:left">我的地址</view>
+ <view class="num" style="color: #333;text-align:left;margin-top: 5rpx;">0</view>
+
+ </view>
+
+ </view>
+ </view> -->
<view class="navs">
<view class="title" @tap="$util.checkLogin('/pages/order/order')">
@@ -30,9 +74,25 @@
</view>
</view>
</view>
- <view style="text-align: center;font-size: 24rpx;color: #666666;margin-top: 280rpx;">
- 客服电话:400-6052-330(8:00-20:00)
+
+ <view class="mySer">
+ <view class="title">我的服务</view>
+ <view class="mySerCon">
+ <template v-for="(item, index) in mySerData">
+ <view class="mySerCon-v" @tap="$util.checkLogin(item.url)" v-if="item.index != 6">
+ <image :src="'../../static/imgs/mf' + item.index + '.png'" mode=""></image>
+ <view>{{item.text}}</view>
+ </view>
+ <view class="mySerCon-v" @tap="goKefu" v-else>
+ <image :src="'../../static/imgs/mf' + item.index + '.png'" mode=""></image>
+ <view>{{item.text}}</view>
+ </view>
+ </template>
+ </view>
</view>
+ <!-- <view style="text-align: center;font-size: 24rpx;color: #666666;margin: 80rpx 0;">
+ 客服电话:400-6052-330(8:00-20:00)
+ </view> -->
<view class="myBeiAn">
<view class="">
<text @tap="agreeDialog1">《用户协议》</text>
@@ -66,10 +126,16 @@
{index: 1, text: '待支付', url: '/pages/order/order?status=1'},
{index: 3, text: '待发货', url: '/pages/order/order?status=4'},
{index: 4, text: '待收货', url: '/pages/order/order?status=5'},
+ // {index: 2, text: '待签约', url: '/pages/order/order?status=3'},
{index: 5, text: '退款/售后', url: '/pages/order/order?status=-3'}
],
mySerData: [
{index: 1, text: '个人信息', url: '/pages/profile/profile'},
+ // {index: 2, text: '账单信息', url: '/pages/logs/logs'},
+ // {index: 3, text: '银行卡', url: '/pages/bank/bank'},
+ // {index: 4, text: '我的地址', url: '/pages/address/address'},
+ {index: 5, text: '我的收藏', url: '/pages/collect/collect'},
+ {index: 6, text: '联系客服'},
]
}
},
--
Gitblit v1.9.3