Commit b19165c0 authored by 罗超's avatar 罗超

条件编译

parent 55735f8b
{
"devDependencies": {
"js-md5": "^0.7.3"
},
"uni-app": {
"scripts": {
"mp-direct": {
"title":"直客微信小程序",
"env": {
"UNI_PLATFORM": "mp-weixin"
},
"define": {
"MP-DI": true
}
},
"mp-agent": {
"title":"同业微信小程序",
"env": {
"UNI_PLATFORM": "mp-weixin"
},
"define": {
"MP-AG": true
}
}
}
}
}
......@@ -54,6 +54,16 @@
</template>
</view>
</template>
<!-- #ifdef MP-DI -->
<view class="">
直客 MP
</view>
<!-- #endif -->
<!-- #ifdef MP-AG -->
<view class="">
同业 MP
</view>
<!-- #endif -->
<coupon v-if="showCoupons" :coupon-message="couponMessage" :cform="ComeFrom" @goLook="()=>showCoupons = false" @closeBtn="()=>showCoupons = false"></coupon>
<auth v-if="showAuth" @changeuserinfo="reloadUserinfo" @gbAuth="gbAuth"></auth>
<official-account></official-account>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment