Tim_Walker 1 жил өмнө
parent
commit
3d9845b260
39 өөрчлөгдсөн 21 нэмэгдсэн , 944 устгасан
  1. 7 200
      src/pages.json
  2. 0 0
      src/pages/business/category.vue
  3. 0 0
      src/pages/business/detail.vue
  4. 0 0
      src/pages/business/list.vue
  5. 0 74
      src/pages/client/CommunitySearch/index.vue
  6. 0 210
      src/pages/client/allComments/index.vue
  7. 0 9
      src/pages/client/checkIn/index.vue
  8. 0 0
      src/pages/common/search/index.vue
  9. 0 9
      src/pages/community/commDetail/index.vue
  10. 0 9
      src/pages/community/commSearch/index.vue
  11. 0 9
      src/pages/message/evaluate/index.vue
  12. 0 9
      src/pages/message/favorable/index.vue
  13. 0 9
      src/pages/message/info/index.vue
  14. 0 61
      src/pages/message/order/index.vue
  15. 0 65
      src/pages/message/payment/index.vue
  16. 0 9
      src/pages/message/upvote/index.vue
  17. 0 13
      src/pages/my/inquiry/index.vue
  18. 0 0
      src/pages/my/myOrder/index.vue
  19. 0 145
      src/pages/my/personalCenter/index copy.vue
  20. 0 9
      src/pages/pointMethod/advertise/index.vue
  21. 0 9
      src/pages/pointMethod/comment/index.vue
  22. 0 9
      src/pages/pointMethod/consume/index.vue
  23. 0 9
      src/pages/pointMethod/foren/index.vue
  24. 0 9
      src/pages/pointMethod/recover/index.vue
  25. 0 9
      src/pages/pointMethod/share/index.vue
  26. 0 9
      src/pages/points/activity/index.vue
  27. 0 3
      src/pages/points/checkIn/index.vue
  28. 0 9
      src/pages/points/detail/index.vue
  29. 0 9
      src/pages/points/instructions/index.vue
  30. 0 3
      src/pages/points/myPoints/index.vue
  31. 0 9
      src/pages/points/withdraw/index.vue
  32. 8 8
      src/pages/tabbar/mine/index.vue
  33. 4 4
      src/pages/user/appoint/index.vue
  34. 1 4
      src/pages/user/collect/list.vue
  35. 0 0
      src/pages/user/coupon/index.vue
  36. 1 1
      src/pages/user/info/index.vue
  37. 0 0
      src/pages/user/info/update.vue
  38. 0 0
      src/pages/user/score/index.vue
  39. 0 0
      src/pages/user/settings/index.vue

+ 7 - 200
src/pages.json

