|
|
@@ -5,7 +5,7 @@
|
|
|
<view class="user-box align-items-center">
|
|
|
<view class="user-img-box mr-24">
|
|
|
<image class="user-img" src="@/static/img/my/user-img.png" mode=""></image>
|
|
|
- <image class="set-iimg" src="@/static/img/my/pen.png" mode=""></image>
|
|
|
+ <image @click="goToUrl(0)" class="set-iimg" src="@/static/img/my/pen.png" mode=""></image>
|
|
|
</view>
|
|
|
<view class="user-name text-overflow-ellipsis-one fs-34">
|
|
|
{{ name }}
|
|
|
@@ -13,32 +13,32 @@
|
|
|
</view>
|
|
|
<view class="function-one-box box-border-box">
|
|
|
<view class="function-one b-rad-20 bgc-f box-border-box mb-24 align-items-center flex-justify-space">
|
|
|
- <view class="my-function-box flex-direction align-items-center" @click="goToUrl(0)">
|
|
|
+ <view class="my-function-box flex-direction align-items-center" @click="goToUrl(1)">
|
|
|
<image class="my-img" src="@/static/img/my/wdkq.png" mode=""></image>
|
|
|
<view class="fs-26">
|
|
|
我的卡券
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="my-function-box flex-direction align-items-center">
|
|
|
+ <view class="my-function-box flex-direction align-items-center" @click="goToUrl(2)">
|
|
|
<image class="my-img" src="@/static/img/my/wdfb.png" mode=""></image>
|
|
|
<view class="fs-26">
|
|
|
我的发布
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="my-function-box flex-direction align-items-center">
|
|
|
+ <view class="my-function-box flex-direction align-items-center" @click="goToUrl(3)">
|
|
|
<image class="my-img" src="@/static/img/my/wdpj.png" mode=""></image>
|
|
|
<view class="fs-26">
|
|
|
我的评价
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="my-function-box flex-direction align-items-center">
|
|
|
+ <view class="my-function-box flex-direction align-items-center" @click="goToUrl(4)">
|
|
|
<image class="my-img" src="@/static/img/my/dzgl.png" mode=""></image>
|
|
|
<view class="fs-26">
|
|
|
地址管理
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="function-two b-rad-20 box-border-box flex-justify-space mb-22">
|
|
|
+ <view class="function-two b-rad-20 box-border-box flex-justify-space mb-22" @click="goToUrl(5)">
|
|
|
<view class="function-two-left">
|
|
|
<view class="align-items-center mb-12 p-t-10">
|
|
|
<image class="lqzx-img" src="@/static/img/my/lqzx.png" mode=""></image>
|
|
|
@@ -54,7 +54,7 @@
|
|
|
<scroll-view class="" :scroll-y="true" class="scroll-view-css" @scrolltolower="scrolltolower">
|
|
|
<view class="list-box function-one-box box-border-box">
|
|
|
<view class="list bgc-f b-rad-20">
|
|
|
- <view class="item-box align-items-center flex-justify-space mb-64">
|
|
|
+ <view class="item-box align-items-center flex-justify-space mb-64" @click="goToUrl(6)">
|
|
|
<view class="item-left align-items-center">
|
|
|
<image class="item-img" src="@/static/img/my/xxzx.png" mode=""></image>
|
|
|
<view class="fs-32 fc-3">
|
|
|
@@ -68,7 +68,7 @@
|
|
|
<image class="to-right" src="@/static/img/toRight.png" mode=""></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="item-box align-items-center flex-justify-space mb-64">
|
|
|
+ <view class="item-box align-items-center flex-justify-space mb-64" @click="goToUrl(7)">
|
|
|
<view class="item-left align-items-center">
|
|
|
<image class="item-img" src="@/static/img/my/lxkf.png" mode=""></image>
|
|
|
<view class="fs-32 fc-3">
|
|
|
@@ -79,7 +79,7 @@
|
|
|
<image class="to-right" src="@/static/img/toRight.png" mode=""></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="item-box align-items-center flex-justify-space mb-64">
|
|
|
+ <view class="item-box align-items-center flex-justify-space mb-64" @click="goToUrl(8)">
|
|
|
<view class="item-left align-items-center">
|
|
|
<image class="item-img" src="@/static/img/my/swhz.png" mode=""></image>
|
|
|
<view class="fs-32 fc-3">
|
|
|
@@ -90,7 +90,7 @@
|
|
|
<image class="to-right" src="@/static/img/toRight.png" mode=""></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="item-box align-items-center flex-justify-space mb-64">
|
|
|
+ <view class="item-box align-items-center flex-justify-space mb-64" @click="goToUrl(9)">
|
|
|
<view class="item-left align-items-center">
|
|
|
<image class="item-img" src="@/static/img/my/qszp.png" mode=""></image>
|
|
|
<view class="fs-32 fc-3">
|
|
|
@@ -101,7 +101,7 @@
|
|
|
<image class="to-right" src="@/static/img/toRight.png" mode=""></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="item-box align-items-center flex-justify-space mb-64">
|
|
|
+ <view class="item-box align-items-center flex-justify-space mb-64" @click="goToUrl(10)">
|
|
|
<view class="item-left align-items-center">
|
|
|
<image class="item-img" src="@/static/img/my/wtfk.png" mode=""></image>
|
|
|
<view class="fs-32 fc-3">
|
|
|
@@ -112,7 +112,7 @@
|
|
|
<image class="to-right" src="@/static/img/toRight.png" mode=""></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="item-box align-items-center flex-justify-space">
|
|
|
+ <view class="item-box align-items-center flex-justify-space" @click="goToUrl(11)">
|
|
|
<view class="item-left align-items-center">
|
|
|
<image class="item-img" src="@/static/img/my/gywm.png" mode=""></image>
|
|
|
<view class="fs-32 fc-3">
|
|
|
@@ -135,7 +135,7 @@
|
|
|
components: {},
|
|
|
data() {
|
|
|
return {
|
|
|
- name:'仰看辉煌煌煌煌煌1111煌...仰看辉煌煌煌煌煌1111煌...仰看辉煌煌煌煌煌1111煌...',
|
|
|
+ name: '仰看辉煌煌煌煌煌1111煌...仰看辉煌煌煌煌煌1111煌...仰看辉煌煌煌煌煌1111煌...',
|
|
|
newsNum: 24
|
|
|
};
|
|
|
},
|
|
|
@@ -146,82 +146,128 @@
|
|
|
console.log('触底');
|
|
|
},
|
|
|
goToUrl(type) {
|
|
|
- uni.navigateTo({
|
|
|
- url:'/pages-my/my-ticket'
|
|
|
- })
|
|
|
+ if (type == 0) {
|
|
|
+ // 修改个人信息
|
|
|
+ } else if (type == 1) {
|
|
|
+ // 我的卡券
|
|
|
+ uni.navigateTo({
|
|
|
+ url: '/pages-my/my-ticket'
|
|
|
+ })
|
|
|
+ } else if (type == 2) {
|
|
|
+ // 我的发布
|
|
|
+ } else if (type == 3) {
|
|
|
+ // 我的评价
|
|
|
+ uni.navigateTo({
|
|
|
+ url:'/pages-my/my-appraise'
|
|
|
+ })
|
|
|
+ } else if (type == 4) {
|
|
|
+ // 地址管理
|
|
|
+ } else if (type == 5) {
|
|
|
+ // 领券中心
|
|
|
+ uni.navigateTo({
|
|
|
+ url:'/pages-my/ticket-centre'
|
|
|
+ })
|
|
|
+ } else if (type == 6) {
|
|
|
+ // 消息中心
|
|
|
+ } else if (type == 7) {
|
|
|
+ // 联系客服
|
|
|
+ } else if (type == 8) {
|
|
|
+ // 商务合作
|
|
|
+ } else if (type == 9) {
|
|
|
+ // 骑手招聘
|
|
|
+ } else if (type == 10) {
|
|
|
+ // 问题反馈
|
|
|
+ } else if (type == 11) {
|
|
|
+ // 关于我们
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
-.my-box{}
|
|
|
-.bg-box{
|
|
|
- width: 100%;
|
|
|
- height: 476rpx;
|
|
|
- position: fixed;
|
|
|
- top: 0;
|
|
|
- z-index: -1;
|
|
|
-}
|
|
|
-.user-img-box{
|
|
|
- width: 112rpx;
|
|
|
- height: 112rpx;
|
|
|
- position: relative;
|
|
|
-}
|
|
|
-.user-box{
|
|
|
- padding: 54rpx 32rpx;
|
|
|
-}
|
|
|
-.user-img{
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
-}
|
|
|
-.set-iimg{
|
|
|
- position: absolute;
|
|
|
- right: 4rpx;
|
|
|
- bottom: 0;
|
|
|
- width: 33rpx;
|
|
|
- height: 33rpx;
|
|
|
-}
|
|
|
-.user-name{
|
|
|
- max-width: 388rpx;
|
|
|
-}
|
|
|
-.function-one-box{
|
|
|
- padding: 0 24rpx;
|
|
|
-}
|
|
|
-.function-one{
|
|
|
- padding: 24rpx 34rpx;
|
|
|
-}
|
|
|
-.function-two{
|
|
|
- padding: 22rpx 40rpx 22rpx 32rpx;
|
|
|
- background: linear-gradient( 90deg, #FFFFFF 47%, #FFF7E5 100%);
|
|
|
-}
|
|
|
-.my-img{
|
|
|
- width: 80rpx;
|
|
|
- height: 80rpx;
|
|
|
- margin: 0 0 8rpx 0;
|
|
|
-}
|
|
|
-.function-two-right{
|
|
|
- width: 96rpx;
|
|
|
- height: 96rpx;
|
|
|
-}
|
|
|
-.lqzx-img{
|
|
|
- width: 137rpx;
|
|
|
- height: 30rpx;
|
|
|
- margin: 0 8rpx 0 0;
|
|
|
-}
|
|
|
-.to-right {
|
|
|
- width: 32rpx;
|
|
|
- height: 32rpx;
|
|
|
-}
|
|
|
-// .list-box{
|
|
|
-// padding: 0 24rpx 20rpx;
|
|
|
-// }
|
|
|
-.list{
|
|
|
- padding: 32rpx 28rpx 32rpx 32rpx;
|
|
|
-}
|
|
|
-.item-img{
|
|
|
- width: 48rpx;
|
|
|
- height: 48rpx;
|
|
|
- margin: 0 20rpx 0 0;
|
|
|
-}
|
|
|
-</style>
|
|
|
+ .my-box {}
|
|
|
+
|
|
|
+ .bg-box {
|
|
|
+ width: 100%;
|
|
|
+ height: 476rpx;
|
|
|
+ position: fixed;
|
|
|
+ top: 0;
|
|
|
+ z-index: -1;
|
|
|
+ }
|
|
|
+
|
|
|
+ .user-img-box {
|
|
|
+ width: 112rpx;
|
|
|
+ height: 112rpx;
|
|
|
+ position: relative;
|
|
|
+ }
|
|
|
+
|
|
|
+ .user-box {
|
|
|
+ padding: 54rpx 32rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .user-img {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ }
|
|
|
+
|
|
|
+ .set-iimg {
|
|
|
+ position: absolute;
|
|
|
+ right: 4rpx;
|
|
|
+ bottom: 0;
|
|
|
+ width: 33rpx;
|
|
|
+ height: 33rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .user-name {
|
|
|
+ max-width: 388rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .function-one-box {
|
|
|
+ padding: 0 24rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .function-one {
|
|
|
+ padding: 24rpx 34rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .function-two {
|
|
|
+ padding: 22rpx 40rpx 22rpx 32rpx;
|
|
|
+ background: linear-gradient(90deg, #FFFFFF 47%, #FFF7E5 100%);
|
|
|
+ }
|
|
|
+
|
|
|
+ .my-img {
|
|
|
+ width: 80rpx;
|
|
|
+ height: 80rpx;
|
|
|
+ margin: 0 0 8rpx 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .function-two-right {
|
|
|
+ width: 96rpx;
|
|
|
+ height: 96rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .lqzx-img {
|
|
|
+ width: 137rpx;
|
|
|
+ height: 30rpx;
|
|
|
+ margin: 0 8rpx 0 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .to-right {
|
|
|
+ width: 32rpx;
|
|
|
+ height: 32rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ // .list-box{
|
|
|
+ // padding: 0 24rpx 20rpx;
|
|
|
+ // }
|
|
|
+ .list {
|
|
|
+ padding: 32rpx 28rpx 32rpx 32rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .item-img {
|
|
|
+ width: 48rpx;
|
|
|
+ height: 48rpx;
|
|
|
+ margin: 0 20rpx 0 0;
|
|
|
+ }
|
|
|
+</style>
|