diff --git a/pagesA/photo/photo_2.vue b/pagesA/photo/photo_2.vue index b968c4a..186227b 100644 --- a/pagesA/photo/photo_2.vue +++ b/pagesA/photo/photo_2.vue @@ -145,13 +145,7 @@ 'https://img30.360buyimg.com/sku/jfs/t1/221254/4/39390/74349/661e039aF46114279/48532008a0001dd0.jpg', 'https://img30.360buyimg.com/sku/jfs/t1/221254/4/39390/74349/661e039aF46114279/48532008a0001dd0.jpg', ], - has_face : 1 ,//是否已有模板 及数量 - show_3:false, - show_2:false, - face_list :[], - select_index:0, - select_id:'' } }, @@ -180,19 +174,7 @@ this.margin_top += e; } , - getFace(){ - - if(this.has_face == 0){ - this.show_2 = true - }else{ - for(let n=0;n<3;n++){ - let t = {}; - t.url = '/static/img/index/banner.png'; - this.face_list.push(t); - } - this.show_3 = true - } - }, + selectThis(index,id){ this.select_id = id; this.select_index = index;