浏览代码

1.我的,设置相关

guo 3 年之前
父节点
当前提交
2873d4f852
共有 8 个文件被更改,包括 33 次插入42 次删除
  1. 2 12
      pages/iPhone/addphone.vue
  2. 1 1
      pages/me/feedBack.vue
  3. 4 2
      pages/me/intimity.vue
  4. 13 9
      pages/me/me.vue
  5. 2 2
      pages/me/myAppraise.vue
  6. 7 14
      pages/me/setup.vue
  7. 4 2
      pages/me/treaty.vue
  8. 二进制
      static/img/icon_del.png

+ 2 - 12
pages/iPhone/addphone.vue

@@ -80,7 +80,7 @@ export default {
 			    success: function (res) {
 			        if (res.confirm) {
 			          uni.showLoading({ });
-			          that.$http('miniAppMyBMemberCar/deleteBMemberContact', {
+			          that.$http('worldKeepCar/keepCarMy/deleteTMemberContact', {
 			            id:that.id
 			           },'POST').then(res => {
 			          	uni.hideLoading();
@@ -170,17 +170,7 @@ export default {
 				  }
 			})
 		},
-		getList(){
-			uni.showLoading({ });
-			this.$http('miniAppMyBMemberCar/listBMemberContactPage', {
-			  page:this.page,
-			  limit:10,
-			 },'GET').then(res => {
-				  uni.hideLoading();
-				  var a=res.data.Items
-				  this.phoneList=this.phoneList.concat(a);	
-			})
-		},
+		
         login(){
 			uni.navigateTo({
 				url:'../login/login'

+ 1 - 1
pages/me/feedBack.vue

@@ -130,7 +130,7 @@
 				// }
 				uni.showLoading({});
 				var exeImg = this.imgArr.join(',')
-				this.$http('miniAppMyBMemberCar/addBMemberSuggest', {
+				this.$http('worldKeepCar/keepCarMy/addTMemberSuggest', {
 					
 					contents: this.exeContent,
 					img: exeImg

+ 4 - 2
pages/me/intimity.vue

@@ -21,8 +21,10 @@
 				uni.showLoading({
 					title: '加载中'
 				})
-				let url = 'miniAppMyBMemberCar/Privacy',
-					params = {}
+				let url = 'worldKeepCar/keepCarMy/queryTAbouts',
+					params = {
+						type:1
+					}
 				this.$http(url, params, 'GET').then(res => {
 					uni.hideLoading();
 

+ 13 - 9
pages/me/me.vue

@@ -10,7 +10,7 @@
 				<view class="nickName">{{ueserInfo.memberInfo.nickName}}</view>
 			</view>
 			<view>
-				<image src="../../static/img/icon_set.png" mode="" class="setImg" @click="gonavigateTo('setup')">
+				<image src="../../static/img/icon_set.png" mode="" class="setImg" @click="goSet()">
 				</image>
 			</view>
 		</view>
@@ -29,21 +29,21 @@
 			<view class="orderLIneBox">
 				<view class="orderLine" @click="goorder(1)">
 					<view class="orderImgBox">
-						<view class="orderNum" v-show="numList.sheetOne>0">{{numList.sheetOne}}</view>
+						<view class="orderNum" v-show="numList.sheetStateOne>0">{{numList.sheetStateOne}}</view>
 						<image src="../../static/img/icon_daifukuan.png" mode="" class="orderLineImg"></image>
 					</view>
 					<view class="orderLineTxt">待付款</view>
 				</view>
 				<view class="orderLine" @click="goorder(2)">
 					<view class="orderImgBox">
-						<view class="orderNum" v-show="numList.sheetTwo>0">{{numList.sheetTwo}}</view>
+						<view class="orderNum" v-show="numList.sheetStateTwo>0">{{numList.sheetStateTwo}}</view>
 						<image src="../../static/img/icon_daiqueren.png" mode="" class="orderLineImg"></image>
 					</view>
 					<view class="orderLineTxt">待确认</view>
 				</view>
 				<view class="orderLine" @click="goorder(3)">
 					<view class="orderImgBox">
-						<view class="orderNum" v-show="numList.sheetThree>0">{{numList.sheetThree}}</view>
+						<view class="orderNum" v-show="numList.sheetStateThree>0">{{numList.sheetStateThree}}</view>
 						<image src="../../static/img/icon_daiyuyue.png" mode="" class="orderLineImg"></image>
 					</view>
 					<view class="orderLineTxt">待收货</view>
@@ -51,14 +51,14 @@
 
 				<view class="orderLine" @click="goorder(4)">
 					<view class="orderImgBox">
-						<view class="orderNum" v-show="numList.sheetFour>0">{{numList.sheetFour}}</view>
+						<view class="orderNum" v-show="numList.sheetStateFour>0">{{numList.sheetStateFour}}</view>
 						<image src="../../static/img/icon_daifuwu.png" mode="" class="orderLineImg"></image>
 					</view>
 					<view class="orderLineTxt">待服务</view>
 				</view>
 				<view class="orderLine" @click="goorder(5)">
 					<view class="orderImgBox">
-						<view class="orderNum" v-show="numList.sheetFive>0">{{numList.sheetFive}}</view>
+						<view class="orderNum" v-show="numList.sheetEvaluateState>0">{{numList.sheetEvaluateState}}</view>
 						<image src="../../static/img/icon_daipingjia.png" mode="" class="orderLineImg"></image>
 					</view>
 					<view class="orderLineTxt">待评价</view>
@@ -132,7 +132,7 @@
 					<view class="rowTitle">联系我们</view>
 				</view>
 				<view class="rightView" @click="call('400-203-221')">
-					<view style="color: #666666; font-size: 28rpx; margin-right: 20rpx;">400-203-221</view>
+					<view style="color: #666666; font-size: 28rpx; margin-right: 20rpx;">{{numList.tAbouts.contents}}</view>
 					<image src="../../static/img/rightArrow.png" mode="" class="rightArrow"></image>
 				</view>
 			</view>
@@ -181,7 +181,11 @@
 			this.queryMyDetail();
 		},
 		methods: {
-			
+			goSet(){
+				uni.navigateTo({
+					url:'setup?phone='+this.numList.tMember.phone
+				})
+			},
 			call(e) {
 				// console.log(e);
 				uni.makePhoneCall({
@@ -200,7 +204,7 @@
 			},
 			queryMyDetail() {
 				uni.showLoading({});
-				this.$http('miniAppMyBMemberCar/queryMyDetail', {
+				this.$http('worldKeepCar/keepCarMy/queryMyDetail', {
 
 				}, 'GET').then(res => {
 					uni.hideLoading();

+ 2 - 2
pages/me/myAppraise.vue

@@ -25,7 +25,7 @@
 							<!-- 星星 -->
 							<uni-rate :value="item.Overallevaluation" :max="5" color="#EEEEEE" active-color="#FF4F00"
 								:size="16" :margin="4" :readonly="true" />
-							<image src="../../static/img/review_icon_del@2x.png" class="deleteBtn"
+							<image src="../../static/img/icon_del.png" class="deleteBtn"
 								@click.stop="deleteItem(item, index)"></image>
 						</view>
 
@@ -143,7 +143,7 @@
 				uni.showLoading({
 					title: '加载中'
 				})
-				let url = 'miniAppMyBMemberCar/listBMEvaluatePage',
+				let url = 'worldKeepCar/keepCarMy/listTMEvaluatePage',
 					params = {
 						page: this.page,
 						limit: 20,

+ 7 - 14
pages/me/setup.vue

@@ -8,7 +8,7 @@
 			</view>
 			<view class="line">
 				<view class="lineTitle">手机号</view>
-				<view class="lineCont">{{iphoneData.phone}}</view>
+				<view class="lineCont">{{phoneNum}}</view>
 			</view>
 			<view class="line boderNo">
 				<view class="lineTitle">真实姓名</view>
@@ -53,20 +53,21 @@ export default {
 	data() {
 		return {
 			ueserInfo:'',
-			iphoneData:'',
+			phoneNum:'',
 			name:'',
 		}
 	},
-	onLoad() {
+	onLoad(opt) {
       this.ueserInfo=uni.getStorageSync("logodata");
+	  this.phoneNum = opt.phone
 	},
 	onShow() {
-		this.getIphoneData()
+		
 	},
 	methods: {
 		updateBmember(){
 			if(this.name!=''){
-				this.$http('miniAppMyBMemberCar/updateBmember', {
+				this.$http('worldKeepCar/keepCarMy/updateTmember', {
 					name:this.name		 
 				},'POST').then(res => {
 				    if(res.code==0){
@@ -82,15 +83,7 @@ export default {
 			}
 			
 		},
-		getIphoneData(){
-		   uni.showLoading({ });
-		   this.$http('miniAppMyBMemberCar/queryBMemberContactIsDefault', {
-			 
-			},'GET').then(res => {
-			  uni.hideLoading();
-			  this.iphoneData=res.data;	
-		   })
-		},
+		
 		signOut(){
 			 //uni.clearStorageSync();
 			 uni.removeStorageSync('logodata');

+ 4 - 2
pages/me/treaty.vue

@@ -21,8 +21,10 @@
 				uni.showLoading({
 					title: '加载中'
 				})
-				let url = 'miniAppMyBMemberCar/userAgreement',
-					params = {}
+				let url = 'worldKeepCar/keepCarMy/queryTAbouts',
+					params = {
+						type:2,
+					}
 				this.$http(url, params, 'GET').then(res => {
 					uni.hideLoading();
 

二进制
static/img/icon_del.png