YZM 2 năm trước cách đây
mục cha
commit
2d741864e9

+ 9 - 0
pages.json

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

+ 4 - 1
tm-vuetify/components/tm-cartCellListFood/tm-cartCellListFood.vue

@@ -66,7 +66,7 @@
 						<!-- <view class="genghuan">取出</view> -->
 					</view>
 					<view style="position: absolute;right: 20px;" v-if="typeclick==6">
-						<view class="genghuan mr-10">更换</view>
+						<view class="genghuan mr-10" @click="genghuan(mdata)">更换</view>
 						<view class="genghuan">取出</view>
 					</view>
 				</view>
@@ -215,6 +215,9 @@
 			jiaru(data){
 				this.$emit('jiaruFun', data);
 			},
+			genghuan(){
+				this.$emit('genghuan', data);
+			},
 			jian(){
 				const buyNum = this.cNum;
 				if(buyNum<=0) {