| | |
| | | <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 v-if="userInfo == null" :src="userInfo != null ? $baseUrl+userInfo.avatar : '/static/imgs/headimg.png'" class="avatar" mode="" @tap="$util.goPages('/pages/login/login')"></image> |
| | | <image v-else :src="userInfo != null ? $baseUrl+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 != 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> |
| | |
| | | </template> |
| | | <template v-if="userInfo != null && userInfo.face_auth == 0"> |
| | | <view class="edu" @tap="$util.checkGoPages('/pages/my/my')">未认证</view> |
| | | </template> |
| | | </template> --> |
| | | </view> |
| | | </view> |
| | | |
| | | <view class="auth" v-if="userInfo && userInfo.over_auth != 1" @tap="$util.checkGoPages('/pages/my/my')"> |
| | | <!-- <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> --> |
| | | |
| | | <view class="num-wrapper tui-skeleton-rect"> |
| | | <!-- <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> |
| | | </view> |
| | | </view> --> |
| | | |
| | | <view class="navs"> |
| | | <view class="title" @tap="$util.checkLogin('/pages/order/order')"> |
| | |
| | | <image :src="'../../static/imgs/mf' + item.index + '.png'" mode=""></image> |
| | | <view>{{item.text}}</view> |
| | | </view> |
| | | <!-- <view class="mySerCon-v" @tap="goKefu" v-else> |
| | | <view class="mySerCon-v" @tap="goKefu" v-else> |
| | | <image :src="'../../static/imgs/mf' + item.index + '.png'" mode=""></image> |
| | | <view>{{item.text}}</view> |
| | | </view> --> |
| | | </view> |
| | | </template> |
| | | </view> |
| | | </view> |
| | | <view style="text-align: center;font-size: 24rpx;color: #666666;margin: 80rpx 0;"> |
| | | <!-- <view style="text-align: center;font-size: 24rpx;color: #666666;margin: 80rpx 0;"> |
| | | 客服电话:400-6052-330(8:00-20:00) |
| | | </view> |
| | | </view> --> |
| | | <view class="myBeiAn"> |
| | | <view class=""> |
| | | <text @tap="agreeDialog1">《用户协议》</text> |
| | |
| | | {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: 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: 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: '联系客服'}, |
| | | {index: 5, text: '我的收藏', url: '/pages/collect/collect'}, |
| | | {index: 6, text: '联系客服'}, |
| | | ] |
| | | } |
| | | }, |
| | |
| | | sizeType: ['original', 'compressed'], |
| | | success: (chooseImageRes) => { |
| | | let tempFilePaths = chooseImageRes.tempFilePaths |
| | | let token = uni.getStorageSync('lzsc-token') |
| | | let token = uni.getStorageSync('pig-token') |
| | | let header = { |
| | | 'Accept': 'application/json', |
| | | 'authorization': token, |