YZM 2 years ago
parent
commit
d9f1d1b636

+ 9 - 0
pages.json

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

+ 0 - 3
tm-vuetify/components/tm-cartCellListFood/tm-cartCellListFood.vue

@@ -187,7 +187,6 @@
 					return  this.cNum;
 				},
 				set:function(val){
-
 					this.cNum = val;
 					this.$emit("update:cartNum",val)
 					// #ifdef H5
@@ -228,12 +227,10 @@
 					return
 				}
 				this.cart_num  = buyNum-1
-				
 			},
 			jia(){
 				const buyNum = this.cNum;
 				this.cart_num  = parseInt(buyNum) + 1
-
 			},
 		}
 	}

+ 17 - 0
tm-vuetify/components/tm-flotbutton/tm-flotbutton.vue

@@ -28,6 +28,7 @@
 				<view  v-if="(show || showActions)&&actions.length>0" class="menulistAction" :class="[actionsPos]">
 					<view class="menulistAction_item" v-for="(item,index) in actions" :key="index">
 						<tm-button :fllowTheme="false" fab @click="itemChange(index)" iconSize="40" :icon="item.icon" :theme="item.color" size="m"></tm-button>
+						<view class="zi">{{jisuan(item.goods_id)}}</view>
 					</view>
 				</view>
 			</view>
@@ -223,6 +224,10 @@
 			
 		},
 		methods: {
+			jisuan(data){
+				var num=data.split(",")
+				return num.length;
+			},
 			init(){
 				let t = this;
 				this.$nextTick(function(){
@@ -428,4 +433,16 @@
 		z-index: 400;
 		bottom: 0;
 	}
+	.zi{
+		position: absolute;
+		top: 2px;
+		right: 3px;
+		background: red;
+		text-align: center;
+		font-size: 13px;
+		border-radius: 33px;
+		width: 15px;
+		height: 15px;
+		line-height: 15px;
+	}
 </style>

File diff suppressed because it is too large
+ 0 - 1
unpackage/dist/build/app-plus/app-config-service.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/app-plus/app-service.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/app-plus/app-view.js


BIN
unpackage/dist/build/app-plus/static/img/gouwuche.png


Some files were not shown because too many files changed in this diff