@@ -28,7 +28,7 @@
       "path": "pages/tabbar/message/index",
       "style": {
         "navigationBarTitleText": "消息",
-        "navigationStyle":"custom"
+        "navigationStyle": "custom"
       }
     },
     {
@@ -51,42 +51,13 @@
     }
   ],
   "subPackages": [
-    {
-      "root": "pages/client",
-      "pages": [
-        {
-          "path": "CommunitySearch/index",
-          "style": {
-            "navigationBarTitleText": "社区搜索"
-          }
-        },
-        {
-          "path": "allComments/index",
-          "style": {
-            "navigationBarTitleText": "全部评论"
-          }
-        },
-        {
-          "path": "checkIn/index",
-          "style": {
-            "navigationBarTitleText": "每日签到"
-          }
-        },
-        {
-          "path": "search/index",
-          "style": {
-            "navigationBarTitleText": "搜索"
-          }
-        }
-      ]
-    },
     {
       "root": "pages/business",
       "pages": [
         {
-          "path": "detail/index",
+          "path": "category",
           "style": {
-            "navigationBarTitleText": "商家详情"
+            "navigationBarTitleText": "分类"
           }
         },
         {
@@ -118,160 +89,14 @@
           "style": {
             "navigationBarTitleText": "养车"
           }
-        },
-		{
-			"path" : "classfication/classfication",
-			"style" :{
-				"navigationBarTitleText": "分类"
-			}
-	    }
-      ]
-    },
-    {
-      "root": "pages/points",
-      "pages": [
-        {
-          "path": "myPoints/index",
-          "style": {
-            "navigationBarTitleText": "我的积分"
-          }
-        },
-        {
-          "path": "checkIn/index",
-          "style": {
-            "navigationBarTitleText": "每日签到"
-          }
-        },
-        {
-          "path": "detail/index",
-          "style": {
-            "navigationBarTitleText": "积分说明"
-          }
-        },
-        {
-          "path": "instructions/index",
-          "style": {
-            "navigationBarTitleText": "积分明细"
-          }
-        },
-        {
-          "path": "withdraw/index",
-          "style": {
-            "navigationBarTitleText": "积分提现"
-          }
-        },
-        {
-          "path": "activity/index",
-          "style": {
-            "navigationBarTitleText": "积分活动"
-          }
         }
       ]
     },
     {
-      "root": "pages/message",
+      "root": "pages/user",
       "pages": [
         {
-          "path": "evaluate/index",
-          "style": {
-            "navigationBarTitleText": "评价通知"
-          }
-        },
-        {
-          "path": "favorable/index",
-          "style": {
-            "navigationBarTitleText": "优惠福利"
-          }
-        },
-        {
-          "path": "order/index",
-          "style": {
-            "navigationBarTitleText": "订单通知"
-          }
-        },
-        {
-          "path": "payment/index",
-          "style": {
-            "navigationBarTitleText": "付款"
-          }
-        },
-        {
-          "path": "info/index",
-          "style": {
-            "navigationBarTitleText": "私信"
-          }
-        },
-        {
-          "path": "upvote/index",
-          "style": {
-            "navigationBarTitleText": "点赞回复"
-          }
-        }
-      ]
-    },
-    {
-      "root": "pages/pointMethod",
-      "pages": [
-        {
-          "path": "foren/index",
-          "style": {
-            "navigationBarTitleText": "发帖"
-          }
-        },
-        {
-          "path": "consume/index",
-          "style": {
-            "navigationBarTitleText": "消费"
-          }
-        },
-        {
-          "path": "comment/index",
-          "style": {
-            "navigationBarTitleText": "点评"
-          }
-        },
-        {
-          "path": "share/index",
-          "style": {
-            "navigationBarTitleText": "分享"
-          }
-        },
-        {
-          "path": "recover/index",
-          "style": {
-            "navigationBarTitleText": "回帖"
-          }
-        },
-        {
-          "path": "advertise/index",
-          "style": {
-            "navigationBarTitleText": "广告"
-          }
-        }
-      ]
-    },
-    {
-      "root": "pages/community",
-      "pages": [
-        {
-          "path": "commDetail/index",
-          "style": {
-            "navigationBarTitleText": "社区详情"
-          }
-        },
-        {
-          "path": "commSearch/index",
-          "style": {
-            "navigationBarTitleText": "搜索"
-          }
-        }
-      ]
-    },
-    {
-      "root": "pages/my",
-      "pages": [
-        {
-          "path": "collect/index",
+          "path": "collect/list",
           "style": {
             "navigationBarTitleText": "我的收藏"
           }
@@ -282,24 +107,12 @@
             "navigationBarTitleText": "预约列表"
           }
         },
-        {
-          "path": "appointDetail/index",
-          "style": {
-            "navigationBarTitleText": "预约详情"
-          }
-        },
         {
           "path": "coupon/index",
           "style": {
             "navigationBarTitleText": "优惠券"
           }
         },
-        {
-          "path": "inquiry/index",
-          "style": {
-            "navigationBarTitleText": "询价"
-          }
-        },
         {
           "path": "score/index",
           "style": {
@@ -307,19 +120,13 @@
           }
         },
         {
-          "path": "myOrder/index",
-          "style": {
-            "navigationBarTitleText": "我的订单"
-          }
-        },
-        {
-          "path": "personalCenter/index",
+          "path": "info/index",
           "style": {
             "navigationBarTitleText": "个人中心"
           }
         },
         {
-          "path": "editData/index",
+          "path": "info/update",
           "style": {
             "navigationBarTitleText": "编辑资料"
           }

+ 0 - 0
src/pages/business/classfication/classfication.vue → src/pages/business/category.vue


+ 0 - 0
src/pages/business/detail/index.vue → src/pages/business/detail.vue


+ 0 - 0
src/pages/my/appointDetail/index.vue → src/pages/business/list.vue


+ 0 - 74
src/pages/client/CommunitySearch/index.vue

@@ -1,74 +0,0 @@
-
-<template>
-  <view class="search">
-    <view class="searchItem">
-      <u-search :showAction="true" actionText="取消" />
-    </view>
-
-    <view class="history">
-      <view class="historyTop">
-        <h3>推荐搜索</h3>
-      </view>
-      <view class="label">
-        <u-tag text="标签" type="warning" shape="circle"></u-tag>
-        <u-tag text="标签" type="warning" shape="circle"></u-tag>
-        <u-tag text="标签" type="warning" shape="circle"></u-tag>
-        <u-tag text="标签" type="warning" shape="circle"></u-tag>
-        <u-tag text="标签" type="warning" shape="circle"></u-tag>
-      </view>
-    </view>
-  </view>
-</template>
-
-<script>
-export default {
-
-}
-</script>
-
-<style lang="scss" scoped>
-.search {
-  height: 1400rpx;
-  background-color: #efefef;
-
-  .searchItem {
-    padding: 0 20rpx;
-    height: 90rpx;
-    line-height: 90rpx;
-    background-color: #fff;
-    margin-bottom: 10rpx;
-  }
-
-  .history {
-    padding: 20rpx;
-    margin-bottom: 50rpx;
-
-    .historyTop {
-      display: flex;
-      justify-content: space-between;
-      margin-bottom: 20rpx;
-      .historyRight {
-        margin-top: 10rpx;
-        display: flex;
-        font-size:24rpx;
-        .icon-sanjiaoxing1{
-          margin: 5rpx 5rpx 0 0;
-          font-size: 26rpx; 
-        }
-      }
-      h3 {
-        font-size: 34rpx;
-        font-weight: bold;
-        color:#404045;
-      }
-    }
-    .label{
-      display: flex;
-      width: 120rpx;
-      .labelItem{
-        margin-right: 20rpx;
-      }
-    }
-  }
-}
-</style>

+ 0 - 210
src/pages/client/allComments/index.vue

@@ -1,210 +0,0 @@
-<template>
-    <view>
-      <view>
-        <view class="top-nav">
-          <view class="nav-left" @click="backTop">
-            <u-icon name="arrow-left"></u-icon>
-            <view class="left-text">返回</view>
-          </view>
-          <u-tabs v-if="isAllReply" :list="list" :is-scroll="false" :current="current" @change="change"></u-tabs>
-          <u-icon name="search" size="25" @click="searchTop"></u-icon>
-        </view>
-        <view>
-          <view class="album">
-            <view class="album__avatar">
-              <image src="/static/uview/common/logo.png" style="width: 32px; height: 32px"></image>
-            </view>
-            <view class="album__content">
-              <u--text :text="niackName" bold size="17"></u--text>
-              <u--text
-                margin="0 0 8px 0"
-                style="padding-top: 7px"
-                text="全面的组件和便捷的工具会让您信手拈来,如鱼得水全面的组件和便捷的工具会让您信手拈来,如鱼得水全面的组件和便捷的工具会让您信手拈来,如鱼得水全面的组件和便捷的工具会让您信手拈来,如鱼得水全面的组件和便捷的工具会让您信手拈来,如鱼得水"
-              >
-              </u--text>
-              <u-album :urls="urls2"></u-album>
-            </view>
-          </view>
-          <view class="reply-info">
-            <view class="reply-left">
-              <u-icon name="red-packet" size="30px"></u-icon>
-              <u--text :text="followNum" size="22px"></u--text>
-            </view>
-            <view class="reply-right">
-              <u-icon name="thumb-up-fill" size="30px"></u-icon>
-              <u-icon name="chat-fill" size="30px" @click="allReply"></u-icon>
-              <u-icon name="share-fill" size="30px"></u-icon>
-            </view>
-          </view>
-        </view>
-        <view v-if="showAllCom">
-          <view class="all-comments">
-            <view>
-              <u--text sizi="15px" text="全部评论"> </u--text>
-            </view>
-            <view class="comment-order">
-              <u-subsection fontSize="15px" :list="subsectionList" :current="subsectionListCurrent" @change="changeCom"></u-subsection>
-            </view>
-          </view>
-          <view class="album">
-            <view class="album__avatar">
-              <image src="/static/uview/common/logo.png" style="width: 32px; height: 32px"></image>
-            </view>
-            <view class="album__content">
-              <u--text :text="niackName" bold size="17"></u--text>
-              <u--text
-                margin="0 0 8px 0"
-                style="padding-top: 9px"
-                text="全面的组件和便捷的工具会让您信手拈来,如鱼得水全面的组件和便捷的工具会让您信手拈来,如鱼得水全面的组件和便捷的工具会让您信手拈来,如鱼得水全面的组件和便捷的工具会让您信手拈来,如鱼得水全面的组件和便捷的工具会让您信手拈来,如鱼得水"
-              >
-              </u--text>
-            </view>
-          </view>
-        </view>
-      </view>
-    </view>
-  </template>
-  <script>
-  export default {
-    data() {
-      return {
-        list: [
-          {
-            name: '关注',
-          },
-          {
-            name: '推荐',
-          },
-        ],
-        current: 0,
-        subsectionListCurrent: 0,
-        subsectionList: ['最新', '推荐'],
-        isAllReply: true,
-        showAllCom: false,
-        searching: false,
-        isSearch: true,
-        followNum: 111111,
-        urls2: [
-          'https://cdn.uviewui.com/uview/album/1.jpg',
-          'https://cdn.uviewui.com/uview/album/2.jpg',
-          'https://cdn.uviewui.com/uview/album/3.jpg',
-          'https://cdn.uviewui.com/uview/album/4.jpg',
-          'https://cdn.uviewui.com/uview/album/5.jpg',
-          'https://cdn.uviewui.com/uview/album/6.jpg',
-          'https://cdn.uviewui.com/uview/album/7.jpg',
-          'https://cdn.uviewui.com/uview/album/8.jpg',
-          'https://cdn.uviewui.com/uview/album/9.jpg',
-          'https://cdn.uviewui.com/uview/album/10.jpg',
-        ],
-        niackName: '昵称昵称昵称',
-        followInfo: '昵称昵称昵称昵称昵称昵称昵称昵称昵称昵称昵称昵称昵称昵称昵称昵称昵称昵称昵称昵称昵称',
-        keyword: '123',
-        searchCon: '',
-        src: 'http://pic2.sc.chinaz.com/Files/pic/pic9/202002/hpic2119_s.jpg',
-      };
-    },
-    methods: {
-      change(index) {
-        this.current = index;
-      },
-      backTop() {
-        this.isAllReply = true;
-        this.showAllCom = true;
-      },
-      searchTop() {
-        // this.isSearch = false;
-        // this.searching = true;
-        uni.navigateTo({
-          url: "/pages/client/CommunitySearch/index",
-        })
-      },
-      allReply() {
-        this.isAllReply = false;
-        this.showAllCom = true;
-      },
-      changeCom(index) {
-        this.subsectionListCurrent = index;
-      },
-      getFocus() {},
-      cancelSearch() {
-        this.isSearch = true;
-        this.searching = false;
-      },
-    },
-  };
-  </script>
-  <style lang="scss" scoped>
-  .top-nav {
-    width: 100%;
-    height: 50px;
-    display: flex;
-    justify-content: space-between;
-  }
-  
-  .nav-left {
-    display: flex;
-  }
-  
-  .left-text {
-    font-size: 15px;
-    padding-top: 22%;
-    padding-left: 5px;
-  }
-  
-  .album {
-    display: flex;
-  }
-  
-  .album__avatar {
-    padding: 5px;
-    border-radius: 3px;
-  }
-  
-  .album__content {
-    margin-left: 10px;
-    flex: 1;
-  }
-  
-  .reply-info {
-    margin-top: 15px;
-    margin-left: 15px;
-    display: flex;
-    justify-content: space-between;
-  }
-  
-  .reply-left {
-    display: flex;
-  }
-  
-  .reply-right {
-    display: flex;
-  }
-  
-  .all-comments {
-    margin: 15px 0 10px 12px;
-    display: flex;
-    justify-content: space-between;
-  }
-  
-  .comment-order {
-    width: 100px;
-  }
-  
-  .comment-order .u-subsection__item {
-    display: flex;
-    justify-content: center;
-  }
-  
-  .comment-order .u-subsection--button {
-    border: 0.2px solid;
-    border-radius: 55px;
-  }
-  .search-content {
-    display: flex;
-  }
-  .search-tags {
-    display: flex;
-    justify-content: space-around;
-  }
-  </style>
-  

+ 0 - 9
src/pages/client/checkIn/index.vue

@@ -1,9 +0,0 @@
-<template>
-  <view> 积分签到 </view>
-</template>
-
-<script>
-export default {};
-</script>
-
-<style lang="scss" scoped></style>

+ 0 - 0
src/pages/client/search/index.vue → src/pages/common/search/index.vue


+ 0 - 9
src/pages/community/commDetail/index.vue

@@ -1,9 +0,0 @@
-<template>
-  <div>动态详情</div>
-</template>
-
-<script>
-export default {};
-</script>
-
-<style lang="scss" scoped></style>

+ 0 - 9
src/pages/community/commSearch/index.vue

@@ -1,9 +0,0 @@
-<template>
-  <div>搜索</div>
-</template>
-
-<script>
-export default {};
-</script>
-
-<style lang="scss" scoped></style>

+ 0 - 9
src/pages/message/evaluate/index.vue

@@ -1,9 +0,0 @@
-<template>
-  <view>评价通知</view>
-</template>
-
-<script>
-export default {};
-</script>
-
-<style lang="scss" scoped></style>

+ 0 - 9
src/pages/message/favorable/index.vue

@@ -1,9 +0,0 @@
-<template>
-  <view>优惠福利</view>
-</template>
-
-<script>
-export default {};
-</script>
-
-<style lang="scss" scoped></style>

+ 0 - 9
src/pages/message/info/index.vue

@@ -1,9 +0,0 @@
-<template>
-    <view>私聊页面</view>
-  </template>
-  
-  <script>
-  export default {};
-  </script>
-  
-  <style lang="scss" scoped></style>

+ 0 - 61
src/pages/message/order/index.vue

@@ -1,61 +0,0 @@
-<template>
-  <view>
-    <view style="display: flex;justify-content: space-between;margin: 8px;">
-      <view>
-        <h1>订单通知</h1>
-        <h3>共 {{ total }} 条新订单</h3>
-      </view>
-      <view @click="allRead">
-        <h2 align="right">全部已读</h2>
-      </view>
-    </view>
-    <view style="margin-top: 25px;margin-left: 25px;">
-      <h2>待处理订单</h2>
-      <view style="margin-top: 10px;margin-left: 15px;">
-        <h3>订单编号:{{ waitOrder }}</h3>
-        <h3>客户名称:{{ waitName }}</h3>
-        <h3>订单金额:{{ waitMoney }}</h3>
-        <h3>下单时间:{{ waittime }}</h3>
-      </view>
-    </view>
-    <view style="margin-top: 25px;margin-left: 25px;">
-      <h2>待处理订单</h2>
-      <view style="margin-top: 10px;margin-left: 15px;">
-        <h3>订单编号:{{ waitOrder }}</h3>
-        <h3>客户名称:{{ waitName }}</h3>
-        <h3>订单金额:{{ waitMoney }}</h3>
-        <h3>下单时间:{{ waittime }}</h3>
-      </view>
-    </view>
-    <view style="margin-top: 25px;margin-left: 25px;">
-      <h2>新订单提醒</h2>
-      <view style="margin-top: 10px;margin-left: 15px;">
-        <h3>订单编号:{{ waitOrder }}</h3>
-        <h3>客户名称:{{ waitName }}</h3>
-        <h3>订单金额:{{ waitMoney }}</h3>
-        <h3>下单时间:{{ waittime }}</h3>
-      </view>
-    </view>
-  </view>
-</template>
-
-<script>
-  export default {
-    data() {
-      return {
-        total: 3,
-        waitName: '张三',
-        waitOrder: 999999999,
-        waitMoney: 999,
-        waittime: "2022-01-01 12:00:00",
-      };
-    },
-    methods: {
-      allRead() {
-
-      },
-    },
-  };
-</script>
-
-<style lang="scss" scoped></style>

+ 0 - 65
src/pages/message/payment/index.vue

@@ -1,65 +0,0 @@
-<template>
-  <view>
-    <view style="margin-top: 15px;">
-      <view style="display: flex;justify-content: center;">
-        <u-icon name="checkmark-circle-fill" color="#16a34a" size="60"></u-icon>
-      </view>
-      <view style="display: flex;justify-content: center;">
-        <h1>付款成功</h1>
-      </view>
-    </view>
-    <view style="margin: 15px 0px 0px 15px;">
-      <h3>订单号:{{ orderNum }}</h3>
-      <h3>付款方式:{{ payStyle }}</h3>
-      <h3>付款金额:{{ orderMon }}</h3>
-    </view>
-    <view style="margin: 15px 0px 0px 15px;">
-      <h2>商品名称:{{ productName }}</h2>
-      <h3>规格:个 x{{number}}</h3>
-      <h3>商家名称:{{ name }}</h3>
-    </view>
-    <view style="margin: 15px 0px 0px 15px;">
-      <h2>收件人:{{ productName }}</h2>
-      <h2>联系电话:{{ orderNum }}</h2>
-      <h3>收货地址:{{ name }}</h3>
-      <h3>订单备注:{{ name }}</h3>
-    </view>
-    <view style="margin: 15px 0px 0px 15px;">
-      <h2>物流状态:{{ tranStatu }}</h2>
-      <h3>物流公司:{{ tranName }}</h3>
-      <h3>物流单号:{{ tranNum }}</h3>
-    </view>
-    <view style="margin: 15px 0px 0px 15px;">
-      <view style="display: flex;justify-content: center;">
-        <h3>创建时间:{{ waittime }}</h3>
-      </view>
-      <view style="display: flex;justify-content: center;">
-        <h3>付款时间:{{ waittime }}</h3>
-      </view>
-    </view>
-    <view style="display: flex;justify-content: center;margin: 15px 0px 0px 15px;">
-      <h3>客服热线:400-8888-8888</h3>
-    </view>
-  </view>
-</template>
-
-<script>
-  export default {
-    data() {
-      return {
-        orderNum: 9999999999999,
-        tranNum: 9999999999999,
-        payStyle: '微信支付',
-        productName: '洗车',
-        name: '成都王牌汽车保养店',
-        tranStatu: '已发货',
-        tranName: '成都王牌汽车保养店',
-        number: 3,
-        orderMon: 99999,
-        waittime: "2022年01月01日 12:00:00",
-      };
-    },
-  };
-</script>
-
-<style lang="scss" scoped></style>

+ 0 - 9
src/pages/message/upvote/index.vue

@@ -1,9 +0,0 @@
-<template>
-  <view>点赞回复</view>
-</template>
-
-<script>
-export default {};
-</script>
-
-<style lang="scss" scoped></style>

+ 0 - 13
src/pages/my/inquiry/index.vue

@@ -1,13 +0,0 @@
-<template>
-  <view>
-    询价
-  </view>
-</template>
-
-<script>
-export default {
-
-}
-</script>
-
-<style lang="scss" scoped></style>

+ 0 - 0
src/pages/my/myOrder/index.vue


+ 0 - 145
src/pages/my/personalCenter/index copy.vue

@@ -1,145 +0,0 @@
-<template>
-  <view class="container">
-    <view class="box">
-      <view class="card-wrap">
-        <u-cell-group :border="false">
-          <u-cell title="头像">
-            <button
-              slot="value"
-              class="open-btn"
-              open-type="chooseAvatar"
-              @chooseavatar="chooseAvatar"
-              plain="true"
-            >
-              <u-avatar size="60" :src="user_info.avatar"></u-avatar>
-            </button>
-          </u-cell>
-          <u-cell title="昵称" :border="false">
-            <view slot="value">
-              <input
-                inputAlign="right"
-                slot="value"
-                class="open-input"
-                type="nickname"
-                maxlength="16"
-                minlength="2"
-                v-model="user_info.nickname"
-                placeholder="请输入昵称"
-                @change="nicknameChange"
-              />
-            </view>
-          </u-cell>
-          <u-cell title="绑定手机号" :border="false">
-            <view slot="value">
-              <input
-                inputAlign="right"
-                slot="value"
-                class="open-input"
-                maxlength="16"
-                minlength="2"
-                v-model="user_info.mobile"
-                readonly
-              />
-            </view>
-          </u-cell>
-        </u-cell-group>
-      </view>
-    </view>
-    <view class="btn-wrap">
-      <u-button
-        type="primary"
-        shape="circle"
-        @tap="submit"
-        :loading="loading"
-        :loadingText="loadingText"
-        >保存</u-button
-      >
-    </view>
-  </view>
-</template>
-
-<script>
-import { mapGetters } from 'vuex';
-import { uploadFile } from '@/utils/request';
-import { updateUserInfo } from '@/api/user';
-export default {
-  computed: {
-    ...mapGetters(['user_info']),
-  },
-  data() {
-    return {
-      loading: false,
-      loadingText: '正在保存',
-    };
-  },
-  methods: {
-    chooseAvatar(e) {
-      uploadFile(e.detail.avatarUrl)
-        .then(res => {
-          const result = JSON.parse(res);
-          this.user_info.avatar = result.data;
-        })
-        .catch(err => {
-          uni.$u.toast(err);
-        });
-    },
-    nicknameChange(e) {
-      this.user_info.nickname = e.detail.value;
-    },
-    submit() {
-      // TODO: check user information
-      // if (!this.user_info.avatar.length) return uni.$u.toast('请上传您的头像');
-      // if (!this.user_info.nickname.length)
-      //   return uni.$u.toast('请输入您的昵称');
-      // if (!this.user_info.mobile.length)
-      //   return uni.$u.toast('请输入您的手机号');
-      this.loading = true;
-      const param = {
-        avatar: this.user_info.avatar,
-        nickname: this.user_info.nickname,
-      };
-      updateUserInfo(param)
-        .then(res => {
-          this.$store.dispatch('GetUserInfo');
-          this.loading = false;
-        })
-        .catch(err => {
-          this.loading = false;
-        });
-    },
-  },
-};
-</script>
-
-<style lang="scss" scoped>
-.container {
-  height: 100vh;
-  position: relative;
-  .box {
-    padding: 20rpx 20rpx 0 20rpx;
-    box-sizing: border-box;
-    .open-btn {
-      border: none;
-    }
-
-    .open-input {
-      text-align: right;
-      border: none;
-    }
-
-    .card-wrap {
-      border-radius: 20rpx;
-      background-color: #ffffff;
-    }
-  }
-  .btn-wrap {
-    width: 100vw;
-    padding: 20rpx;
-    box-sizing: border-box;
-    position: absolute;
-    bottom: 0;
-    display: flex;
-    justify-content: center;
-  }
-}
-</style>

+ 0 - 9
src/pages/pointMethod/advertise/index.vue

@@ -1,9 +0,0 @@
-<template>
-  <view> 广告</view>
-</template>
-
-<script>
-export default {};
-</script>
-
-<style lang="scss" scoped></style>

+ 0 - 9
src/pages/pointMethod/comment/index.vue

@@ -1,9 +0,0 @@
-<template>
-  <view> 点评</view>
-</template>
-
-<script>
-export default {};
-</script>
-
-<style lang="scss" scoped></style>

+ 0 - 9
src/pages/pointMethod/consume/index.vue

@@ -1,9 +0,0 @@
-<template>
-  <view> 消费</view>
-</template>
-
-<script>
-export default {};
-</script>
-
-<style lang="scss" scoped></style>

+ 0 - 9
src/pages/pointMethod/foren/index.vue

@@ -1,9 +0,0 @@
-<template>
-  <view> 发帖</view>
-</template>
-
-<script>
-export default {};
-</script>
-
-<style lang="scss" scoped></style>

+ 0 - 9
src/pages/pointMethod/recover/index.vue

@@ -1,9 +0,0 @@
-<template>
-  <view> 回帖</view>
-</template>
-
-<script>
-export default {};
-</script>
-
-<style lang="scss" scoped></style>

+ 0 - 9
src/pages/pointMethod/share/index.vue

@@ -1,9 +0,0 @@
-<template>
-  <view> 分享</view>
-</template>
-
-<script>
-export default {};
-</script>
-
-<style lang="scss" scoped></style>

+ 0 - 9
src/pages/points/activity/index.vue

@@ -1,9 +0,0 @@
-<template>
-  <view> 积分活动 </view>
-</template>
-
-<script>
-export default {};
-</script>
-
-<style lang="scss" scoped></style>

+ 0 - 3
src/pages/points/checkIn/index.vue

@@ -1,3 +0,0 @@
-<template>
-
-</template>

+ 0 - 9
src/pages/points/detail/index.vue

@@ -1,9 +0,0 @@
-<template>
-  <view> 积分明细 </view>
-</template>
-
-<script>
-export default {};
-</script>
-
-<style lang="scss" scoped></style>

+ 0 - 9
src/pages/points/instructions/index.vue

@@ -1,9 +0,0 @@
-<template>
-  <view> 积分说明 </view>
-</template>
-
-<script>
-export default {};
-</script>
-
-<style lang="scss" scoped></style>

+ 0 - 3
src/pages/points/myPoints/index.vue

@@ -1,3 +0,0 @@
-<template>
-
-</template>

+ 0 - 9
src/pages/points/withdraw/index.vue

@@ -1,9 +0,0 @@
-<template>
-  <view> 积分提现 </view>
-</template>
-
-<script>
-export default {};
-</script>
-
-<style lang="sass" scoped></style>

+ 8 - 8
src/pages/tabbar/mine/index.vue

@@ -4,7 +4,7 @@
       <view class="content">
         <view
           class="avatar-wrap"
-          @tap="$Router.push('/pages/my/personalCenter/index')"
+          @tap="$Router.push('/pages/user/personalCenter/index')"
         >
           <u-avatar :src="user_info.avatar" size="80"></u-avatar>
         </view>
@@ -15,7 +15,7 @@
             <view class="btn-wrap">
               <view
                 class="btn-content"
-                @tap="$Router.push('/pages/my/settings/index')"
+                @tap="$Router.push('/pages/user/settings/index')"
                 >设置</view
               >
               <view class="btn-content">认证</view>
@@ -55,7 +55,7 @@
       <!-- 我的订单 -->
       <view
         class="order-out-box"
-        @tap="$Router.push('/pages/my/myOrder/index')"
+        @tap="$Router.push('/pages/user/myOrder/index')"
       >
         <view class="order-inner-box">
           <u-grid :border="false" col="4" style="background-color: #fff">
@@ -102,7 +102,7 @@
         icon="setting-fill"
         title="预约列表"
         isLink
-        url="/pages/my/appoint/index"
+        url="/pages/user/appoint/index"
       />
     </view>
 
@@ -156,22 +156,22 @@ export default {
         {
           name: 'photo',
           title: '收藏',
-          url: '/pages/my/collect/index',
+          url: '/pages/user/collect/list',
         },
         {
           name: 'lock',
           title: '积分',
-          url: '/pages/my/score/index',
+          url: '/pages/user/score/index',
         },
         {
           name: 'star',
           title: '询价记录',
-          url: '/pages/my/inquiry/index',
+          url: '/pages/user/inquiry/index',
         },
         {
           name: 'hourglass',
           title: '优惠券',
-          url: '/pages/my/coupon/index',
+          url: '/pages/user/coupon/index',
         },
       ],
       list2: [

+ 4 - 4
src/pages/my/appoint/index.vue → src/pages/user/appoint/index.vue

@@ -11,7 +11,7 @@
           <view>联系方式:18285564342</view>
         </view>
         <view class="appoint-goto">
-          <view class="detail" @tap="$Router.push('/pages/my/appointDetail/index')">详情</view>
+          <view class="detail" @tap="$Router.push('/pages/user/appointDetail/index')">详情</view>
           <view class="cancel" @click="show = true">取消</view>
         </view>
       </view>
@@ -32,7 +32,7 @@
           <view>联系方式:18285564342</view>
         </view>
         <view class="appoint-goto">
-          <view class="detail" @tap="$Router.push('/pages/my/appointDetail/index')">详情</view>
+          <view class="detail" @tap="$Router.push('/pages/user/appointDetail/index')">详情</view>
           <view class="cancel" @click="show = true">取消</view>
         </view>
       </view>
@@ -54,7 +54,7 @@
           <view>联系方式:18285564342</view>
         </view>
         <view class="appoint-goto">
-          <view class="detail" @tap="$Router.push('/pages/my/appointDetail/index')">详情</view>
+          <view class="detail" @tap="$Router.push('/pages/user/appointDetail/index')">详情</view>
           <view class="cancel" @click="show = true">取消</view>
         </view>
       </view>
@@ -170,4 +170,4 @@ export default {
     }
   }
 }
-</style>
+</style>

+ 1 - 4
src/pages/my/collect/index.vue → src/pages/user/collect/list.vue

@@ -3,10 +3,7 @@
     <view class="text">以下是您收藏的商品服务</view>
 
     <!-- 收藏的服务 -->
-    <service />
-    <service />
-    <service />
-    <service />
+    <service v-for="item in 10" />
   </view>
 </template>
 

+ 0 - 0
src/pages/my/coupon/index.vue → src/pages/user/coupon/index.vue


+ 1 - 1
src/pages/my/personalCenter/index.vue → src/pages/user/info/index.vue

@@ -9,7 +9,7 @@
       <view class="info-box">
         <view class="info-avatar">
           <Image src="https://cdn.uviewui.com/uview/album/1.jpg" />
-          <view class="edit" @tap="$Router.push('/pages/my/editData/index')">
+          <view class="edit" @tap="$Router.push('/pages/user/editData/index')">
             <u-icon name="edit-pen" color="#4688b6" />
             <view> 编辑资料</view>
           </view>

+ 0 - 0
src/pages/my/editData/index.vue → src/pages/user/info/update.vue


+ 0 - 0
src/pages/my/score/index.vue → src/pages/user/score/index.vue


+ 0 - 0
src/pages/my/settings/index.vue → src/pages/user/settings/index.vue