diff --git a/template/uni-app/App.vue b/template/uni-app/App.vue
index 58463e559..c863fb258 100644
--- a/template/uni-app/App.vue
+++ b/template/uni-app/App.vue
@@ -188,7 +188,6 @@
const startParamObj = wx.getEnterOptionsSync();
if (wx.canIUse('getUpdateManager') && startParamObj.scene != 1154) {
const updateManager = wx.getUpdateManager()
- console.log(updateManager);
updateManager.onCheckForUpdate(function(res) {
// 请求完新版本信息的回调
// console.log(res.hasUpdate)
@@ -234,7 +233,6 @@
that.globalData.navH = menuButtonInfo.top * 2 + menuButtonInfo.height / 2;
const version = uni.getSystemInfoSync().SDKVersion
if (Routine.compareVersion(version, '2.21.3') >= 0) {
- console.log(version)
that.$Cache.set('MP_VERSION_ISNEW', true)
} else {
that.$Cache.set('MP_VERSION_ISNEW', false)
diff --git a/template/uni-app/components/couponWindow/index.vue b/template/uni-app/components/couponWindow/index.vue
index 9b8756627..f8b5e7129 100644
--- a/template/uni-app/components/couponWindow/index.vue
+++ b/template/uni-app/components/couponWindow/index.vue
@@ -15,7 +15,7 @@
- {{$t(`立即领取`)}}
+ {{$t(`立即领取`)}}
diff --git a/template/uni-app/components/cusPreviewImg/index.vue b/template/uni-app/components/cusPreviewImg/index.vue
index de537d64c..fe644b169 100644
--- a/template/uni-app/components/cusPreviewImg/index.vue
+++ b/template/uni-app/components/cusPreviewImg/index.vue
@@ -1,143 +1,160 @@
-
-
-
-
-
-
-
- {{src.suk}}
- {{$t(`¥`)}}{{src.price}}
-
-
-
-
- {{ Number(currentIndex) + 1 }} / {{ list.length }}
-
-
-
-
-
-
-
-
-
diff --git a/template/uni-app/components/goodClass/index.vue b/template/uni-app/components/goodClass/index.vue
index 179c193ff..afee5c143 100644
--- a/template/uni-app/components/goodClass/index.vue
+++ b/template/uni-app/components/goodClass/index.vue
@@ -89,7 +89,6 @@
this.$emit('ChangeCartNumDan', false, index, item);
},
CartNumAdd(index, item) {
- console.log('2')
if (this.addIng) return
this.addIng = true
this.$emit('ChangeCartNumDan', true, index, item);
diff --git a/template/uni-app/components/menuIcon.vue b/template/uni-app/components/menuIcon.vue
index e4b3729c6..b17b657da 100644
--- a/template/uni-app/components/menuIcon.vue
+++ b/template/uni-app/components/menuIcon.vue
@@ -104,7 +104,6 @@
// #ifdef MP
this.menuButton = uni.getMenuButtonBoundingClientRect();
const query = uni.createSelectorQuery().in(this);
- console.log(this.menuButton)
query
.select('#home')
.boundingClientRect(data => {
diff --git a/template/uni-app/components/orderGoods/index.vue b/template/uni-app/components/orderGoods/index.vue
index 657cf0897..2205dcd70 100644
--- a/template/uni-app/components/orderGoods/index.vue
+++ b/template/uni-app/components/orderGoods/index.vue
@@ -174,7 +174,6 @@
nVal.forEach((item, index) => {
num += item.cart_num
})
- console.log(num)
this.totalNmu = num
}
},
@@ -184,7 +183,6 @@
this.cartInfo.forEach((item, index) => {
num += item.cart_num
})
- console.log(num)
this.$set(this, 'totalNmu', num)
})
diff --git a/template/uni-app/components/pageFooter/index.vue b/template/uni-app/components/pageFooter/index.vue
index dd82cd7de..a7c8360d3 100644
--- a/template/uni-app/components/pageFooter/index.vue
+++ b/template/uni-app/components/pageFooter/index.vue
@@ -103,7 +103,6 @@
let that = this
uni.hideTabBar()
this.newData = this.$store.state.app.pageFooter
- console.log(this.newData)
if (this.isLogin) {
this.getCartNum()
}
@@ -169,7 +168,7 @@
justify-content: center;
flex-direction: column;
position: relative;
-
+ width: 100%;
.count-num {
position: absolute;
display: flex;
diff --git a/template/uni-app/components/shareRedPackets/index.vue b/template/uni-app/components/shareRedPackets/index.vue
index 559044fba..8de1f9135 100644
--- a/template/uni-app/components/shareRedPackets/index.vue
+++ b/template/uni-app/components/shareRedPackets/index.vue
@@ -50,7 +50,6 @@
this.$emit('closeChange');
},
goShare: function() {
- console.log(this.isAnimate)
if (this.isAnimate) {
this.$emit('listenerActionSheet');
} else {
diff --git a/template/uni-app/components/update/app-update.vue b/template/uni-app/components/update/app-update.vue
index 62bf4cd2c..97cc04905 100644
--- a/template/uni-app/components/update/app-update.vue
+++ b/template/uni-app/components/update/app-update.vue
@@ -121,7 +121,6 @@
//向后台发起请求,获取最新版本号
getUpdateInfo(this.platform === "ios" ? 2 : 1)
.then((res) => {
- console.log(res)
if(Array.isArray(res.data)){
return this.$emit('isNew')
}
@@ -146,7 +145,6 @@
})
.catch((err) => {
vm.popup_show = false
- console.log(err);
});
},
// 检查是否更新
diff --git a/template/uni-app/components/verify/verifyPoint/verifyPoint.vue b/template/uni-app/components/verify/verifyPoint/verifyPoint.vue
index 9adc43209..c0cdc9397 100644
--- a/template/uni-app/components/verify/verifyPoint/verifyPoint.vue
+++ b/template/uni-app/components/verify/verifyPoint/verifyPoint.vue
@@ -1,542 +1,541 @@
-
-
-
-
-
-
-
-
-
- {{index + 1}}
-
-
-
-
-
- {{text}}
-
-
-
-
-
-
diff --git a/template/uni-app/libs/chat.js b/template/uni-app/libs/chat.js
index c81d70d2e..118b5c4d9 100644
--- a/template/uni-app/libs/chat.js
+++ b/template/uni-app/libs/chat.js
@@ -40,8 +40,6 @@ Socket.prototype = {
},
onOpen() {
this.init();
- console.log('创建连接了!')
-
this.send({
type: "login",
data: $store.state.app.token
diff --git a/template/uni-app/mixins/sharePoster.js b/template/uni-app/mixins/sharePoster.js
index 853d57805..0f97f005c 100644
--- a/template/uni-app/mixins/sharePoster.js
+++ b/template/uni-app/mixins/sharePoster.js
@@ -11,8 +11,12 @@ import {
imageBase64
} from "@/api/public";
import {
- getProductCode
+ getProductCode, // 普通商品小程序code
} from "@/api/store.js";
+import {
+ scombinationCode, // 拼团code
+ seckillCode // 秒杀
+} from '@/api/activity.js';
import i18n from '../utils/lang.js';
let sysHeight = uni.getSystemInfoSync().statusBarHeight + 'px';
export const sharePoster = {
@@ -148,14 +152,15 @@ export const sharePoster = {
/**
* 生成海报
*/
- async goPoster() {
+ async goPoster(type) {
let that = this;
that.posters = false;
that.$set(that, "canvasStatus", true);
let arr2
// #ifdef MP
- getProductCode(that.id)
- .then((res) => {
+ let met = type === 'scombination' ? scombinationCode(that.id) : type === 'seckill' ? seckillCode(that
+ .id) : getProductCode(that.id)
+ met.then((res) => {
uni.downloadFile({
url: that.setDomain(res.data.code),
success: function(res) {
@@ -182,16 +187,12 @@ export const sharePoster = {
// #endif
// #ifdef H5 || APP-PLUS
arr2 = [that.posterbackgd, that.storeImageBase64, that.PromotionCode];
- console.log(arr2)
if (!that.storeImageBase64)
return that.$util.Tips({
title: i18n.t(`正在下载海报,请稍后再试`),
});
that.initPoster(arr2)
// #endif
- console.log(arr2, 'arr2s')
-
-
},
//替换安全域名
setDomain(url) {
@@ -266,4 +267,4 @@ export const sharePoster = {
// #endif
},
}
-};
+};
diff --git a/template/uni-app/pages/activity/goods_combination_details/index.vue b/template/uni-app/pages/activity/goods_combination_details/index.vue
index c7fbbc06e..d0decf712 100644
--- a/template/uni-app/pages/activity/goods_combination_details/index.vue
+++ b/template/uni-app/pages/activity/goods_combination_details/index.vue
@@ -230,7 +230,7 @@
{{$t(`微信朋友圈`)}}
-