From 18448d7873e7f2793da8de13efa4adbc8edcc3eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=90=E6=98=8E=E6=98=8E?= <970899069@qq.com> Date: Fri, 14 Jan 2022 14:54:28 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E5=87=BA=E5=86=97=E4=BD=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 1 - apis/interfaces/evaluation.js | 1 - apis/interfaces/pay.js | 2 -- components/add-goods-template/add-goods-template.vue | 2 -- components/custom-digitKeyboard/custom-digitKeyboard.vue | 1 - pages/address/edit.vue | 3 --- pages/address/index.vue | 1 - pages/essentialInfo/index.vue | 6 ------ pages/order/logistics.vue | 1 - pages/pay/pay.vue | 2 -- pages/record/addFoods.vue | 6 ------ pages/record/foods.vue | 5 ----- pages/record/weight.vue | 1 - 13 files changed, 32 deletions(-) diff --git a/App.vue b/App.vue index ad610f2..c9578d3 100644 --- a/App.vue +++ b/App.vue @@ -52,7 +52,6 @@ }) } }).catch(err => { - console.log(err) uni.showToast({ title: err.message, icon : 'none' diff --git a/apis/interfaces/evaluation.js b/apis/interfaces/evaluation.js index 8f100a3..4bd6875 100644 --- a/apis/interfaces/evaluation.js +++ b/apis/interfaces/evaluation.js @@ -48,7 +48,6 @@ const evaluationsQuestion = (evaluation_id, page) => { * @Date: 2022-01-13 16:06:26 */ const evaluationsAnswers = (data) => { - console.log(data) return request({ url: `evaluations/${data.id}/answers`, data: data, diff --git a/apis/interfaces/pay.js b/apis/interfaces/pay.js index fded39d..7cb78cd 100644 --- a/apis/interfaces/pay.js +++ b/apis/interfaces/pay.js @@ -8,7 +8,6 @@ import { request } from '../index' const wxPAY = (orderNo) => { - console.log(orderNo) return request({ url: 'mall/pay/' + orderNo + '/wechat', data: { @@ -18,7 +17,6 @@ const wxPAY = (orderNo) => { } const alPAY = (orderNo) => { - console.log(orderNo) return request({ url: 'mall/pay/' + orderNo + '/alipay', data: { diff --git a/components/add-goods-template/add-goods-template.vue b/components/add-goods-template/add-goods-template.vue index 5315411..adaff3d 100644 --- a/components/add-goods-template/add-goods-template.vue +++ b/components/add-goods-template/add-goods-template.vue @@ -257,7 +257,6 @@ export default { if (!this.inputValue.length || this.inputValue.includes(".")) return false; } - console.log(data); this.inputValue.push(data); }, close() { @@ -303,7 +302,6 @@ export default { }, // 跳转到食品详情 tabGoodsInfo(e) { - console.log("父组件监听到了子组件的商品详情页面", e); this.$emit("tabGoodsInfo", { title: e[0].name, id: e[0].food_id }); }, }, diff --git a/components/custom-digitKeyboard/custom-digitKeyboard.vue b/components/custom-digitKeyboard/custom-digitKeyboard.vue index fae9068..bf2fe6e 100644 --- a/components/custom-digitKeyboard/custom-digitKeyboard.vue +++ b/components/custom-digitKeyboard/custom-digitKeyboard.vue @@ -165,7 +165,6 @@ export default { if (!this.inputValue.length || this.inputValue.includes(".")) return false; } - console.log(data); this.inputValue.push(data); }, close() { diff --git a/pages/address/edit.vue b/pages/address/edit.vue index 271ab06..4df8f97 100644 --- a/pages/address/edit.vue +++ b/pages/address/edit.vue @@ -110,9 +110,6 @@ methods:{ confirm(e){ this.show = false - - console.log(e.value) - this.value = e.value }, changePicker(e){ diff --git a/pages/address/index.vue b/pages/address/index.vue index f328212..285f85e 100644 --- a/pages/address/index.vue +++ b/pages/address/index.vue @@ -31,7 +31,6 @@ }, methods: { onInfo(val){ - console.log(val) if(this.edit){ this.$Router.push({ name : 'AddressEdit', diff --git a/pages/essentialInfo/index.vue b/pages/essentialInfo/index.vue index 2838bc6..e4e59f6 100644 --- a/pages/essentialInfo/index.vue +++ b/pages/essentialInfo/index.vue @@ -474,13 +474,11 @@ export default { // 目标 ------------点击 1上一页 2 下一页 targetClick(type) { if (type === 1) { - console.log(1); this.percentplan1 = 66.66; this.heightWeightShow = true; // 打开体重身高页面 this.targetShow = false; // 关闭目标页面 减重 塑性 增肌 this.percentplan2 = 0; } else { - console.log(this.activedTarget); if (this.activedTarget === "") { uni.showToast({ title: "请选择目标", @@ -500,12 +498,10 @@ export default { // 目标 体重的 --------- 1上一页 2 下一页 targetWeightClick(type) { if (type === 1) { - console.log(1); this.percentplan2 = 0; this.targetShow = true; // 打开目标页面 减重 塑性 增肌 this.targetWeightShow = false; // 打开体重身高页面 } else { - console.log(2); this.percentplan2 = 100; this.targetWeightShow = false; // 隐藏目标体重页面 this.behaviorShow = true; // 打开行为习惯页面 @@ -514,7 +510,6 @@ export default { // 目标 运动量--------- 1上一页 2 下一页 targetBehaviorClick(type) { if (type === 1) { - console.log(1); this.percentplan2 = 50; this.targetWeightShow = true; // 目标体重页面展示 this.behaviorShow = false; // 关闭运动量选择页面 @@ -535,7 +530,6 @@ export default { exercise: this.activedbehaviarTarget, // 运动量 days: 1, }; - console.log(params); recordsHealth(params).then((res) => { this.$refs.uToast.show({ type: "success", diff --git a/pages/order/logistics.vue b/pages/order/logistics.vue index 5600036..3a400af 100644 --- a/pages/order/logistics.vue +++ b/pages/order/logistics.vue @@ -18,7 +18,6 @@ }, mounted() { logistic(this.$Route.query.orderNo).then(res =>{ - console.log(res) this.info = { logo : res.orderExpress.logistic_cover, no : res.orderExpress.express_no, diff --git a/pages/pay/pay.vue b/pages/pay/pay.vue index 84cdc42..f50ce53 100644 --- a/pages/pay/pay.vue +++ b/pages/pay/pay.vue @@ -68,8 +68,6 @@ provider: payType, orderInfo, success: payRes => { - console.log(payRes) - uni.showModal({ title: '支付成功', content: '订单已支付,我们将尽快为您安排发货,可在订单管理查询订单动态', diff --git a/pages/record/addFoods.vue b/pages/record/addFoods.vue index 0ae7988..4db3232 100644 --- a/pages/record/addFoods.vue +++ b/pages/record/addFoods.vue @@ -107,14 +107,9 @@ export default { }, // 监听子组件的新增方法 addGoods(e) { - console.log('父组件监听到了子组件的新增方法', e); this.addShow = true; this.selectGoods = [e]; }, - // 监听子组件的新增方法 - tabGoodsInfo(e) { - console.log('父组件监听到了子组件的商品详情页面', e); - }, // 点击搜索左侧按钮 searchCustom(e) { console.log(e); @@ -135,7 +130,6 @@ export default { }, // 跳转到食品详情 tabGoodsInfo(e) { - console.log(e); this.$Router.push({ name: 'rankingDetails', params: e diff --git a/pages/record/foods.vue b/pages/record/foods.vue index 9c45b18..b5984c8 100644 --- a/pages/record/foods.vue +++ b/pages/record/foods.vue @@ -207,7 +207,6 @@ export default { }, // 选择了加餐跳转 selectClick(e) { - console.log(e); uni.navigateTo({ url: `/pages/record/addFoods?type=${e.type}`, }); @@ -215,7 +214,6 @@ export default { }, // 编辑食品 editGoods(e) { - console.log("父组件监听到了子组件的商品详情页面", e); this.selectGoods = [e]; this.addShow = true; }, @@ -225,7 +223,6 @@ export default { }, // 监听点击键盘触发返回值新增食品 confirmHandle(value) { - console.log(value); // 新添加食物 let data = { ser: 1, @@ -233,7 +230,6 @@ export default { food_id: this.selectGoods[0].food_id, intake_id: this.selectGoods[0].intake_id, }; - console.log(data); this.editHealthFoods(data); }, // 添加食物 @@ -253,7 +249,6 @@ export default { }, // 跳转到食品详情 tabGoodsInfo(e) { - console.log(e); this.$Router.push({ name: "rankingDetails", params: e, diff --git a/pages/record/weight.vue b/pages/record/weight.vue index 7d1fa4c..d28a9bd 100644 --- a/pages/record/weight.vue +++ b/pages/record/weight.vue @@ -142,7 +142,6 @@ export default { //获取体重首页接口 getWeights() { weights(this.page).then((res) => { - console.log(res); this.lists = this.lists.concat(res.lists.data); this.has_more = res.lists.page.has_more; this.weightInfo = res.weight;