YZM 2 years ago
parent
commit
22172857f6
3 changed files with 20 additions and 19 deletions
  1. 9 0
      pages.json
  2. 5 11
      pages/dapei/index.vue
  3. 6 8
      pages/yifu/index.vue

+ 9 - 0
pages.json

@@ -316,6 +316,15 @@
 					"titleNView": false
 				}
 			}
+		},
+		{
+			"path": "pages/bianji/index",
+			"style": {
+				"navigationBarTitleText": "我的",
+				"app-plus":{
+					"titleNView": false
+				}
+			}
 		}
 	],
 	"tabBar": { 

+ 5 - 11
pages/dapei/index.vue

@@ -37,7 +37,7 @@
 					<text class="text-size-s ml-15">16°c~20°c</text>
 					<text class="text-size-s ml-15">星期一</text>
 				</view>
-				<view class="bianji" @click="dapei(1)">编辑穿搭</view>
+				<view class="bianji" @click="dapei()">编辑穿搭</view>
 			</view>
 		</scroll-view>
 		<div class="zhuti">
@@ -102,16 +102,10 @@ export default {
 				url: "/pages/bianji/index",
 			})
 		},
-		dapei(type){
-			if(type==1){
-				uni.navigateTo({
-					url: "/pages/dapeizidingyi/index?off="+type,
-				})
-			}else{
-				uni.navigateTo({
-					url: "/pages/dapeizidingyi/index?off="+type,
-				})
-			}
+		dapei(){
+			uni.navigateTo({
+				url: "/pages/dapeizidingyi/index?type=1",
+			})
 			
 		},
 		gengmore(){

+ 6 - 8
pages/yifu/index.vue

@@ -16,7 +16,7 @@
 					<view class="text-white text-align-center pt-20">衣物参数</view>
 					<view class="fr mr-20 xiugai" @click="xiugaiFun()">
 						<image src="/static/img/64.png" mode="widthFix"></image>
-						<text>修改</text>
+						<text>{{xianshi?'修改':'保存'}}</text>
 					</view>
 					<view class="you black mt-30">
 						<tm-input :disabled="xianshi" title="衣长" v-model="reqData.username" align="right"></tm-input>
@@ -90,7 +90,7 @@
 		<tm-poup v-model="show_1" :position="pos" class="tcc">
 			<view style="position: relative !important;">
 				<view style="height: 10px;"></view>
-				<tm-swiper :current="1" :indicator-dots="false" :round="6" :ani3d="190"  :autoplay="false" :list="list1"></tm-swiper>
+				<tm-swiper :current="0" :indicator-dots="false" :round="6" :ani3d="190"  :autoplay="false" :list="list1"></tm-swiper>
 				<view class="text-white text-align-center mt-15">丝缎质感纹理风衣</view>
 				<view class="text-white text-align-center mt-10 text-size-s">黑色 - 6518/320</view>
 				<image class="guayi" src="/static/img/102.png" mode="widthFix"></image>
@@ -119,9 +119,7 @@ export default {
 			pos:'center',
 			xianshi:true,
 			list1:[		
-				'../../static/img/100.png',
-				'../../static/img/100.png',
-				'../../static/img/100.png',
+				'../../static/img/100.png'
 			],
 			list:[ '商品介绍','搭配方案'],
 			activeIndex:0,
@@ -196,7 +194,7 @@ export default {
 			this.show_2=true
 		},
 		xiugaiFun(){
-			this.xianshi=false;
+			this.xianshi=!this.xianshi;
 		},
 		quxiao(){
 			this.show_1=false;
@@ -266,7 +264,7 @@ export default {
 			transform: rotate(-2deg) translateX(2rpx) translateY(2rpx);
 		}
 	}
-	.anniu{width: 80%;margin: 0 auto;margin-top: 20px;}
+	.anniu{width: 88%;margin: 0 auto;margin-top: 20px;}
 	/deep/ .anniu .gray.bk{color: white !important;}
 	.biaoti view{width:5px;height:19px;background: #0178FD;float: left;border-radius: 10px;}
 	/deep/ .qiehuan1 .text-primary{color: white !important;}
@@ -281,6 +279,6 @@ export default {
 	/deep/ .shangpin .text-red{color: white !important;}
 	.sao{width: 88%;display: block;margin: 0 auto;padding-bottom: 60px;margin-top: 20px;}
 	.goumai{background: #1B1B1B;margin-bottom: 10px;}
-	.anniu{width: 70%;margin: 0 auto;margin-top: 20px;padding-bottom: 30px;}
+	.anniu{width: 80%;margin: 0 auto;margin-top: 20px;padding-bottom: 30px;}
 	/deep/ .qiehuan1 .text-primary{color: white !important;}
 </style>