Browse Source

Merge remote-tracking branch 'origin/developer' into developerA

zhengjinyi 3 years ago
parent
commit
6ffd428482

+ 9 - 9
components/cm-module/activity/activityBean.vue

@@ -23,14 +23,14 @@
 					</view>
 				</view>
 			</template>
-			<text class="iconfont icon-2guanbi" :style="{bottom :beansType == 12 ? '25%' : '13%'}" @click.stop="handleClickCancel"></text>
+			<text class="iconfont icon-2guanbi" :style="{bottom :beansType == 12 ? '25%' : '10%'}" @click.stop="handleClickCancel"></text>
 		</view>
 	</view> 
 </template>
 
 <script>
 	export default {
-		name:"tuiAlert",
+		name:'tuiAlert',
 		props: {
 			//控制显示
 			show: {
@@ -45,16 +45,16 @@
 			//提示信息字体颜色
 			color: {
 				type: String,
-				default: "#333"
+				default: '#333'
 			},
 			//按钮字体颜色
 			btnColor: {
 				type: String,
-				default: "#EB0909"
+				default: '#EB0909'
 			},
 			btnText:{
 				type: String,
-				default: ""
+				default: ''
 			},
 			beansType:{//根据类型设置背景图片:1注册机构,2升级资质机构,3个人机构修改资料,4资质机构修改资料,5下单成功,6线上支付成功,7确认收货成功
 				type: Number,
@@ -80,12 +80,12 @@
 				console.log(this.bgImagePath)
 			},
 			handleClick(e) {
-				console.log(e);
-				if (!this.show) return;
-				this.$emit('click',false);
+				console.log(e)
+				if (!this.show) return
+				this.$emit('click',false)
 			},
 			handleClickCancel() {
-				this.$emit('cancel',false);
+				this.$emit('cancel',false)
 			},
 			discard(){
 				//丢弃

+ 1 - 1
components/cm-module/creatOrder/sellerGoodsList.vue

@@ -13,7 +13,7 @@
 					<view class="goods-pros-t">
 						<view class="pros-img">
 							<image :src="pros.image" alt="" />
-							<text class="tips" v-if="pros.giftType == 2 || pros.giftType == 1">赠品</text>
+							<text class="tips" v-if="pros.productType == 2 || pros.productType == 1">赠品</text>
 						</view>
 						<view class="pros-product">
 							<view class="producttitle">{{ pros.name }}</view>

+ 19 - 19
main.js

@@ -35,25 +35,25 @@ Vue.prototype.$getStorage = function(key) {
 /**
  * 友盟+小程序统计
  */
-// if (process.env.NODE_ENV != 'development') {
-//     // #ifdef MP-WEIXIN
-//     uma.init({
-//         appKey: umtrackWxKey, //由友盟分配的APP_KEY
-//         // 使用Openid进行统计,此项为false时将使用友盟+uuid进行用户统计。
-//         // 使用Openid来统计微信小程序的用户,会使统计的指标更为准确,对系统准确性要求高的应用推荐使用Openid。
-//         useOpenid: true,
-//         // 使用openid进行统计时,是否授权友盟自动获取Openid,
-//         // 如若需要,请到友盟后台"设置管理-应用信息"(https://mp.umeng.com/setting/appset)中设置appId及secret
-//         autoGetOpenid: true,
-//         debug: true, //是否打开调试模式
-//         uploadUserInfo: false // 自动上传用户信息,设为false取消上传,默认为false
-//     })
-//     uma.install = function(Vue) {
-//         Vue.prototype.$uma = uma
-//     }
-//     Vue.use(uma)
-//     // #endif
-// }
+if (process.env.NODE_ENV != 'development') {
+    // #ifdef MP-WEIXIN
+    uma.init({
+        appKey: umtrackWxKey, //由友盟分配的APP_KEY
+        // 使用Openid进行统计,此项为false时将使用友盟+uuid进行用户统计。
+        // 使用Openid来统计微信小程序的用户,会使统计的指标更为准确,对系统准确性要求高的应用推荐使用Openid。
+        useOpenid: true,
+        // 使用openid进行统计时,是否授权友盟自动获取Openid,
+        // 如若需要,请到友盟后台"设置管理-应用信息"(https://mp.umeng.com/setting/appset)中设置appId及secret
+        autoGetOpenid: true,
+        debug: true, //是否打开调试模式
+        uploadUserInfo: false // 自动上传用户信息,设为false取消上传,默认为false
+    })
+    uma.install = function(Vue) {
+        Vue.prototype.$uma = uma
+    }
+    Vue.use(uma)
+    // #endif
+}
 
 // Vue实例化
 Vue.config.productionTip = false

+ 2 - 2
services/ajax.env.js

@@ -8,7 +8,7 @@ if(process.env.NODE_ENV === 'development'){
     // URL_CONFIG = 'https://spi.caimei365.com'
 }else{ 
     // 生产环境
-    URL_CONFIG = 'https://spi-b.caimei365.com'
-    // URL_CONFIG = 'https://spi.caimei365.com'
+    // URL_CONFIG = 'https://spi-b.caimei365.com'
+    URL_CONFIG = 'https://spi.caimei365.com'
 }
 export default URL_CONFIG

+ 2 - 2
services/config.env.js

@@ -8,7 +8,7 @@ if(process.env.NODE_ENV === 'development'){
     // URL_CONFIG = 'https://core.caimei365.com'
 }else{
     // 生产环境
-    URL_CONFIG = 'https://core-b.caimei365.com'
-    // URL_CONFIG = 'https://core.caimei365.com'
+    // URL_CONFIG = 'https://core-b.caimei365.com'
+    URL_CONFIG = 'https://core.caimei365.com'
 }
 export default URL_CONFIG