Commit 1ca13550 authored by liwei's avatar liwei

liwei

parents f3020e57 30620084
...@@ -34,6 +34,9 @@ const webpackConfig = merge(baseWebpackConfig, { ...@@ -34,6 +34,9 @@ const webpackConfig = merge(baseWebpackConfig, {
new webpack.DefinePlugin({ new webpack.DefinePlugin({
'process.env': env 'process.env': env
}), }),
new webpack.ProvidePlugin({
VConsole: process.env.NODE_ENV != 'production'?'vconsole':''
}),
new UglifyJsPlugin({ new UglifyJsPlugin({
uglifyOptions: { uglifyOptions: {
compress: { compress: {
......
...@@ -917,7 +917,7 @@ export default { ...@@ -917,7 +917,7 @@ export default {
.unBanner{ .unBanner{
border-radius: 25 * @toVw; border-radius: 25 * @toVw;
overflow: hidden; overflow: hidden;
height: 246rem; height: 246 * @toVw;
width:335 * @toVw; width:335 * @toVw;
position: relative; position: relative;
box-shadow: 1 * @toVw 2 * @toVw 5 * @toVw 0 * @toVw rgba(0,0,0,0.2); box-shadow: 1 * @toVw 2 * @toVw 5 * @toVw 0 * @toVw rgba(0,0,0,0.2);
......
...@@ -36,8 +36,7 @@ ...@@ -36,8 +36,7 @@
:showAddressPicker="showAddressPicker" :showAddressPicker="showAddressPicker"
@save-address="saveAddress" @save-address="saveAddress"
@hide-picker="hidePicker" @hide-picker="hidePicker"
:init="addressArea" :init="addressArea"></my-address>
></my-address>
</div> </div>
</template> </template>
......
...@@ -29,8 +29,7 @@ ...@@ -29,8 +29,7 @@
<div class="zhusi">注:</div> <div class="zhusi">注:</div>
<div class="text"> <div class="text">
<p>1、开课期间内,每个月最多可授权4次子账号</p> <p>1、开课期间内,每个月最多可授权4次子账号</p>
<p>2、课程结束后的48小时内子账号功能消失,届时只有主账号可进行看课</p> <p>2、为了账号安全,您分享的绑定页面有效时间为30分钟,请在时限内完成绑定。(过期后请重新操作)</p>
<p>3、为了账号安全,您分享的绑定页面有效时间为30分钟,请在时限内完成绑定。(过期后请重新操作)</p>
</div> </div>
</div> </div>
<div class="info" v-if="userDetail.family_user==1"> <div class="info" v-if="userDetail.family_user==1">
......
...@@ -40,9 +40,9 @@ Vue.component('scroll', scroll); ...@@ -40,9 +40,9 @@ Vue.component('scroll', scroll);
// Vue.prototype.$throw = (error)=> errorHandler(error,this); // Vue.prototype.$throw = (error)=> errorHandler(error,this);
/* eslint-disable no-new */ /* eslint-disable no-new */
if(process.env.NODE_ENV != 'production'){ // if(process.env.NODE_ENV != 'production'){
new VConsole(); // new VConsole();
} // }
router.beforeEach((to, from, next) => { router.beforeEach((to, from, next) => {
next() next()
......
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