You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
< script >
export default {
onShow : function ( options ) {
console . log ( "show 项目init: " , options , decodeURIComponent ( options . query . scene ) ) ;
// 清除扫码获取的id信息
uni . removeStorageSync ( "scene" ) ;
uni . removeStorageSync ( "user_scene" ) ;
uni . removeStorageSync ( "user_options" , options ) ;
if ( options . query . id ) {
uni . setStorageSync ( "apply-jobdetail-id" , options . query . id ) ;
} else {
uni . setStorageSync ( "apply-jobdetail-id" , 0 ) ;
}
if ( options . query . scene ) {
let str = decodeURIComponent ( options . query . scene ) ;
uni . setStorageSync (
"apply-invite-code" ,
JSON . stringify ( {
key : str . split ( "=" ) [ 0 ] ,
value : str . split ( "=" ) [ 1 ] ,
} )
) ;
} else {
uni . setStorageSync ( "apply-invite-code" , "" ) ;
}
} ,
onHide : function ( ) { } ,
} ;
< / script >
< style lang = "scss" >
@ import "./static/css/iconfont.css" ;
@ import "./uni_modules/vk-uview-ui/index.scss" ;
@ import "./static/css/base.scss" ;
@ import "./static/font/iconfont-weapp-icon.css" ;
// #ifdef MP-WEIXIN
page {
width : 100 vw ;
height : 100 vh ;
}
// #endif
// #ifdef H5 || APP-PLUS || MP-TOUTIAO || MP-KUAISHOU
page {
width : 100 vw ;
height : calc ( 100 % - 0 px ) ;
-- color - ysd : # ff4400 ;
-- color - hover : # ff4400cc ;
-- color - be : # ff4400 ;
-- color - 027 : # ff4400 ;
-- color - href : # 576 b95 ;
}
// #endif
// uview默认样式覆盖
. u - badge - mini {
top : 22 rpx ! important ;
right : 102 rpx ! important ;
color : transparent ! important ;
width : 10 px ! important ;
height : 10 px ! important ;
border - radius : 50 % ! important ;
}
. u - radio {
& : last - child {
. u - radio _ _label {
margin - right : 0 ;
}
}
}
. g - apply - tab {
. u - tab - bar {
bottom : - 2 px ! important ;
}
}
< / style >