YZM 1 year ago
parent
commit
313474e5c6
4 changed files with 8 additions and 8 deletions
  1. 1 1
      App.vue
  2. 2 2
      pages.json
  3. BIN
      static/icon/error.png
  4. 5 5
      tm-vuetify/components/tm-pickers/tm-pickers.vue

+ 1 - 1
App.vue

@@ -46,6 +46,6 @@
 	/deep/ .kuang{margin:0 !important;padding: 0px !important;}
 	.C929297{color: #929297 !important;}
 	.C0178FD{background-color:#0178FD !important;}
-	/deep/ .uni-tabbar-border{background: #212121 !important;}
+	/* /deep/ .uni-tabbar-border{background: #212121 !important;} */
 	/deep/ .uni-tabbar{background-color: #1B1B1B !important;}
 </style>

+ 2 - 2
pages.json

@@ -381,8 +381,8 @@
 	"tabBar": {
 		"color": "#8E8E93",
 		"selectedColor": "#0178FD",
-		"borderStyle": "#fff",
-		"backgroundColor": "white",
+		"borderStyle": "#1B1B1B",
+		"backgroundColor": "#1B1B1B",
 		"iconfontSrc": "static/icon/iconfont.ttf",
 		"list": [{
 				"pagePath": "pages/index/index",

BIN
static/icon/error.png


+ 5 - 5
tm-vuetify/components/tm-pickers/tm-pickers.vue

@@ -162,21 +162,21 @@
 		},
 		methods: {
 			confirm() {
-				console.log(this.indexfu)
 				if(!this.aniisTrue){
 					console.log('no');
 					return ;
 				}
 				let sdata = this.$refs.tmPicKersTest.getSelectedValue();
 				
-				let saray = [];
+				let saray = [],newray=[];
 				sdata.forEach(item=>{
-					var obj={data:item.data,name:this.indexfu}
+					var obj={data:item.data};
+					var obj1={data:item.data,name:this.indexfu}
 					saray.push(obj)
+					newray.push(obj1)
 				})
-				console.log(sdata)
 				if(this.indexfu){
-					this.$emit('confirm',saray)
+					this.$emit('confirm',newray)
 				}else{
 					this.$emit('confirm',sdata)
 				}