|
|
@@ -28,7 +28,7 @@
|
|
|
)
|
|
|
i.progico.progico-plus-o
|
|
|
span 发布需求
|
|
|
- b-navbar-item(:href="`https://${MAIN_HOST}/otherpage/companyComplete${tail}`") 服务商入驻
|
|
|
+ b-navbar-item(:href="`https://${MAIN_HOST}/otherpage/companyComplete${tail}`" target="_blank") 服务商入驻
|
|
|
b-navbar-item(:href="`https://${MAIN_HOST}/cat/${tail}`" v-show="!fixed") 程序员
|
|
|
b-navbar-dropdown(
|
|
|
label="更多"
|
|
|
@@ -46,7 +46,7 @@
|
|
|
UserWidget(v-if="myInfo && myInfo.nickname")
|
|
|
template(v-else)
|
|
|
b-navbar-item(:href="`https://${MAIN_HOST}/index/app${tail}`") APP下载
|
|
|
- b-navbar-item 登录
|
|
|
+ b-navbar-item(:href="loginUrl") 登录
|
|
|
b-navbar-item(:href="`https://${MAIN_HOST}/user/register${tail}`") 注册
|
|
|
|
|
|
</template>
|
|
|
@@ -83,6 +83,10 @@ export default Vue.extend({
|
|
|
computed: {
|
|
|
myInfo(): any {
|
|
|
return this.$store.state.userinfo
|
|
|
+ },
|
|
|
+
|
|
|
+ loginUrl(): string {
|
|
|
+ return this.$store.state.domainConfig.siteUrl + '/?loginbox=show&next=' + encodeURIComponent(location.href)
|
|
|
}
|
|
|
},
|
|
|
|