|
|
@ -1,147 +1,9 @@ |
|
|
|
<template> |
|
|
|
<view class="page"> |
|
|
|
|
|
|
|
<navbar title="个人中心" /> |
|
|
|
|
|
|
|
<view class="head"> |
|
|
|
<view class="headImage"> |
|
|
|
<image src="" mode=""></image> |
|
|
|
</view> |
|
|
|
<view class="info"> |
|
|
|
<view class="name"> |
|
|
|
倾心. |
|
|
|
</view> |
|
|
|
<!-- <view class="vip"> |
|
|
|
VIP1 |
|
|
|
</view> --> |
|
|
|
<view class="tips"> |
|
|
|
今天是您来的的第32天 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="headBtn" @click="headBtn"> |
|
|
|
角色切换 |
|
|
|
</view> |
|
|
|
<view class="setting"> |
|
|
|
<uv-icon name="setting" size="40rpx"></uv-icon> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 水洗店 --> |
|
|
|
<view class="userShop" v-if="userShop"> |
|
|
|
<userShopCommission /> |
|
|
|
<view class="userList"> |
|
|
|
<view class="title"> |
|
|
|
我的用户 |
|
|
|
</view> |
|
|
|
<view class="list"> |
|
|
|
<view class="item" v-for="(item, index) in 20" :key="index"> |
|
|
|
<view class="name"> |
|
|
|
客户:王生 |
|
|
|
</view> |
|
|
|
<view class="num"> |
|
|
|
剩余水洗布:198 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 酒店 --> |
|
|
|
<view class="user" v-else> |
|
|
|
<view class="line"> |
|
|
|
<view class="item"> |
|
|
|
<view class="image"> |
|
|
|
<image src="/static/image/center/1.png" mode=""></image> |
|
|
|
</view> |
|
|
|
<view class=""> |
|
|
|
余额¥3000 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="item"> |
|
|
|
<view class="image"> |
|
|
|
<image src="/static/image/center/4.png" mode=""></image> |
|
|
|
</view> |
|
|
|
<view class=""> |
|
|
|
押金¥30000 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="line grid"> |
|
|
|
<view class="title"> |
|
|
|
常用功能 |
|
|
|
</view> |
|
|
|
<uv-grid :col="4" :border="false"> |
|
|
|
|
|
|
|
<uv-grid-item @click="$utils.navigateTo('/pages_order/mine/address')"> |
|
|
|
<image class="image" src="/static/image/center/7.png" mode=""></image> |
|
|
|
<text class="grid-text">地址管理</text> |
|
|
|
</uv-grid-item> |
|
|
|
|
|
|
|
<uv-grid-item @click="$utils.redirectTo('/index/order')"> |
|
|
|
<image class="image" src="/static/image/center/8.png" mode=""></image> |
|
|
|
<text class="grid-text">订单管理</text> |
|
|
|
</uv-grid-item> |
|
|
|
|
|
|
|
<uv-grid-item @click="$utils.navigateTo('/pages_order/order/refundsOrExchange?index='+0)"> |
|
|
|
<image class="image" src="/static/image/center/5.png" mode=""></image> |
|
|
|
<text class="grid-text">换货</text> |
|
|
|
</uv-grid-item> |
|
|
|
|
|
|
|
<uv-grid-item @click="$utils.navigateTo('/pages_order/order/refundsOrExchange?index='+1)"> |
|
|
|
<image class="image" src="/static/image/center/7.png" mode=""></image> |
|
|
|
<text class="grid-text">退货</text> |
|
|
|
</uv-grid-item> |
|
|
|
</uv-grid> |
|
|
|
</view> |
|
|
|
<view class="line grid"> |
|
|
|
<uv-grid :col="4" :border="false"> |
|
|
|
|
|
|
|
<uv-grid-item @click="contactUs"> |
|
|
|
<image class="image" src="/static/image/center/9.png" mode=""></image> |
|
|
|
<text class="grid-text">联系客服</text> |
|
|
|
</uv-grid-item> |
|
|
|
|
|
|
|
<uv-grid-item> |
|
|
|
<image class="image" src="/static/image/center/6.png" mode=""></image> |
|
|
|
<text class="grid-text">我的租赁</text> |
|
|
|
</uv-grid-item> |
|
|
|
|
|
|
|
<uv-grid-item @click="$utils.redirectTo('/index/cart')"> |
|
|
|
<image class="image" src="/static/image/center/7.png" mode=""></image> |
|
|
|
<text class="grid-text">租赁车</text> |
|
|
|
</uv-grid-item> |
|
|
|
|
|
|
|
<uv-grid-item |
|
|
|
@click="$utils.navigateTo('/pages_order/auth/loginAndRegisterAndForgetPassword?index='+2)"> |
|
|
|
<image class="image" src="/static/image/center/7.png" mode=""></image> |
|
|
|
<text class="grid-text">申请成为水洗店</text> |
|
|
|
</uv-grid-item> |
|
|
|
</uv-grid> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 联系客服弹框 --> |
|
|
|
<uv-overlay :show="show" @click="show = false"> |
|
|
|
<view class="warp"> |
|
|
|
<view class="rect" @tap.stop> |
|
|
|
<view class="title">联系客服</view> |
|
|
|
<view class="center">确定拨打客服电话?</view> |
|
|
|
<view class="bottom"> |
|
|
|
<view> |
|
|
|
<uv-button type="info" shape="circle" text="取消" :custom-style="customStyle1" |
|
|
|
@click="cancle"></uv-button> |
|
|
|
</view> |
|
|
|
<view> |
|
|
|
<uv-button type="info" shape="circle" text="确定" :custom-style="customStyle2" |
|
|
|
@click="confirm"></uv-button> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</uv-overlay> |
|
|
|
|
|
|
|
|
|
|
|
<tabber select="4" /> |
|
|
|
|
|
|
|
|
|
|
|
<tabber select="3" /> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
|
|
|
|