zhangdan 4 年之前
父節點
當前提交
f55b3657a4
共有 2 個文件被更改,包括 16 次插入14 次删除
  1. 11 10
      src/views/userInfo/userDetails.vue
  2. 5 4
      src/views/userInfo/userManageList.vue

+ 11 - 10
src/views/userInfo/userDetails.vue

@@ -3,26 +3,28 @@
     <a-row :gutter="48">
       <a-col :span="24" class="item-cont item-img">
         <p class="item-label" style="line-height: 37px;">头像:</p>
-		<img v-if="page.headImageUrl" :src="page.headImageUrl" alt="" class="img">
-        <p class="item-main" v-else>--</p>
+        <img v-if="page.headImageUrl" :src="page.headImageUrl" alt="" class="img">
+        <p class="item-main" style="line-height: 37px;" v-else>--</p>
       </a-col>
       <a-col :span="24" class="item-cont">
         <p class="item-label">手机号码:</p>
         <p class="item-main">{{ page.mobile ? page.mobile : '--' }}</p>
-        <a style="margin-left: 100px; color: #2D8CF0;" @click="editPhone">修改手机号码</a>
+        <a-icon type="edit" title="修改手机号码" style="font-size: 20px;color: #1890FF;padding: 0 10px;" @click="editPhone" />
+        <!-- <a style="margin-left: 100px; color: #2D8CF0;" @click="editPhone">修改手机号码</a> -->
       </a-col>
       <a-col :span="24" class="item-cont">
         <p class="item-label">收货地址:</p>
-        <p class="item-main">{{page.receiveAddressList ? page.receiveAddressList[0].receiveAddress : '--'}}</p>
+        <p class="item-main">{{ page.receiveAddressList ? page.receiveAddressList[0].receiveAddress : '--' }}</p>
       </a-col>
       <a-col :span="24" class="item-cont">
         <p class="item-label">乐豆余额:</p>
-        <p class="item-main">{{ page.currentGold ? page.currentGold : '--' }}</p>
-        <a style="margin-left: 145px; color: #2D8CF0;" @click="editLd(page)">修改乐豆余额</a>
+        <p class="item-main">{{ page.currentGold ? page.currentGold : 0 }}</p>
+        <a-icon type="edit" title="修改乐豆余额" style="font-size: 20px;color: #1890FF;padding: 0 10px;" @click="editLd(page)" />
+        <!-- <a style="margin-left: 145px; color: #2D8CF0;" @click="editLd(page)">修改乐豆余额</a> -->
       </a-col>
       <a-col :span="24" class="item-cont">
         <p class="item-label">累计乐豆:</p>
-        <p class="item-main">{{ page.totalCarbon ? page.totalCarbon :'--' }}</p>
+        <p class="item-main">{{ page.totalCarbon ? page.totalCarbon :0 }}</p>
       </a-col>
       <a-col :span="24" class="item-cont">
         <p class="item-label">账户状态:</p>
@@ -116,11 +118,10 @@ export default {
 		display: flex;
 		margin: 10px 10px 10px 50px;
 	}
-	
+
 		.img{
 			width:50px;
 			border-radius:50% ;
 		}
-	
-	
+
 </style>

+ 5 - 4
src/views/userInfo/userManageList.vue

@@ -236,7 +236,7 @@ export default {
     },
     // 重置
     handleReset () {
-      this.queryParam.contactPhone = ''
+      this.queryParam.mobile = ''
       this.queryParam.currentGoldMin = ''
       this.queryParam.currentGoldMax = ''
       this.queryParam.state = ''
@@ -245,9 +245,10 @@ export default {
     // 导出
     handleExport () {
       const params = {
-        contactPhone: this.queryParam.contactPhone,
-        orderNo: this.queryParam.orderNo,
-        orderStatus: this.queryParam.orderStatus
+        mobile: this.queryParam.mobile,
+        currentGoldMin: this.queryParam.currentGoldMin,
+        currentGoldMax: this.queryParam.currentGoldMax,
+        state: this.queryParam.state = ''
       }
       this.loading = true
       customeExport(params).then(res => {