前端代码格式化

publicsignpoll
youngS 3 years ago
parent 002c90d5e3
commit f49c067015
  1. 60
      fir_client/src/App.vue
  2. 52
      fir_client/src/Download.vue
  3. 42
      fir_client/src/components/FirBase.vue
  4. 621
      fir_client/src/components/FirDownload.vue
  5. 20
      fir_client/src/components/FirFooter.vue
  6. 53
      fir_client/src/components/FirHeader.vue
  7. 108
      fir_client/src/components/FirLogin.vue
  8. 82
      fir_client/src/components/FirRegist.vue
  9. 74
      fir_client/src/components/FirResetPwd.vue
  10. 692
      fir_client/src/components/ShortDownload.vue
  11. 154
      fir_client/src/components/apps/FirAppInfosBase.vue
  12. 80
      fir_client/src/components/apps/FirAppInfosbaseinfo.vue
  13. 120
      fir_client/src/components/apps/FirAppInfoscombo.vue
  14. 18
      fir_client/src/components/apps/FirAppInfosdevices.vue
  15. 62
      fir_client/src/components/apps/FirAppInfossecurity.vue
  16. 66
      fir_client/src/components/apps/FirAppInfossupersign.vue
  17. 139
      fir_client/src/components/apps/FirAppInfostimeline.vue
  18. 578
      fir_client/src/components/apps/FirApps.vue
  19. 35
      fir_client/src/components/base/BackToTop.vue
  20. 70
      fir_client/src/components/base/BindDomain.vue
  21. 26
      fir_client/src/components/index/FirContact.vue
  22. 94
      fir_client/src/components/index/FirIndexBody.vue
  23. 44
      fir_client/src/components/index/FirIndexTem.vue
  24. 94
      fir_client/src/components/index/FirNews.vue
  25. 68
      fir_client/src/components/index/FirService.vue
  26. 315
      fir_client/src/components/user/FirSuperSignBase.vue
  27. 10
      fir_client/src/components/user/FirSuperSignHelp.vue
  28. 124
      fir_client/src/components/user/FirUserAdvert.vue
  29. 84
      fir_client/src/components/user/FirUserDomain.vue
  30. 153
      fir_client/src/components/user/FirUserOrders.vue
  31. 50
      fir_client/src/components/user/FirUserProfileBase.vue
  32. 122
      fir_client/src/components/user/FirUserProfileCertification.vue
  33. 26
      fir_client/src/components/user/FirUserProfileChangePwd.vue
  34. 170
      fir_client/src/components/user/FirUserProfileInfo.vue
  35. 192
      fir_client/src/components/user/FirUserStorage.vue
  36. 12
      fir_client/src/main.short.js

@ -6,82 +6,82 @@
<script>
export default {
export default {
name: 'app',
data() {
return {}
},
}
}
</script>
<style>
body {
body {
background-color: #F6F6F6;
}
}
html, body {
html, body {
height: 100%;
}
}
@font-face {
@font-face {
font-family: "iconfont";
src: url('./assets/icon/iconfont.eot?t=1583637102320'); /* IE9 */
src: url('./assets/icon/iconfont.eot?t=1583637102320#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('data:application/x-font-woff2;charset=utf-8;base64,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') format('woff2'),
url('./assets/icon/iconfont.woff?t=1583637102320') format('woff'),
url('./assets/icon/iconfont.ttf?t=1583637102320') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ url('./assets/icon/iconfont.svg?t=1583637102320#iconfont') format('svg'); /* iOS 4.1- */
}
}
.iconfont {
.iconfont {
font-family: "iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
}
.icon-android:before {
.icon-android:before {
content: "\e61d";
}
}
.icon-android1:before {
.icon-android1:before {
content: "\e616";
}
}
.icon-android2:before {
.icon-android2:before {
content: "\e62a";
}
}
.icon-ios:before {
.icon-ios:before {
content: "\e60c";
}
}
.icon-IOS:before {
.icon-IOS:before {
content: "\e68c";
}
}
.icon-ios1:before {
.icon-ios1:before {
content: "\e601";
}
}
.icon-ios2:before {
.icon-ios2:before {
content: "\e64b";
}
}
.icon-Android:before {
.icon-Android:before {
content: "\e6d4";
}
}
.icon-android3:before {
.icon-android3:before {
content: "\e625";
}
}
.canvas {
.canvas {
position: fixed;
left: -0px;
top: 58px;
height: 100%;
z-index: -2;
width: 100%;
}
}
</style>

@ -6,70 +6,70 @@
<script>
export default {
export default {
name: 'download',
data() {
return {}
},
}
}
</script>
<style>
body {
body {
background-color: #F6F6F6;
}
}
@font-face {
@font-face {
font-family: "iconfont";
src: url('./assets/icon/iconfont.eot?t=1583637102320'); /* IE9 */
src: url('./assets/icon/iconfont.eot?t=1583637102320#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('data:application/x-font-woff2;charset=utf-8;base64,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') format('woff2'),
url('./assets/icon/iconfont.woff?t=1583637102320') format('woff'),
url('./assets/icon/iconfont.ttf?t=1583637102320') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ url('./assets/icon/iconfont.svg?t=1583637102320#iconfont') format('svg'); /* iOS 4.1- */
}
}
.iconfont {
.iconfont {
font-family: "iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
}
.icon-android:before {
.icon-android:before {
content: "\e61d";
}
}
.icon-android1:before {
.icon-android1:before {
content: "\e616";
}
}
.icon-android2:before {
.icon-android2:before {
content: "\e62a";
}
}
.icon-ios:before {
.icon-ios:before {
content: "\e60c";
}
}
.icon-IOS:before {
.icon-IOS:before {
content: "\e68c";
}
}
.icon-ios1:before {
.icon-ios1:before {
content: "\e601";
}
}
.icon-ios2:before {
.icon-ios2:before {
content: "\e64b";
}
}
.icon-Android:before {
.icon-Android:before {
content: "\e6d4";
}
}
.icon-android3:before {
.icon-android3:before {
content: "\e625";
}
}
</style>

@ -1,22 +1,22 @@
<template>
<div ref="appbase">
<el-dialog
:title="bind_domain_title"
:close-on-click-modal="false"
:close-on-press-escape="false"
:title="bind_domain_title"
:visible.sync="bind_domain_sure"
width="666px">
<bind-domain v-if="bind_domain_sure" :transitionName="`bind-user-domain`+ bind_domain_type"
:domain_type="bind_domain_type"/>
<bind-domain v-if="bind_domain_sure" :domain_type="bind_domain_type"
:transitionName="`bind-user-domain`+ bind_domain_type"/>
</el-dialog>
<canvas ref="canvas" class="canvas" @mousemove="canvas_move" @mouseleave="canvas_leave"/>
<canvas ref="canvas" class="canvas" @mouseleave="canvas_leave" @mousemove="canvas_move"/>
<el-container>
<div style="margin: -5px 20px" v-if="$store.state.show_domain_msg">
<div v-if="$store.state.show_domain_msg" style="margin: -5px 20px">
<el-alert
center
type="error"
:closable="false"
effect="dark">
center
effect="dark"
type="error">
<div slot="title">
<span :underline="false"
class="domian-tip-bar">应用分发请绑定您自己的域名平台分发域名可能因不可违因素更换将导致您的应用无法访问</span>
@ -34,8 +34,8 @@
<el-divider/>
<FirFooter/>
</el-footer>
<el-tooltip placement="top" content="回到顶部">
<back-to-top :custom-style="myBackToTopStyle" :visibility-height="300" :back-position="50"
<el-tooltip content="回到顶部" placement="top">
<back-to-top :back-position="50" :custom-style="myBackToTopStyle" :visibility-height="300"
transition-name="fade"/>
</el-tooltip>
</el-container>
@ -44,13 +44,13 @@
</template>
<script>
import FirHeader from "@/components/FirHeader";
import FirFooter from "@/components/FirFooter";
import BackToTop from "@/components/base/BackToTop";
import BindDomain from "@/components/base/BindDomain";
import {show_beautpic,} from "@/utils";
import FirHeader from "@/components/FirHeader";
import FirFooter from "@/components/FirFooter";
import BackToTop from "@/components/base/BackToTop";
import BindDomain from "@/components/base/BindDomain";
import {show_beautpic,} from "@/utils";
export default {
export default {
name: "FirBase",
components: {FirFooter, FirHeader, BackToTop, BindDomain},
data() {
@ -111,19 +111,19 @@
this.mousePosition.y = canvas.height / 2;
},
}
}
}
</script>
<style scoped>
.pbody {
.pbody {
padding-top: 30px;
}
}
.domian-tip-bar {
.domian-tip-bar {
line-height: 43px;
color: #fff;
font-weight: 500;
font-size: medium;
margin-right: 20px;
}
}
</style>

File diff suppressed because it is too large Load Diff

@ -5,10 +5,10 @@
<el-link :underline="false"> {{ footer.copyright }}</el-link>
</div>
<div style="width: 300px; margin: 0 auto; padding: 5px 0;">
<a style="display: inline-block; text-decoration: none; height: 20px; line-height: 20px;"
:href="footer.gongAnBeiAn.url"
target="_blank" rel="noopener">
<img style="float: left;" src="@/assets/beianlogo.png" alt=""/>
<a :href="footer.gongAnBeiAn.url"
rel="noopener"
style="display: inline-block; text-decoration: none; height: 20px; line-height: 20px;" target="_blank">
<img alt="" src="@/assets/beianlogo.png" style="float: left;"/>
<el-link :underline="false"
style="float: left; height: 20px; line-height: 20px; margin: 0 0 0 5px; color: #939393;">
{{ footer.gongAnBeiAn.text }}
@ -19,8 +19,8 @@
<div>
<div :underline="false" style="width: 200px; margin: 0 auto; padding: 5px 0;">
<el-link :underline="false" :href="footer.ipcBeiAn.url" target="_blank"
rel="nofollow noopener">{{ footer.ipcBeiAn.text }}
<el-link :href="footer.ipcBeiAn.url" :underline="false" rel="nofollow noopener"
target="_blank">{{ footer.ipcBeiAn.text }}
</el-link>
</div>
</div>
@ -29,7 +29,7 @@
<script>
export default {
export default {
name: "FirFooter",
data() {
return {
@ -46,16 +46,16 @@
}
}
}
}
}
</script>
<style scoped>
.ifooter {
.ifooter {
margin: 20px auto 100px;
width: 1166px;
text-align: center;
font-size: 0;
border-radius: 10px;
}
}
</style>

@ -2,16 +2,16 @@
<div style="background-color: rgba(162,193,230,0.18);">
<el-container class="navbar-wrapper">
<el-dialog
title="API Token"
:visible.sync="dialogVisible"
width="30%"
center
title="API Token"
width="30%"
>
<span>可用于调用公开 API可用于登录 fly-cli请勿泄露您的 token</span>
<el-main>
<el-tooltip content="点击复制到剪贴板">
<el-link type="primary" v-if="token" :underline="false" v-clipboard:copy="token"
v-clipboard:success="copy_success">{{ token }}
<el-link v-if="token" v-clipboard:copy="token" v-clipboard:success="copy_success" :underline="false"
type="primary">{{ token }}
</el-link>
</el-tooltip>
</el-main>
@ -26,35 +26,36 @@
<el-breadcrumb-item :to="{ name:'FirApps'}">我的应用</el-breadcrumb-item>
<el-breadcrumb-item v-if="this.route_info.label" :to="{ name:route_info.name}">{{
this.route_info.label }}
this.route_info.label
}}
</el-breadcrumb-item>
<el-breadcrumb-item v-if="$store.state.currentapp.name"
:to="{name: 'FirAppInfostimeline', params: {id: $store.state.currentapp.app_id}}">
{{ $store.state.currentapp.name}}
{{ $store.state.currentapp.name }}
</el-breadcrumb-item>
</el-breadcrumb>
</el-col>
<el-col :span="2" :push="2" style="padding-top: 16px;">
<el-col :push="2" :span="2" style="padding-top: 16px;">
<div class="block">
<el-avatar :size="66" :src="$store.state.userinfo.head_img"></el-avatar>
</div>
</el-col>
<el-col :span="4" :push="2" style="padding-top: 16px">
<el-col :push="2" :span="4" style="padding-top: 16px">
<el-dropdown style="padding-top: 12px;" @command="handleCommand">
<el-button type="primary" plain round>
{{$store.state.userinfo.first_name }}<i class="el-icon-arrow-down el-icon--right"></i>
<el-button plain round type="primary">
{{ $store.state.userinfo.first_name }}<i class="el-icon-arrow-down el-icon--right"></i>
</el-button>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="userinfo">个人资料</el-dropdown-item>
<el-dropdown-item command="apitoken">API token</el-dropdown-item>
<el-dropdown-item command="setdomian">设置域名</el-dropdown-item>
<el-dropdown-item command="setadvert" v-if="$store.state.userinfo.role>1">宣传广告
<el-dropdown-item v-if="$store.state.userinfo.role>1" command="setadvert">宣传广告
</el-dropdown-item>
<el-dropdown-item command="storage" v-if="$store.state.userinfo.storage_active">存储管理
<el-dropdown-item v-if="$store.state.userinfo.storage_active" command="storage">存储管理
</el-dropdown-item>
<el-dropdown-item command="supersign" v-if="$store.state.userinfo.supersign_active">超级签名
<el-dropdown-item v-if="$store.state.userinfo.supersign_active" command="supersign">超级签名
</el-dropdown-item>
<el-dropdown-item command="myorder">订单信息</el-dropdown-item>
<el-dropdown-item command="contact">联系我们</el-dropdown-item>
@ -73,9 +74,9 @@
</template>
<script>
import {apitoken, logout} from '@/restful'
import {apitoken, logout} from '@/restful'
export default {
export default {
name: "FirHeader",
data() {
return {
@ -172,32 +173,32 @@
}, mounted() {
this.init_route_name();
}
}
}
</script>
<style scoped>
.el-container, .el-row {
.el-container, .el-row {
margin: 10px auto;
width: 1166px;
}
}
.navbar-wrapper {
.navbar-wrapper {
font-size: 0;
border-radius: 10px;
}
}
.el-dropdown {
.el-dropdown {
vertical-align: top;
}
}
.el-dropdown + .el-dropdown {
.el-dropdown + .el-dropdown {
margin-left: 15px;
}
}
.el-icon-arrow-down {
.el-icon-arrow-down {
font-size: 12px;
}
}
</style>

@ -1,8 +1,8 @@
<template>
<el-container>
<div style="margin: 10px 0 10px 0 ;position:absolute;right:20px;top:auto;">
<el-button round icon="el-icon-arrow-left" @click="$router.go(-1)"/>
<el-button round icon="el-icon-s-home" @click="$router.push({name:'FirIndex'})"/>
<el-button icon="el-icon-arrow-left" round @click="$router.go(-1)"/>
<el-button icon="el-icon-s-home" round @click="$router.push({name:'FirIndex'})"/>
</div>
<el-header>
@ -17,41 +17,41 @@
<el-form ref="form" :model="form">
<el-tabs v-model="activeName">
<el-tab-pane label="用户名登录" name="username" v-if="allow_ways.up">
<el-tab-pane v-if="allow_ways.up" label="用户名登录" name="username">
<el-form-item>
<el-input v-model="form.email" prefix-icon="el-icon-user" placeholder="用户名" autofocus
clearable/>
<el-input v-model="form.email" autofocus clearable placeholder="用户名"
prefix-icon="el-icon-user"/>
</el-form-item>
</el-tab-pane>
<el-tab-pane :label="rutitle+'登录'" name="smsemail" v-if="allow_ways.sms || allow_ways.email">
<el-tab-pane v-if="allow_ways.sms || allow_ways.email" :label="rutitle+'登录'" name="smsemail">
<el-form-item>
<el-input v-model="form.email" prefix-icon="el-icon-user" :placeholder="rutitle" autofocus
clearable/>
<el-input v-model="form.email" :placeholder="rutitle" autofocus clearable
prefix-icon="el-icon-user"/>
</el-form-item>
</el-tab-pane>
</el-tabs>
<el-form-item v-if="is_captcha">
<el-input v-model="form.password" prefix-icon="el-icon-lock" placeholder="密码"
@keyup.enter.native="onSubmit"
show-password clearable/>
<el-input v-model="form.password" clearable placeholder="密码"
prefix-icon="el-icon-lock"
show-password @keyup.enter.native="onSubmit"/>
</el-form-item>
<el-form-item v-else>
<el-input v-model="form.password" prefix-icon="el-icon-lock" placeholder="密码"
show-password clearable/>
<el-input v-model="form.password" clearable placeholder="密码"
prefix-icon="el-icon-lock" show-password/>
</el-form-item>
<el-form-item style="height: 40px" v-if="captcha.captcha_image">
<el-form-item v-if="captcha.captcha_image" style="height: 40px">
<el-row style="height: 40px">
<el-col :span="16">
<el-input placeholder="请输入验证码" v-model="form.authcode" maxlength="6"
@keyup.enter.native="onSubmit" clearable/>
<el-input v-model="form.authcode" clearable maxlength="6"
placeholder="请输入验证码" @keyup.enter.native="onSubmit"/>
</el-col>
<el-col :span="8">
<el-image
style="margin:0 4px;border-radius:4px;cursor:pointer;height: 40px"
:src="captcha.captcha_image"
fit="contain" @click="get_auth_code">
fit="contain"
style="margin:0 4px;border-radius:4px;cursor:pointer;height: 40px" @click="get_auth_code">
</el-image>
</el-col>
</el-row>
@ -62,31 +62,31 @@
</el-form-item>
<el-form-item>
<el-button type="danger" :disabled="login_disable" @click="onSubmit">登录</el-button>
<el-button :disabled="login_disable" type="danger" @click="onSubmit">登录</el-button>
</el-form-item>
<el-form-item v-if="register_enable">
<el-button type="primary" @click="onRegister" plain>注册</el-button>
<el-button plain type="primary" @click="onRegister">注册</el-button>
</el-form-item>
<el-form-item>
<el-link :underline="false" @click="$router.push({name: 'FirResetPwd'})" plain>忘记密码</el-link>
<el-link :underline="false" plain @click="$router.push({name: 'FirResetPwd'})">忘记密码</el-link>
</el-form-item>
<div class="other-way" v-if="allow_ways.third && JSON.stringify(allow_ways.third).indexOf('true')!==-1">
<div v-if="allow_ways.third && JSON.stringify(allow_ways.third).indexOf('true')!==-1" class="other-way">
<hr>
<span class="info">或使用以下账户登录</span>
<el-popover
v-if="allow_ways.third && allow_ways.third.wxp"
v-model="wx_visible"
placement="top"
trigger="manual"
title="微信扫码关注公众号登录"
v-model="wx_visible">
trigger="manual">
<div>
<el-image :src="wx_login_qr_url" style="width: 176px;height: 166px"/>
</div>
<el-button style="color: #1fc939;border: 1px solid rgba(31,201,57,.5); width: 110px"
slot="reference" size="small" @click="wxLogin">微信
<el-button slot="reference"
size="small" style="color: #1fc939;border: 1px solid rgba(31,201,57,.5); width: 110px" @click="wxLogin">微信
</el-button>
</el-popover>
@ -102,10 +102,10 @@
</template>
<script>
import {loginFun, set_auth_token, wxLoginFun} from "@/restful";
import {checkEmail, checkphone, geetest} from "@/utils";
import {loginFun, set_auth_token, wxLoginFun} from "@/restful";
import {checkEmail, checkphone, geetest} from "@/utils";
export default {
export default {
name: "FirLogin",
data() {
return {
@ -339,24 +339,24 @@
this.get_auth_code();
}, created() {
}
}
}
</script>
<style scoped>
.other-way {
.other-way {
position: relative;
text-align: center;
}
}
.other-way hr {
.other-way hr {
height: 1px;
margin: 30px 0;
border: 0;
background-color: #e4e7ed;
}
}
.other-way span.info {
.other-way span.info {
font-size: 12px;
line-height: 1;
position: absolute;
@ -365,46 +365,46 @@
padding: 0 10px;
transform: translate(-50%, 0);
color: #9ba3af;
}
}
.el-container {
.el-container {
margin: 10px auto;
width: 1266px;
}
}
.el-header {
.el-header {
margin-top: 13%;
}
}
.el-form {
.el-form {
max-width: 360px;
margin: 0 auto;
}
}
.el-form-item .el-button {
.el-form-item .el-button {
max-width: 360px;
/*padding: 16px 20px;*/
width: 100%;
position: relative;
height: 50px;
}
}
.el-header {
.el-header {
text-align: center;
overflow: hidden;
margin-bottom: 50px
}
}
.el-header div span {
.el-header div span {
font-size: 24px;
display: inline-block;
vertical-align: middle;
padding: 8px 40px
}
}
.el-header div:before, .el-header div:after {
.el-header div:before, .el-header div:after {
content: ' ';
display: inline-block;
vertical-align: middle;
@ -412,13 +412,13 @@
height: 1px;
background-color: #babfc3;
margin: 0 0 0 -50%
}
}
.el-header div {
.el-header div {
text-align: center
}
}
.el-header div:after {
.el-header div:after {
margin: 0 -50% 0 0
}
}
</style>

@ -1,8 +1,8 @@
<template>
<el-container>
<div style="margin: 10px 0 10px 0 ;position:absolute;right:20px;top:auto;">
<el-button round icon="el-icon-arrow-left" @click="$router.go(-1)"/>
<el-button round icon="el-icon-s-home" @click="$router.push({name:'FirIndex'})"/>
<el-button icon="el-icon-arrow-left" round @click="$router.go(-1)"/>
<el-button icon="el-icon-s-home" round @click="$router.push({name:'FirIndex'})"/>
</div>
<el-header>
@ -17,25 +17,25 @@
<el-form ref="form" :model="form">
<el-form-item v-if="allow_ways.code">
<el-input v-model="form.icode" prefix-icon="el-icon-postcard" placeholder="邀请码必填" clearable
<el-input v-model="form.icode" clearable placeholder="邀请码必填" prefix-icon="el-icon-postcard"
/>
</el-form-item>
<el-form-item>
<el-input v-model="form.email" prefix-icon="el-icon-user" :placeholder="rutitle" autofocus
clearable/>
<el-input v-model="form.email" :placeholder="rutitle" autofocus clearable
prefix-icon="el-icon-user"/>
</el-form-item>
<el-form-item style="height: 40px" v-if="captcha.captcha_image">
<el-form-item v-if="captcha.captcha_image" style="height: 40px">
<el-row style="height: 40px">
<el-col :span="16">
<el-input placeholder="请输入图片验证码" v-model="form.authcode" maxlength="6" clearable/>
<el-input v-model="form.authcode" clearable maxlength="6" placeholder="请输入图片验证码"/>
</el-col>
<el-col :span="8">
<el-image
style="margin:0 4px;border-radius:4px;cursor:pointer;height: 40px"
:src="captcha.captcha_image"
fit="contain" @click="get_auth_code">
fit="contain"
style="margin:0 4px;border-radius:4px;cursor:pointer;height: 40px" @click="get_auth_code">
</el-image>
</el-col>
</el-row>
@ -45,12 +45,12 @@
<el-form-item>
<el-row>
<el-col :span="16">
<el-input v-model="form.seicode" prefix-icon="el-icon-mobile"
placeholder="验证码" clearable/>
<el-input v-model="form.seicode" clearable
placeholder="验证码" prefix-icon="el-icon-mobile"/>
</el-col>
<el-col :span="8">
<el-button type="info" @click="getphonecode" plain
style="margin:0 4px;border-radius:4px;cursor:pointer;height: 40px">获取验证码
<el-button plain style="margin:0 4px;border-radius:4px;cursor:pointer;height: 40px" type="info"
@click="getphonecode">获取验证码
</el-button>
</el-col>
</el-row>
@ -58,12 +58,12 @@
<el-form-item>
<el-input v-model="form.password" prefix-icon="el-icon-lock" placeholder="密码"
show-password clearable/>
<el-input v-model="form.password" clearable placeholder="密码"
prefix-icon="el-icon-lock" show-password/>
</el-form-item>
<el-form-item>
<el-input v-model="form.password2" prefix-icon="el-icon-lock" placeholder="确认密码"
show-password @keyup.enter.native="onRegist" clearable/>
<el-input v-model="form.password2" clearable placeholder="确认密码"
prefix-icon="el-icon-lock" show-password @keyup.enter.native="onRegist"/>
</el-form-item>
<el-form-item>
@ -71,11 +71,11 @@
</el-form-item>
<el-form-item>
<el-button type="danger" @click="onRegist" :disabled="register_disable">注册</el-button>
<el-button :disabled="register_disable" type="danger" @click="onRegist">注册</el-button>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="onLogin" plain>我是老用户,要登录</el-button>
<el-button plain type="primary" @click="onLogin">我是老用户,要登录</el-button>
</el-form-item>
</el-form>
@ -87,10 +87,10 @@
</template>
<script>
import {getAuthTokenFun, registerFun} from "@/restful";
import {checkEmail, checkphone, geetest} from "@/utils";
import {getAuthTokenFun, registerFun} from "@/restful";
import {checkEmail, checkphone, geetest} from "@/utils";
export default {
export default {
name: "FirRegist",
data() {
return {
@ -325,49 +325,49 @@
}, mounted() {
this.get_auth_code();
}
}
}
</script>
<style scoped>
.el-container {
.el-container {
margin: 10px auto;
width: 1266px;
}
}
.el-header {
.el-header {
margin-top: 13%;
}
}
.el-form {
.el-form {
max-width: 360px;
margin: 0 auto;
}
}
.el-form-item .el-button {
.el-form-item .el-button {
max-width: 360px;
width: 100%;
position: relative;
height: 50px;
}
}
.el-header {
.el-header {
text-align: center;
overflow: hidden;
margin-bottom: 50px
}
}
.el-header div span {
.el-header div span {
font-size: 24px;
display: inline-block;
vertical-align: middle;
padding: 8px 40px
}
}
.el-header div:before, .el-header div:after {
.el-header div:before, .el-header div:after {
content: ' ';
display: inline-block;
vertical-align: middle;
@ -375,15 +375,15 @@
height: 1px;
background-color: #babfc3;
margin: 0 0 0 -50%
}
}
.el-header div {
.el-header div {
text-align: center
}
}
.el-header div:after {
.el-header div:after {
margin: 0 -50% 0 0
}
}
</style>

@ -1,8 +1,8 @@
<template>
<el-container>
<div style="margin: 10px 0 10px 0 ;position:absolute;right:20px;top:auto;">
<el-button round icon="el-icon-arrow-left" @click="$router.go(-1)"/>
<el-button round icon="el-icon-s-home" @click="$router.push({name:'FirIndex'})"/>
<el-button icon="el-icon-arrow-left" round @click="$router.go(-1)"/>
<el-button icon="el-icon-s-home" round @click="$router.push({name:'FirIndex'})"/>
</div>
<el-header>
@ -14,20 +14,20 @@
<el-main>
<el-form ref="form" :model="form">
<el-form-item>
<el-input v-model="form.email" prefix-icon="el-icon-user" placeholder="邮箱或手机号" autofocus
clearable/>
<el-input v-model="form.email" autofocus clearable placeholder="邮箱或手机号"
prefix-icon="el-icon-user"/>
</el-form-item>
<el-form-item style="height: 40px" v-if="captcha.captcha_image">
<el-form-item v-if="captcha.captcha_image" style="height: 40px">
<el-row style="height: 40px">
<el-col :span="16">
<el-input placeholder="请输入验证码" v-model="form.authcode" maxlength="6"
@keyup.enter.native="onSubmit" clearable/>
<el-input v-model="form.authcode" clearable maxlength="6"
placeholder="请输入验证码" @keyup.enter.native="onSubmit"/>
</el-col>
<el-col :span="8">
<el-image
style="margin:0 4px;border-radius:4px;cursor:pointer;height: 40px"
:src="captcha.captcha_image"
fit="contain" @click="get_auth_code">
fit="contain"
style="margin:0 4px;border-radius:4px;cursor:pointer;height: 40px" @click="get_auth_code">
</el-image>
</el-col>
</el-row>
@ -36,12 +36,12 @@
<el-form-item>
<el-row>
<el-col :span="16">
<el-input v-model="form.seicode" prefix-icon="el-icon-mobile"
placeholder="验证码" clearable/>
<el-input v-model="form.seicode" clearable
placeholder="验证码" prefix-icon="el-icon-mobile"/>
</el-col>
<el-col :span="8">
<el-button type="info" @click="onGetCode" plain
style="margin:0 4px;border-radius:4px;cursor:pointer;height: 40px">获取验证码
<el-button plain style="margin:0 4px;border-radius:4px;cursor:pointer;height: 40px" type="info"
@click="onGetCode">获取验证码
</el-button>
</el-col>
</el-row>
@ -51,13 +51,13 @@
<div id="captcha" ref="captcha"></div>
</el-form-item>
<el-form-item style="margin-top: 30px">
<el-button type="danger" :disabled="login_disable" @click="onReset">发送重置密码邮件</el-button>
<el-button :disabled="login_disable" type="danger" @click="onReset">发送重置密码邮件</el-button>
</el-form-item>
<el-form-item style="margin-top: 30px">
<el-button type="primary" @click="onLogin">我是老用户,要登录</el-button>
</el-form-item>
<el-form-item v-if="register_enable" style="margin-top: 30px">
<el-button type="primary" @click="onRegister" plain>注册</el-button>
<el-button plain type="primary" @click="onRegister">注册</el-button>
</el-form-item>
</el-form>
@ -71,10 +71,10 @@
</template>
<script>
import {loginFun} from "@/restful";
import {checkEmail, geetest, checkphone} from "@/utils";
import {loginFun} from "@/restful";
import {checkEmail, checkphone, geetest} from "@/utils";
export default {
export default {
name: "FirResetPwd",
data() {
return {
@ -215,49 +215,49 @@
this.get_auth_code();
}, created() {
}
}
}
</script>
<style scoped>
.el-container {
.el-container {
margin: 10px auto;
width: 1266px;
}
}
.el-header {
.el-header {
margin-top: 13%;
}
}
.el-form {
.el-form {
max-width: 360px;
margin: 0 auto;
}
}
.el-form-item .el-button {
.el-form-item .el-button {
max-width: 360px;
/*padding: 16px 20px;*/
width: 100%;
position: relative;
height: 50px;
}
}
.el-header {
.el-header {
text-align: center;
overflow: hidden;
margin-bottom: 50px
}
}
.el-header div span {
.el-header div span {
font-size: 24px;
display: inline-block;
vertical-align: middle;
padding: 8px 40px
}
}
.el-header div:before, .el-header div:after {
.el-header div:before, .el-header div:after {
content: ' ';
display: inline-block;
vertical-align: middle;
@ -265,13 +265,13 @@
height: 1px;
background-color: #babfc3;
margin: 0 0 0 -50%
}
}
.el-header div {
.el-header div {
text-align: center
}
}
.el-header div:after {
.el-header div:after {
margin: 0 -50% 0 0
}
}
</style>

File diff suppressed because it is too large Load Diff

@ -4,14 +4,14 @@
<div class="banner">
<div class="middle-wrapper">
<div @click="defaulttimeline">
<img ref="icon_url" :src="icon_url" class="appicon" style="width:100px; height:100px" alt="">
<img ref="icon_url" :src="icon_url" alt="" class="appicon" style="width:100px; height:100px">
</div>
<div class="badges">
<el-tooltip content="复制到剪切板" placement="top">
<span class="bundleid short"
v-clipboard:copy="short_full_url"
<span v-clipboard:copy="short_full_url"
v-clipboard:success="copy_success"
>&nbsp;{{short_full_url }}</span>
class="bundleid short"
>&nbsp;{{ short_full_url }}</span>
</el-tooltip>
<span>{{ master_release.release_type |getapptype }}</span>
<el-tooltip content="下载量" placement="top">
@ -19,38 +19,38 @@
</el-tooltip>
<span class="bundleid ng-binding">BundleID<b class="ng-binding">
<el-tooltip content="复制到剪切板" placement="top">
<span class="bundleid short"
v-clipboard:copy="appinfos.bundle_id"
<span v-clipboard:copy="appinfos.bundle_id"
v-clipboard:success="copy_success"
>&nbsp;{{appinfos.bundle_id }}</span>
class="bundleid short"
>&nbsp;{{ appinfos.bundle_id }}</span>
</el-tooltip>
</b></span>
<span class="version ng-scope">{{ master_release.minimum_os_version }}&nbsp; 或者高版本</span>
<span class="short ng-scope" v-if="appinfos.issupersign">超级签</span>
<span v-if="appinfos.issupersign" class="short ng-scope">超级签</span>
<el-popover
v-if="$store.state.userinfo&&$store.state.userinfo.role >1 &&$store.state.userinfo.qrcode_domain_name.length>3 "
placement="right"
width="288">
<div style="text-align: center; margin: 0">
<vue-qr :margin="qrinfo.margin"
:logoSrc="icon_url" :logoScale="qrinfo.logoScale"
:logoCornerRadius="qrinfo.logoCornerRadius"
:correctLevel="qrinfo.correctLevel"
:text="short_url()" :size="266"
ref="qr">
<vue-qr ref="qr"
:correctLevel="qrinfo.correctLevel" :logoCornerRadius="qrinfo.logoCornerRadius"
:logoScale="qrinfo.logoScale"
:logoSrc="icon_url"
:margin="qrinfo.margin" :size="266"
:text="short_url()">
</vue-qr>
<el-button type="primary" size="small" @click="save_qr()">保存本地</el-button>
<el-button size="small" type="primary" @click="save_qr()">保存本地</el-button>
</div>
<span class="short ng-scope" slot="reference">下载码</span>
<span slot="reference" class="short ng-scope">下载码</span>
</el-popover>
</div>
<div class="actions">
<el-button v-if="appinfos.status!==1" type="danger">该应用被封禁,请联系管理员</el-button>
<el-button v-else @click="appDownload" class="download" icon="el-icon-view">
<el-button v-else class="download" icon="el-icon-view" @click="appDownload">
预览
</el-button>
</div>
@ -58,27 +58,27 @@
<div class="tabs-container">
<el-row :gutter="1">
<el-col :span="3">
<a class="" ref="baseinfo" @click="baseinfo"><i class="el-icon-document"/>基本信息</a>
<a ref="baseinfo" class="" @click="baseinfo"><i class="el-icon-document"/>基本信息</a>
</el-col>
<el-col :span="3">
<a class="" ref="security" @click="security"><i class="el-icon-set-up"/>应用管理</a>
<a ref="security" class="" @click="security"><i class="el-icon-set-up"/>应用管理</a>
</el-col>
<el-col :span="3">
<a class="" ref="combo" @click="combo"><i class="el-icon-copy-document"
<a ref="combo" class="" @click="combo"><i class="el-icon-copy-document"
style="transform:rotateX(180deg);"/>应用合并</a>
</el-col>
<el-col :span="3"
v-if="appinfos.type===1 || appinfos.issupersign ">
<a class="" ref="supersign" @click="supersign"><i
<el-col v-if="appinfos.type===1 || appinfos.issupersign "
:span="3">
<a ref="supersign" class="" @click="supersign"><i
class="el-icon-ship"/>超级签名</a>
</el-col>
<el-col :span="3"
v-if="(appinfos.type===1 && master_release.release_type ===1) || appinfos.issupersign ">
<a class="" ref="devices" @click="devices"><i class="el-icon-mobile-phone"/>设备列表</a>
<el-col v-if="(appinfos.type===1 && master_release.release_type ===1) || appinfos.issupersign "
:span="3">
<a ref="devices" class="" @click="devices"><i class="el-icon-mobile-phone"/>设备列表</a>
</el-col>
</el-row>
@ -90,9 +90,9 @@
<div class="block" style="margin-top: -46px;color: #d5f9f9">
<el-slider
v-model="$store.state.appInfoIndex[0]"
range
:max="100"
:show-tooltip="false"
:max="100">
range>
</el-slider>
</div>
<el-container style="padding-top: 20px;max-width: 96%">
@ -105,11 +105,11 @@
</template>
<script>
import {apputils} from "@/restful";
import VueQr from 'vue-qr';
import {getUserInfoFun} from "@/utils";
import {apputils} from "@/restful";
import VueQr from 'vue-qr';
import {getUserInfoFun} from "@/utils";
export default {
export default {
name: "FirAppInfosBase",
components: {
VueQr
@ -254,103 +254,103 @@
this.$store.dispatch('doucurrentapp', {});
}
}
}
</script>
<style scoped>
.main {
.main {
margin: 40px auto 100px;
position: relative;
padding-bottom: 1px;
color: #9b9b9b;
-webkit-font-smoothing: antialiased;
border-radius: 1%;
}
}
.appicon {
.appicon {
overflow: hidden;
margin-left: 10px;
border-radius: 17.544%;
}
}
.page-app {
.page-app {
padding-bottom: 0;
width: 1166px;
margin: 10px auto 100px;
}
}
.page-app .banner {
.page-app .banner {
padding-top: 60px;
padding-bottom: 40px;
border-bottom: 1px solid rgba(208, 208, 208, .5);
background-color: #ffffff;
border-radius: 10px;
}
}
.page-app .banner .actions {
.page-app .banner .actions {
position: absolute;
right: 0;
top: 0;
}
}
.page-app .banner .actions .download {
.page-app .banner .actions .download {
display: block;
min-width: 150px;
padding: 10px 20px;
border-radius: 5px;
font-size: 14px;
margin: 0 12px 12px 12px
}
}
.page-app .banner .actions .download {
.page-app .banner .actions .download {
text-align: center;
text-decoration: none;
color: #3ab2a7;
border: 1px solid;
background-color: transparent
}
}
.page-app .banner .middle-wrapper {
.page-app .banner .middle-wrapper {
position: relative
}
}
.page-app .badges {
.page-app .badges {
margin-left: 160px;
font-size: 12px;
line-height: initial;
position: relative;
margin-top: -100px;
}
}
.page-app .badges > span {
.page-app .badges > span {
position: relative;
display: inline-block;
margin-right: 8px;
padding: 4px 8px;
border: 1px solid;
border-radius: 5px
}
}
.page-app .badges .short {
.page-app .badges .short {
color: #6f6ef8
}
}
.page-app .badges .short:hover {
.page-app .badges .short:hover {
cursor: pointer;
}
}
.page-app .badges b {
.page-app .badges b {
display: inline-block;
padding-left: 12px;
height: 100%;
font-weight: 400
}
}
.page-app .badges b:before {
.page-app .badges b:before {
position: absolute;
top: 0;
width: 0;
@ -358,49 +358,49 @@
border-left: 1px solid;
content: ' ';
margin-left: -6px
}
}
.page-app .tabs-container {
.page-app .tabs-container {
margin-top: 40px;
margin-left: 160px
}
}
.page-app .tabs-container .el-row {
.page-app .tabs-container .el-row {
margin: 10px auto;
}
}
.page-app .tabs-container .el-row .el-col {
.page-app .tabs-container .el-row .el-col {
margin-right: 30px;
border-left: 1px solid;
}
}
.page-app .tabs-container .el-row .el-col a {
.page-app .tabs-container .el-row .el-col a {
display: block;
padding-left: 15px;
color: #599b1a;
text-decoration: none;
-webkit-transition: all .5s;
transition: all .5s
}
}
.page-app .tabs-container .el-row .el-col a > i {
.page-app .tabs-container .el-row .el-col a > i {
display: block;
margin-bottom: 14px;
height: 22px;
font-size: 22px
}
}
.page-app .tabs-container .el-row .el-col a.active {
.page-app .tabs-container .el-row .el-col a.active {
color: #4a4a4a
}
}
.page-app .tabs-container .el-row .el-col:nth-child(6) {
.page-app .tabs-container .el-row .el-col:nth-child(6) {
display: none
}
}
.page-app .has-devices .tabs-container .el-row .el-col:nth-child(6) {
.page-app .has-devices .tabs-container .el-row .el-col:nth-child(6) {
display: inline-block
}
}
</style>

@ -7,8 +7,8 @@
<el-input v-model="currentapp.app_id" :disabled="true"/>
</el-col>
<el-col :span="4">
<el-button type="danger" plain @click="delApp"
style="margin:0 8px;border-radius:4px;cursor:pointer;height: 40px">删除应用
<el-button plain style="margin:0 8px;border-radius:4px;cursor:pointer;height: 40px" type="danger"
@click="delApp">删除应用
</el-button>
</el-col>
</el-row>
@ -27,25 +27,25 @@
<el-form-item label="应用图标" style="width: 56%">
<el-upload
class="avatar-uploader"
action="#"
:before-upload="upload_app_icon"
:show-file-list="false"
accept=".png , .jpg , .jpeg"
:before-upload="upload_app_icon">
action="#"
class="avatar-uploader">
<img v-if="currentapp.icon_url" :src="currentapp.icon_url"
class="avatar" alt="">
alt="" class="avatar">
<i v-else class="el-icon-plus avatar-uploader-icon"/>
</el-upload>
</el-form-item>
<el-form-item label="应用描述" style="width: 66%">
<el-input type="textarea" v-model="currentapp.description"
:autosize="{ minRows: 8, maxRows: 18}"/>
<el-input v-model="currentapp.description" :autosize="{ minRows: 8, maxRows: 18}"
type="textarea"/>
</el-form-item>
<el-form-item>
<el-row>
<el-col :span="15">
<el-button type="primary" plain @click="saveappinfo('save')" size="medium"
style="width: 160px;height: 50px;font-size: large;float: right">保存信息
<el-button plain size="medium" style="width: 160px;height: 50px;font-size: large;float: right" type="primary"
@click="saveappinfo('save')">保存信息
</el-button>
</el-col>
</el-row>
@ -54,26 +54,26 @@
<el-form-item label="应用截图" style="width: 100%">
<div class="appdownload">
<el-tooltip content="点击删除该应用截图" v-for="(screen) in currentapp.screenshots" :key="screen.id"
placement="top" effect="light">
<el-tooltip v-for="(screen) in currentapp.screenshots" :key="screen.id" content="点击删除该应用截图"
effect="light" placement="top">
<el-image
:src="screen.url"
alt=""
class="screen-img"
fit="scale-down"
@click="delscreen(screen.id)"
:src="screen.url" alt="">
<div slot="error" class="image-slot" @click="delscreen(screen.id)"
style="text-align: center;margin-top: 80%">
fit="scale-down" @click="delscreen(screen.id)">
<div slot="error" class="image-slot" style="text-align: center;margin-top: 80%"
@click="delscreen(screen.id)">
<i class="el-icon-picture-outline"> 加载失败</i>
</div>
</el-image>
</el-tooltip>
<div class="screen-img"
v-if="currentapp.screenshots && currentapp.screenshots.length < 5">
<div v-if="currentapp.screenshots && currentapp.screenshots.length < 5"
class="screen-img">
<el-upload
drag
action="#"
:before-upload="upload_app_screen"
accept=".png , .jpg , .jpeg"
:before-upload="upload_app_screen">
action="#"
drag>
<i class="el-icon-upload"/>
</el-upload>
</div>
@ -89,10 +89,10 @@
</template>
<script>
import {apputils, getapppicurl, releaseapputils} from "@/restful"
import {AvatarUploadUtils} from "@/utils";
import {apputils, getapppicurl, releaseapputils} from "@/restful"
import {AvatarUploadUtils} from "@/utils";
export default {
export default {
name: "FirAppInfosbaseinfo",
data() {
return {
@ -240,54 +240,54 @@
return getapppicurl(this.currentapp.app_id)
}
}
}
}
</script>
<style scoped>
.appdownload /deep/ .el-upload-dragger {
.appdownload /deep/ .el-upload-dragger {
background: #f1f1f1;
width: 155px;
height: 288px;
}
}
.appdownload /deep/ .el-icon-upload {
.appdownload /deep/ .el-icon-upload {
margin-top: 80%;
}
}
.avatar-uploader .el-upload {
.avatar-uploader .el-upload {
border: 1px dashed #d9d9d9;
border-radius: 6px;
cursor: pointer;
position: relative;
overflow: hidden;
}
}
.screen-img {
.screen-img {
width: 155px;
height: 288px;
margin-right: 20px;
background-color: #f1f1f1;
float: left
}
}
.screen-img:hover {
.screen-img:hover {
background-color: #c2dcf1;
}
}
.avatar-uploader-icon {
.avatar-uploader-icon {
font-size: 28px;
color: #8c939d;
width: 178px;
height: 178px;
line-height: 178px;
text-align: center;
}
}
.avatar {
.avatar {
height: 100px;
width: 100px;
border-radius: 10px;
display: block;
}
}
</style>

@ -1,30 +1,30 @@
<template>
<div class="apps-app-combo page-tabcontent ">
<div class="middle-wrapper">
<div class="request-wrapper" v-if="has_combo ">
<div v-if="has_combo " class="request-wrapper">
<p class="lead text-center ng-scope">已经与 <b>{{ has_combo.name }}</b> 合并</p>
<table>
<tr>
<td><span class="type">{{ currentapp.type|getapptype}}</span></td>
<td><span class="type">{{ currentapp.type|getapptype }}</span></td>
<td/>
<td><span class="type">{{ has_combo.type|getapptype}}</span></td>
<td><span class="type">{{ has_combo.type|getapptype }}</span></td>
</tr>
<tr>
<td>
<div class="icon"><img v-if="cmaster_release" :src="cmaster_release.icon_url"
class="ng-isolate-scope" alt="">
alt="" class="ng-isolate-scope">
</div>
</td>
<td><i class="icon-combo"/></td>
<td>
<div class="icon"><img v-if="hmaster_release" :src="hmaster_release.icon_url"
class="ng-isolate-scope" alt="">
alt="" class="ng-isolate-scope">
</div>
</td>
</tr>
<tr>
<td class="actions" colspan="3">
<el-button @click="each_confirm" round>解除合并</el-button>
<el-button round @click="each_confirm">解除合并</el-button>
</td>
</tr>
</table>
@ -41,10 +41,10 @@
<div class="apps">
<el-link v-if="comboapplists.length ===0 " :underline="false" type="danger">暂无可以合并的应用
</el-link>
<div :key="comboapp.app_id" @click="each_add(comboapp.app_id)" class="app ng-scope"
v-for="comboapp in comboapplists">
<div v-for="comboapp in comboapplists" :key="comboapp.app_id" class="app ng-scope"
@click="each_add(comboapp.app_id)">
<div class="icon">
<img :src="comboapp.master_release|geticon_url" class="ng-isolate-scope" alt="">
<img :src="comboapp.master_release|geticon_url" alt="" class="ng-isolate-scope">
</div>
<p class="ng-binding">{{ comboapp.name }}</p></div>
</div>
@ -56,11 +56,11 @@
</p>
<div class="form-group">
<el-input
@click="searchapps"
v-model="searchKey"
clearable
placeholder="输入短链接或者名字"
prefix-icon="el-icon-search"
v-model="searchKey"
@click="searchapps"
/>
</div>
</div>
@ -77,9 +77,9 @@
</template>
<script>
import {apputils, getapps} from "@/restful";
import {apputils, getapps} from "@/restful";
export default {
export default {
name: "FirAppInfoscombo"
, data() {
return {
@ -224,76 +224,76 @@
this.searchapps()
},
}
}
}
</script>
<style scoped>
.text-center {
.text-center {
text-align: center
}
}
.middle-wrapper {
.middle-wrapper {
margin: 0 auto;
width: 1100px
}
}
.apps-app-combo {
.apps-app-combo {
position: relative;
padding-top: 45px
}
}
.apps-app-combo .icon-container {
.apps-app-combo .icon-container {
margin-bottom: 60px
}
}
.apps-app-combo .icon-container img {
.apps-app-combo .icon-container img {
border-radius: 17.544%
}
}
.apps-app-combo .apps-list {
.apps-app-combo .apps-list {
position: relative;
overflow: hidden
}
}
.apps-app-combo .lead {
.apps-app-combo .lead {
margin-bottom: 30px;
font-size: 16px
}
}
.apps-app-combo .lead b {
.apps-app-combo .lead b {
max-width: 300px;
display: inline-block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
vertical-align: top
}
}
.known-apps {
.known-apps {
text-align: center;
float: left;
width: 45%;
margin: 10px 30px;
}
}
.apps-app-combo .known-apps .icon img {
.apps-app-combo .known-apps .icon img {
width: 80px;
height: 80px;
border-radius: 22.7%
}
}
.apps-app-combo .known-apps .apps .app {
.apps-app-combo .known-apps .apps .app {
display: inline-block;
margin: 0 0 20px 28px;
text-align: center;
cursor: pointer;
vertical-align: top;
}
}
.apps-app-combo .known-apps .apps .app > p {
.apps-app-combo .known-apps .apps .app > p {
margin-top: 8px;
font-size: 12px;
text-align: center;
@ -303,68 +303,68 @@
text-overflow: ellipsis;
white-space: nowrap;
word-wrap: normal
}
}
.apps-app-combo .find-apps {
.apps-app-combo .find-apps {
/*padding-left: 50px;*/
text-align: center;
margin: 10px 30px;
float: right;
width: 40%;
}
}
.apps-app-combo .find-apps .lead {
.apps-app-combo .find-apps .lead {
text-align: left;
}
}
.apps-app-combo .find-apps .form-group {
.apps-app-combo .find-apps .form-group {
position: relative;
margin-bottom: 36px;
width: 260px;
}
}
.apps-app-combo .hr-vertical {
.apps-app-combo .hr-vertical {
position: absolute;
z-index: 12;
width: 1px;
height: 100%;
background-color: #d5f9f9
}
}
.apps-app-combo .request-wrapper .lead {
.apps-app-combo .request-wrapper .lead {
margin-bottom: 80px;
font-size: 18px
}
}
.apps-app-combo .request-wrapper table {
.apps-app-combo .request-wrapper table {
margin: 0 auto;
width: 400px
}
}
.apps-app-combo .request-wrapper table tr:first-child td span {
.apps-app-combo .request-wrapper table tr:first-child td span {
display: inline-block;
margin-bottom: 12px;
font-size: 16px
}
}
.apps-app-combo .request-wrapper table td {
.apps-app-combo .request-wrapper table td {
padding: 0 15px;
text-align: center
}
}
.apps-app-combo .request-wrapper table td img {
.apps-app-combo .request-wrapper table td img {
width: 120px;
height: 120px;
border-radius: 17.54%
}
}
.apps-app-combo .request-wrapper table .actions {
.apps-app-combo .request-wrapper table .actions {
padding-top: 40px
}
}
.apps-app-combo .request-wrapper table i.icon-combo {
.apps-app-combo .request-wrapper table i.icon-combo {
font-size: 30px
}
}
</style>

@ -1,6 +1,6 @@
<template>
<div style="margin-top: 20px;width: 90%;margin-left: 8%">
<el-link type="primary" v-if="this.currentapp.issupersign" style="margin-bottom: 30px;font-size: x-large"
<el-link v-if="this.currentapp.issupersign" style="margin-bottom: 30px;font-size: x-large" type="primary"
@click="$router.push({name:'FirSuperSignBase',params:{act:'useddevices'},query:{bundleid: currentapp.bundle_id}})">
该应用已经开启超级签请点击查看最新设备列表
</el-link>
@ -9,17 +9,17 @@
:data="udidlists"
stripe
style="width: 100%">
<el-table-column width="180"
<el-table-column label="设备型号"
prop="model"
label="设备型号">
width="180">
</el-table-column>
<el-table-column width="180"
<el-table-column label="系统版本"
prop="version"
label="系统版本">
width="180">
</el-table-column>
<el-table-column width="380"
<el-table-column label="UDID"
prop="udid"
label="UDID">
width="380">
</el-table-column>
</el-table>
@ -29,7 +29,7 @@
</template>
<script>
export default {
export default {
name: "FirAppInfosdevices",
data() {
return {
@ -53,7 +53,7 @@
this.udidlists = this.currentapp.master_release.udid;
}
}, computed: {}
}
}
</script>
<style scoped>

@ -1,31 +1,31 @@
<template>
<div style="margin-top: 20px;width: 66%;margin-left: 8%">
<el-dialog
title="绑定应用专属下载页域名"
:close-on-click-modal="false"
:close-on-press-escape="false"
:visible.sync="bind_domain_sure"
title="绑定应用专属下载页域名"
width="666px">
<bind-domain v-if="bind_domain_sure" transitionName="bind-app-domain" :app_id="this.currentapp.app_id"
:domain_type="2"/>
<bind-domain v-if="bind_domain_sure" :app_id="this.currentapp.app_id" :domain_type="2"
transitionName="bind-app-domain"/>
</el-dialog>
<el-form label-width="80px">
<el-form-item label-width="200px" label="访问密码">
<el-form-item label="访问密码" label-width="200px">
<el-tooltip placement="top">
<div slot="content">
{{passwordtip.msg}}<br>
{{ passwordtip.msg }}<br>
<div v-if="passwordtip.val === 'on'">
<el-link icon="el-icon-edit" :underline="false" @click="setaccesspassword">修改</el-link>
<el-link :underline="false" icon="el-icon-edit" @click="setaccesspassword">修改</el-link>
</div>
</div>
<el-switch
v-model="passwordtip.val"
@change="showpasswordevent"
active-color="#13ce66"
inactive-color="#ff4949"
active-value="on"
inactive-value="off">
inactive-color="#ff4949"
inactive-value="off"
@change="showpasswordevent">
</el-switch>
</el-tooltip>
@ -33,54 +33,54 @@
</el-form-item>
<el-form-item label-width="200px" label="下载页显示">
<el-form-item label="下载页显示" label-width="200px">
<el-tooltip :content="downtip.msg" placement="top">
<el-switch
@change="showdownloadevent"
v-model="downtip.val"
active-color="#13ce66"
inactive-color="#ff4949"
active-value="on"
inactive-value="off">
inactive-color="#ff4949"
inactive-value="off"
@change="showdownloadevent">
</el-switch>
</el-tooltip>
<el-link :underline="false" style="margin-left: 20px">默认开启关闭之后用户无法通过短连接访问下载该应用</el-link>
</el-form-item>
<el-form-item label-width="200px" label="应用专属域名">
<el-form-item label="应用专属域名" label-width="200px">
<el-input :value="currentapp.domain_name" clearable
style="width: 60%;margin-right: 10px" prefix-icon="el-icon-download"
:placeholder="defualt_dtitle"/>
<el-input :placeholder="defualt_dtitle" :value="currentapp.domain_name"
clearable prefix-icon="el-icon-download"
style="width: 60%;margin-right: 10px"/>
<el-button @click="bind_domain_sure=true">设置域名</el-button>
</el-form-item>
<el-form-item label-width="200px" label="微信内访问简易模式">
<el-form-item label="微信内访问简易模式" label-width="200px">
<el-tooltip :content="wxeasytypetip.msg" placement="top">
<el-switch
:disabled="wxeasy_disable"
@change="wxeasytypeevent"
v-model="wxeasytypetip.val"
:disabled="wxeasy_disable"
active-color="#13ce66"
inactive-color="#ff4949"
active-value="on"
inactive-value="off">
inactive-color="#ff4949"
inactive-value="off"
@change="wxeasytypeevent">
</el-switch>
</el-tooltip>
<el-link :underline="false" style="margin-left: 20px">默认开启可以最大限度避免微信内举报封停如果绑定域名可以关闭</el-link>
</el-form-item>
<el-form-item label-width="200px" label="微信内访问跳转第三方平台">
<el-form-item label="微信内访问跳转第三方平台" label-width="200px">
<el-tooltip :content="wxredirecttip.msg" placement="top">
<el-switch
@change="wxredirectevent"
v-model="wxredirecttip.val"
active-color="#13ce66"
inactive-color="#ff4949"
active-value="on"
inactive-value="off">
inactive-color="#ff4949"
inactive-value="off"
@change="wxredirectevent">
</el-switch>
</el-tooltip>
<el-link :underline="false" style="margin-left: 20px">默认开启如果配置第三方平台在微信内访问直接跳转</el-link>
@ -93,11 +93,11 @@
</template>
<script>
import {apputils,} from "@/restful"
import {deepCopy} from "@/utils";
import BindDomain from "@/components/base/BindDomain";
import {apputils,} from "@/restful"
import {deepCopy} from "@/utils";
import BindDomain from "@/components/base/BindDomain";
export default {
export default {
name: "FirAppInfossecurity",
components: {BindDomain},
data() {
@ -343,7 +343,7 @@
this.appinit();
},
}, computed: {}
}
}
</script>
<style scoped>

@ -2,43 +2,43 @@
<div style="margin-top: 20px;width: 66%;margin-left: 8%">
<el-form label-width="80px" v-if="currentapp.type === 1 && $store.state.userinfo.supersign_active">
<el-form v-if="currentapp.type === 1 && $store.state.userinfo.supersign_active" label-width="80px">
<el-form-item label-width="200px"
label="超级签名">
<el-form-item label="超级签名"
label-width="200px">
<el-tooltip :content="supersign.msg" placement="top">
<el-switch
@change="supersignevent"
v-model="supersign.val"
active-color="#13ce66"
inactive-color="#ff4949"
active-value="on"
inactive-value="off">
inactive-color="#ff4949"
inactive-value="off"
@change="supersignevent">
</el-switch>
</el-tooltip>
<el-button @click="clean_app" v-if="!currentapp.issupersign && currentapp.count !== 0"
style="margin-left: 20px" size="small" type="info" plain>清理该应用脏数据
<el-button v-if="!currentapp.issupersign && currentapp.count !== 0" plain
size="small" style="margin-left: 20px" type="info" @click="clean_app">清理该应用脏数据
</el-button>
<el-link v-else :underline="false" style="margin-left: 20px">超级签名iOS专用需要配置好苹果开发者账户方可开启</el-link>
</el-form-item>
<el-form-item label-width="200px" label="签名限额">
<el-form-item label="签名限额" label-width="200px">
<el-tooltip content="本应用签名使用额度,超过该额度,新设备将无法安装本应用。0代表不限额" placement="top">
<el-input-number v-model="currentapp.supersign_limit_number" :disabled="supersign_disable" :min="0"
style="width: 40%;margin-right: 10px" label="签名限额"/>
label="签名限额" style="width: 40%;margin-right: 10px"/>
</el-tooltip>
<el-button @click="saveappinfo({supersign_limit_number:currentapp.supersign_limit_number})"
:disabled="supersign_disable"
<el-button :disabled="supersign_disable"
@click="saveappinfo({supersign_limit_number:currentapp.supersign_limit_number})"
>保存
</el-button>
<el-tooltip content="点击查看使用详情" placement="top">
<el-link :underline="false" type="primary" style="margin-left: 20px"
<el-link :underline="false" style="margin-left: 20px" type="primary"
@click="$router.push({name:'FirSuperSignBase',params:{act:'useddevices'},query:{bundleid: currentapp.bundle_id}})">
已经使用 <a style="color: #dd6161;font-size: larger">{{ currentapp.supersign_used_number }}</a>
个设备额度
@ -47,36 +47,36 @@
</el-form-item>
<el-form-item label-width="200px" label="签名类型">
<el-select v-model="currentapp.supersign_type" placeholder="特殊签名权限"
style="width: 60%;margin-right: 10px" :disabled="supersign_disable">
<el-form-item label="签名类型" label-width="200px">
<el-select v-model="currentapp.supersign_type" :disabled="supersign_disable"
placeholder="特殊签名权限" style="width: 60%;margin-right: 10px">
<el-option v-for="st in sign_type_list" :key="st.id" :label="st.name"
:value="st.id"/>
</el-select>
<el-button @click="saveappinfo({supersign_type:currentapp.supersign_type})"
:disabled="supersign_disable"
<el-button :disabled="supersign_disable"
@click="saveappinfo({supersign_type:currentapp.supersign_type})"
>保存
</el-button>
</el-form-item>
<el-form-item label-width="200px" label="自定义BundleID">
<el-form-item label="自定义BundleID" label-width="200px">
<el-tooltip content="新的BundleID可能会导致推送等服务失效,请了解之后进行修改" placement="top">
<el-input v-model="currentapp.new_bundle_id" clearable :disabled="supersign_disable"
style="width: 60%;margin-right: 10px" prefix-icon="el-icon-s-data"
:placeholder="defualt_dtitle"/>
<el-input v-model="currentapp.new_bundle_id" :disabled="supersign_disable" :placeholder="defualt_dtitle"
clearable prefix-icon="el-icon-s-data"
style="width: 60%;margin-right: 10px"/>
</el-tooltip>
<el-button @click="saveappinfo({new_bundle_id:currentapp.new_bundle_id})" :disabled="supersign_disable"
<el-button :disabled="supersign_disable" @click="saveappinfo({new_bundle_id:currentapp.new_bundle_id})"
>保存
</el-button>
</el-form-item>
<el-form-item label-width="200px" label="自定义应用名称">
<el-input v-model="currentapp.new_bundle_name" clearable :disabled="supersign_disable"
style="width: 60%;margin-right: 10px" prefix-icon="el-icon-s-data"
:placeholder="defualt_dtitle_name"/>
<el-button @click="saveappinfo({new_bundle_name:currentapp.new_bundle_name})"
:disabled="supersign_disable"
<el-form-item label="自定义应用名称" label-width="200px">
<el-input v-model="currentapp.new_bundle_name" :disabled="supersign_disable" :placeholder="defualt_dtitle_name"
clearable prefix-icon="el-icon-s-data"
style="width: 60%;margin-right: 10px"/>
<el-button :disabled="supersign_disable"
@click="saveappinfo({new_bundle_name:currentapp.new_bundle_name})"
>保存
</el-button>
</el-form-item>
@ -89,10 +89,10 @@
</template>
<script>
import {apputils,} from "@/restful"
import {deepCopy} from "@/utils";
import {apputils,} from "@/restful"
import {deepCopy} from "@/utils";
export default {
export default {
name: "FirAppInfossupersign",
data() {
return {
@ -215,7 +215,7 @@
}
}
}, computed: {}
}
}
</script>
<style scoped>

@ -1,42 +1,43 @@
<template>
<el-timeline>
<el-timeline-item v-for="(app) in release_apps" :key="app.release_id"
:timestamp="app.created_time|formatdatatimeline"
:color="app.master_color"
:timestamp="app.created_time|formatdatatimeline"
placement="top">
<el-card>
<div class="directive-view-release">
<i class="el-icon-cloudy" v-if="! app.is_master"/>
<i class="el-icon-cloudy" style="background-color: rgb(139,195,248)" v-else/>
<i v-if="! app.is_master" class="el-icon-cloudy"/>
<i v-else class="el-icon-cloudy" style="background-color: rgb(139,195,248)"/>
<b class="ng-binding">{{app.app_version}} (Build {{app.build_version}})</b>
<div class="release-metainfo ng-hide"
v-if="app.release_type === 0">
<b class="ng-binding">{{ app.app_version }} (Build {{ app.build_version }})</b>
<div v-if="app.release_type === 0"
class="release-metainfo ng-hide">
<small>
<i class="icon-calendar"/>
<span class="el-icon-date">&nbsp;{{app.created_time|formattimeline}}</span>
<span class="el-icon-date">&nbsp;{{ app.created_time|formattimeline }}</span>
</small>
</div>
<div class="release-metainfo" v-else>
<div v-else class="release-metainfo">
<small>
<i class="icon-calendar"/>
<span class="el-icon-date">&nbsp;{{app.created_time|formattimeline}}</span>
<span class="el-icon-date">&nbsp;{{ app.created_time|formattimeline }}</span>
</small> &nbsp;&nbsp;·&nbsp;&nbsp;
<small>{{app.release_type|getiOStype}}</small>
<small v-if="app.distribution_name" style="margin-left: 5px">&nbsp;&nbsp;·&nbsp;{{app.distribution_name}}</small>
<small>{{ app.release_type|getiOStype }}</small>
<small v-if="app.distribution_name"
style="margin-left: 5px">&nbsp;&nbsp;·&nbsp;{{ app.distribution_name }}</small>
</div>
<p>{{app.changelog}}</p>
<p>{{ app.changelog }}</p>
<label>
<textarea v-if="app.editing.changelog"
v-model="app.changelog"
placeholder="更新日志">
</textarea>
</label>
<div class="release-actions editing " v-if="app.editing.changelog">
<div v-if="app.editing.changelog" class="release-actions editing ">
<button class="btn-cancel" @click="endEdit(app,'changelog')"><span
>取消</span></button>
<button class="btn-save" @click="updateChangelog(app,'changelog')"><span
@ -44,20 +45,20 @@
</div>
<el-input v-if="app.editing.binary_url"
v-model="app.binary_url"
placeholder="下载地址,默认本服务器,填写第三方可以 自动跳转到第三方平台" clearable>
clearable placeholder="下载地址,默认本服务器,填写第三方可以 自动跳转到第三方平台">
</el-input>
<div class="release-actions editing " v-if="app.editing.binary_url" style="margin-top: 10px">
<div v-if="app.editing.binary_url" class="release-actions editing " style="margin-top: 10px">
<button class="btn-cancel" @click="endEdit(app,'binary_url')"><span
>取消</span></button>
<button class="btn-save" @click="updateChangelog(app,'binary_url')"><span
>保存</span></button>
</div>
<div class="release-actions" v-show="!app.editing.changelog && !app.editing.binary_url ">
<div v-show="!app.editing.changelog && !app.editing.binary_url " class="release-actions">
<el-tooltip class="tooltip-top" content="编辑更新日志" placement="top">
<el-button @click="startEdit(app,'changelog')"
<el-button class="tooltip-top "
tooltip="编辑更新日志"
class="tooltip-top ">
@click="startEdit(app,'changelog')">
<i class="el-icon-edit"/>
</el-button>
</el-tooltip>
@ -65,11 +66,11 @@
<el-button class="tooltip-top" tooltip="下载原文件"
@click="downloadPackage(app)">
<i class="el-icon-download"/>
<span>{{app.binary_size}}</span>
<span>{{ app.binary_size }}</span>
</el-button>
</el-tooltip>
<el-tooltip class="tooltip-top" :content="app.binary_url|downcontent" placement="top">
<el-tooltip :content="app.binary_url|downcontent" class="tooltip-top" placement="top">
<el-button class="tooltip-top" tooltip="修改下载地址"
@click="startEdit(app,'binary_url')"><i class="el-icon-link"/> <span>下载地址</span>
@ -101,9 +102,9 @@
</template>
<script>
import {getdownloadurl, releaseapputils} from "@/restful"
import {getdownloadurl, releaseapputils} from "@/restful"
export default {
export default {
name: "FirAppInfostimeline",
data() {
return {
@ -317,19 +318,19 @@
return ftype
},
}
}
}
</script>
<style scoped>
.directive-view-release {
.directive-view-release {
position: relative;
padding-left: 80px;
color: #9b9b9b;
}
}
.directive-view-release > i {
.directive-view-release > i {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
@ -349,54 +350,54 @@
background-color: #f6f6f6;
text-align: center;
font-size: 22px
}
}
.directive-view-release > i:before {
.directive-view-release > i:before {
display: inline-block;
margin-top: 2px;
margin-left: 2px
}
}
.directive-view-release .release-metainfo {
.directive-view-release .release-metainfo {
margin-top: 2px
}
}
.directive-view-release .release-metainfo small {
.directive-view-release .release-metainfo small {
display: inline-block;
vertical-align: middle;
margin: 8px 0;
line-height: 14px
}
}
.directive-view-release .release-metainfo small i, .directive-view-release .release-metainfo small span {
.directive-view-release .release-metainfo small i, .directive-view-release .release-metainfo small span {
display: inline-block;
vertical-align: middle
}
}
.directive-view-release .release-metainfo small i {
.directive-view-release .release-metainfo small i {
margin-right: 2px;
line-height: 14px
}
}
.directive-view-release > b {
.directive-view-release > b {
display: inline-block;
vertical-align: middle;
margin-right: 30px;
color: #4a4a4a;
font-weight: 400;
font-size: 20px
}
}
.directive-view-release pre, .directive-view-release textarea {
.directive-view-release pre, .directive-view-release textarea {
margin: 14px 0;
padding: 0;
border: 0;
background-color: transparent;
color: #4a4a4a;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif
}
}
.directive-view-release textarea {
.directive-view-release textarea {
padding: 12px 16px;
width: 500px;
height: 120px;
@ -405,21 +406,21 @@
border: 1px solid #bdc6c7;
color: #555;
font-size: 16px
}
}
.directive-view-release .tooltip-top {
.directive-view-release .tooltip-top {
position: relative;
overflow: visible;
color: #9b9b9b;
}
}
.directive-view-release .release-actions {
.directive-view-release .release-actions {
margin-top: 10px;
position: relative
}
}
.directive-view-release .release-actions a, .directive-view-release .release-actions button {
.directive-view-release .release-actions a, .directive-view-release .release-actions button {
display: inline-block;
vertical-align: middle;
margin-right: 8px;
@ -428,52 +429,52 @@
overflow: hidden;
border-radius: 17px;
padding: 4px 10px
}
}
.directive-view-release .release-actions .tooltip-top {
.directive-view-release .release-actions .tooltip-top {
overflow: visible;
position: relative
}
}
.directive-view-release .release-actions a i, .directive-view-release .release-actions button i {
.directive-view-release .release-actions a i, .directive-view-release .release-actions button i {
display: inline-block;
vertical-align: middle
}
}
.directive-view-release .release-actions a.btn-save, .directive-view-release .release-actions button.btn-save {
.directive-view-release .release-actions a.btn-save, .directive-view-release .release-actions button.btn-save {
border-color: #3d6df8;
background-color: #92c1f8;
color: #fff
}
}
.directive-view-release .release-actions a.btn-cancel, .directive-view-release .release-actions button.btn-cancel {
.directive-view-release .release-actions a.btn-cancel, .directive-view-release .release-actions button.btn-cancel {
border: 0;
}
}
.directive-view-release .release-actions a.btn-cancel:hover, .directive-view-release .release-actions button.btn-cancel:hover {
.directive-view-release .release-actions a.btn-cancel:hover, .directive-view-release .release-actions button.btn-cancel:hover {
color: #686868
}
}
.directive-view-release .release-actions a {
.directive-view-release .release-actions a {
color: #9b9b9b
}
}
.directive-view-release .release-actions a:focus, .directive-view-release .release-actions a:hover {
.directive-view-release .release-actions a:focus, .directive-view-release .release-actions a:hover {
text-decoration: none
}
}
.directive-view-release .release-actions .has-text i {
.directive-view-release .release-actions .has-text i {
border-right: 1px solid
}
}
.directive-view-release .release-actions.editing {
.directive-view-release .release-actions.editing {
margin-top: 0;
text-align: right;
width: 500px
}
}
.time-line-more {
.time-line-more {
background: #F6F6F6;
border: 1px solid;
position: relative;
@ -482,5 +483,5 @@
padding: 10px 0;
border-radius: 40px;
margin-top: 10px;
}
}
</style>

File diff suppressed because it is too large Load Diff

@ -1,16 +1,17 @@
<template>
<transition :name="transitionName">
<div v-show="visible" :style="customStyle" class="back-to-ceiling" @click="backToTop">
<svg width="16" height="16" viewBox="0 0 17 17" xmlns="http://www.w3.org/2000/svg"
class="Icon Icon--backToTopArrow" aria-hidden="true" style="height:16px;width:16px">
<path d="M12.036 15.59a1 1 0 0 1-.997.995H5.032a.996.996 0 0 1-.997-.996V8.584H1.03c-1.1 0-1.36-.633-.578-1.416L7.33.29a1.003 1.003 0 0 1 1.412 0l6.878 6.88c.782.78.523 1.415-.58 1.415h-3.004v7.004z"/>
<svg aria-hidden="true" class="Icon Icon--backToTopArrow" height="16" style="height:16px;width:16px"
viewBox="0 0 17 17" width="16" xmlns="http://www.w3.org/2000/svg">
<path
d="M12.036 15.59a1 1 0 0 1-.997.995H5.032a.996.996 0 0 1-.997-.996V8.584H1.03c-1.1 0-1.36-.633-.578-1.416L7.33.29a1.003 1.003 0 0 1 1.412 0l6.878 6.88c.782.78.523 1.415-.58 1.415h-3.004v7.004z"/>
</svg>
</div>
</transition>
</template>
<script>
export default {
export default {
name: 'BackToTop',
props: {
visibilityHeight: {
@ -82,33 +83,33 @@
return -c / 2 * (--t * (t - 2) - 1) + b
}
}
}
}
</script>
<style scoped>
.back-to-ceiling {
.back-to-ceiling {
position: fixed;
display: inline-block;
text-align: center;
cursor: pointer;
}
}
.back-to-ceiling:hover {
.back-to-ceiling:hover {
background: #d5dbe7;
}
}
.fade-enter-active,
.fade-leave-active {
.fade-enter-active,
.fade-leave-active {
transition: opacity .5s;
}
}
.fade-enter,
.fade-leave-to {
.fade-enter,
.fade-leave-to {
opacity: 0
}
}
.back-to-ceiling .Icon {
.back-to-ceiling .Icon {
fill: #9aaabf;
background: none;
}
}
</style>

@ -13,7 +13,7 @@
<div style="margin-top: 20px">
<div v-if="active===1">
<h2>你的二级域名</h2>
<el-input clearable autofocus v-model="domain_name"/>
<el-input v-model="domain_name" autofocus clearable/>
</div>
<div v-else-if="active===2">
<div style="text-align: center;margin: 20px 0">
@ -26,59 +26,59 @@
stripe
style="width: 100%;margin-top: 20px">
<el-table-column
prop="type"
label="记录类型"
align="center"
label="记录类型"
prop="type"
width="100">
</el-table-column>
<el-table-column
prop="host"
align="center"
label="主机记录"
prop="host"
>
<template slot-scope="scope">
<el-tooltip content="点击复制到剪贴板">
<el-link v-if="scope.row.host" :underline="false"
v-clipboard:copy="scope.row.host"
v-clipboard:success="copy_success">{{ scope.row.host }}
<el-link v-if="scope.row.host" v-clipboard:copy="scope.row.host"
v-clipboard:success="copy_success"
:underline="false">{{ scope.row.host }}
</el-link>
</el-tooltip>
</template>
</el-table-column>
<el-table-column
prop="dns"
align="center"
label="记录值"
prop="dns"
width="300">
<template slot-scope="scope">
<el-tooltip content="点击复制到剪贴板">
<el-link v-if="scope.row.dns" :underline="false"
v-clipboard:copy="scope.row.dns"
v-clipboard:success="copy_success">{{ scope.row.dns }}
<el-link v-if="scope.row.dns" v-clipboard:copy="scope.row.dns"
v-clipboard:success="copy_success"
:underline="false">{{ scope.row.dns }}
</el-link>
</el-tooltip>
</template>
</el-table-column>
</el-table>
<el-alert title="请在域名DNS配置成功后,点击“下一步”按钮"
<el-alert :closable="false"
show-icon
style="margin-top: 30px"
type="warning"
:closable="false"
show-icon/>
title="请在域名DNS配置成功后,点击“下一步”按钮"
type="warning"/>
</div>
<div v-else-if="active===3">
<div v-if="!bind_status">
<div style="text-align: center;margin: 20px 0">
<el-link :underline="false" type="danger"
style="font-size: x-large">绑定失败
<el-link :underline="false" style="font-size: x-large"
type="danger">绑定失败
</el-link>
</div>
<p style="margin: 10px 0">{{b_t_msg}}正在绑定域名<strong>{{ domain_name }}</strong></p>
<p style="margin: 10px 0">{{ b_t_msg }}正在绑定域名<strong>{{ domain_name }}</strong></p>
<el-row>
<el-col :span="16"><p>系统未检出到您的CNAME记录请检查您的配置</p></el-col>
<el-col :span="6">
<el-button type="danger" size="small" plain style="margin-top: 8px"
<el-button plain size="small" style="margin-top: 8px" type="danger"
@click="remove_domain">
解除绑定
</el-button>
@ -88,15 +88,15 @@
<div v-else>
<div style="text-align: center;margin: 20px 0">
<el-link :underline="false" type="success"
style="font-size: x-large">绑定成功
<el-link :underline="false" style="font-size: x-large"
type="success">绑定成功
</el-link>
</div>
<el-row>
<el-col :span="16"><p>{{b_t_msg}}已绑定域名<strong>{{ domain_name }}</strong></p></el-col>
<el-col :span="16"><p>{{ b_t_msg }}已绑定域名<strong>{{ domain_name }}</strong></p></el-col>
<el-col :span="6">
<el-button type="danger" size="small" plain style="margin-top: 8px"
<el-button plain size="small" style="margin-top: 8px" type="danger"
@click="remove_domain">
解除绑定
</el-button>
@ -110,34 +110,34 @@
stripe
style="width: 100%;margin-top: 20px">
<el-table-column
prop="type"
label="记录类型"
align="center"
label="记录类型"
prop="type"
width="100">
</el-table-column>
<el-table-column
prop="host"
align="center"
label="主机记录"
prop="host"
>
</el-table-column>
<el-table-column
prop="dns"
align="center"
label="记录值"
prop="dns"
width="300">
</el-table-column>
</el-table>
<div v-if="!bind_status" style="text-align: center;margin: 30px 0">
<el-button @click="check_cname" type="success" plain>已经修改配置再次检查绑定</el-button>
<el-button plain type="success" @click="check_cname">已经修改配置再次检查绑定</el-button>
</div>
</div>
</div>
</div>
<div v-if="active!==3" style="margin:40px 20px 0;text-align: right">
<el-button @click="last"
:disabled="bind_status|| active===1 ">上一步
<el-button :disabled="bind_status|| active===1 "
@click="last">上一步
</el-button>
<el-button v-if="force_bind" @click="next(1)">强制绑定</el-button>
<el-button v-else @click="next(0)">下一步</el-button>
@ -149,9 +149,9 @@
</template>
<script>
import {domainFun} from "@/restful";
import {domainFun} from "@/restful";
export default {
export default {
name: 'BindDomain',
props: {
transitionName: {
@ -304,11 +304,11 @@
if (this.active-- < 2) this.active = 1;
},
}
}
}
</script>
<style scoped>
.dialog-footer {
.dialog-footer {
}
}
</style>

@ -17,7 +17,7 @@
</div>
<p><b>flyapps@126.com</b></p>
<el-tooltip content="拿出手机扫描添加微信" style="margin-top: 33px">
<el-image :lazy="true" :src="require('@/assets/wxchat.jpg')" style="width: 160px" alt="扫描添加微信">
<el-image :lazy="true" :src="require('@/assets/wxchat.jpg')" alt="扫描添加微信" style="width: 160px">
</el-image>
</el-tooltip>
@ -26,44 +26,44 @@
</template>
<script>
export default {
export default {
name: "FirContact",
data() {
return {
bg_img: require("@/assets/imgs/banner_1.jpg")
}
},
}
}
</script>
<style scoped>
.ContactUs {
.ContactUs {
text-align: center;
}
}
.content {
.content {
width: 942px;
margin: 80px auto 160px;
text-align: center;
}
}
.item {
.item {
display: inline-block;
font-size: 14px;
text-align: left;
}
}
.item p {
.item p {
font-size: 16px;
color: #8C9293;
}
}
.item p b {
.item p b {
font-size: 30px;
color: #313639;
font-weight: 400;
letter-spacing: 2.5px;
}
}
</style>

@ -23,17 +23,17 @@
<p>THE REASON TO CHOOSING US</p>
</div>
<el-row :gutter="24">
<el-col :span="6" v-for="(item,index) in serverList" :key="index">
<el-col v-for="(item,index) in serverList" :key="index" :span="6">
<div class="server-block"
onmouseenter="this.style.color='#28f';this.style.borderColor='#28f'"
onmouseleave="this.style.color='#666';this.style.borderColor='#ccc'">
<img class="center-block" v-lazy="item.logo" alt="logo">
<p class="text-center">{{item.title}}</p>
<img v-lazy="item.logo" alt="logo" class="center-block">
<p class="text-center">{{ item.title }}</p>
<div
class="text-center"
v-html="item.content"
onmouseenter="this.style.color='#28f'"
onmouseleave="this.style.color='#ccc'"
v-html="item.content"
></div>
</div>
</el-col>
@ -45,9 +45,9 @@
<el-main class="contactUs-container">
<div class="content">您身边的应用托管分发专家</div>
<div class="content">7x24小时提供出色的不间断服务</div>
<el-button @click="$router.push({name:'FirContact'})"
<el-button onmouseenter="this.style.backgroundColor='transparent'; this.style.borderColor='#ffffff'; this.style.color='#ffffff';"
onmouseleave="this.style.borderColor='#ffffff'; this.style.backgroundColor='#ffffff'; this.style.color='#3f3f3f';"
onmouseenter="this.style.backgroundColor='transparent'; this.style.borderColor='#ffffff'; this.style.color='#ffffff';"
@click="$router.push({name:'FirContact'})"
>联系我们
</el-button>
<div class="contactUs-contactWay">
@ -62,7 +62,7 @@
</template>
<script>
export default {
export default {
name: "FirIndex",
data() {
return {
@ -123,28 +123,28 @@
]
}
}
}
}
</script>
<style scoped>
* {
* {
margin: 0;
padding: 0;
}
}
.main .top {
.main .top {
margin-top: 10px;
width: 100%;
height: 600px;
}
}
.main .top .bpic {
.main .top .bpic {
width: 100%;
height: 600px;
}
}
.main .topplayer-top {
.main .topplayer-top {
width: 800px;
height: 300px;
position: absolute;
@ -153,27 +153,27 @@
z-index: 2;
right: 50%;
margin-right: -400px;
}
}
.word {
.word {
padding-top: 100px;
color: #ffffff;
font-size: 45px;
font-weight: bolder;
text-align: center;
font-family: "微软雅黑";
}
}
.content {
.content {
padding-top: 30px;
color: #ffffff;
font-size: 20px;
font-weight: bolder;
text-align: center;
font-family: "微软雅黑";
}
}
.main .topplayer-top button {
.main .topplayer-top button {
width: 200px;
height: 60px;
margin-top: 50px;
@ -185,71 +185,71 @@
font-size: 14px;
border-radius: 8px; /*圆角*/
margin-left: 150px;
}
}
#contactUs {
#contactUs {
margin-top: 60px;
color: #fff;
height: 400px;
text-align: center;
background-size: 100% 100%;
transition: all ease 0.6s;
}
}
#contactUs .contactUs-container {
#contactUs .contactUs-container {
padding-top: 50px;
}
}
#contactUs .contactUs-container button {
#contactUs .contactUs-container button {
width: 300px;
height: 50px;
margin-top: 40px;
}
}
#contactUs .contactUs-container .contactUs-contactWay img {
#contactUs .contactUs-container .contactUs-contactWay img {
display: inline-block;
width: 48px;
height: 48px;
margin: 30px;
}
}
/* 为什么选择我们 */
#whyChooseUs {
/* 为什么选择我们 */
#whyChooseUs {
padding: 100px;
text-align: center;
}
}
#whyChooseUs .whyChooseUs-title {
#whyChooseUs .whyChooseUs-title {
margin-bottom: 50px;
}
}
#whyChooseUs .whyChooseUs-title p:nth-of-type(1) {
#whyChooseUs .whyChooseUs-title p:nth-of-type(1) {
font-size: 25px;
font-weight: 500;
}
}
#whyChooseUs .whyChooseUs-title p:nth-of-type(2) {
#whyChooseUs .whyChooseUs-title p:nth-of-type(2) {
font-size: 14px;
}
}
#whyChooseUs .server-block {
#whyChooseUs .server-block {
padding: 50px 20px;
border: 1px solid #ccc;
border-bottom: 5px solid #ccc;
}
}
#whyChooseUs .server-block img {
#whyChooseUs .server-block img {
width: 48px;
height: 48px;
}
}
#whyChooseUs .server-block > p {
#whyChooseUs .server-block > p {
font-size: 20px;
margin: 30px 0;
}
}
#whyChooseUs .server-block > div {
#whyChooseUs .server-block > div {
color: #ccc;
}
}
</style>

@ -4,9 +4,9 @@
<el-header class="header">
<el-row :gutter="12">
<el-col :span="12">
<el-image class="logo img" :src="require('@/assets/logo.png')" alt="logo"/>
<el-image :src="require('@/assets/logo.png')" alt="logo" class="logo img"/>
</el-col>
<el-col :span="12" :offset="12">
<el-col :offset="12" :span="12">
<el-row :gutter="12" class="nav">
<el-col :span="8">
<el-link @click="$router.push({name:'FirIndex'})">首页</el-link>
@ -35,8 +35,8 @@
<div>
<router-view/>
</div>
<el-tooltip placement="top" content="回到顶部">
<back-to-top :custom-style="myBackToTopStyle" :visibility-height="300" :back-position="50"
<el-tooltip content="回到顶部" placement="top">
<back-to-top :back-position="50" :custom-style="myBackToTopStyle" :visibility-height="300"
transition-name="fade"/>
</el-tooltip>
<el-footer>
@ -47,10 +47,10 @@
</template>
<script>
import FirFooter from "@/components/FirFooter";
import BackToTop from "@/components/base/BackToTop";
import FirFooter from "@/components/FirFooter";
import BackToTop from "@/components/base/BackToTop";
export default {
export default {
name: "FirIndex",
components: {FirFooter, BackToTop},
data() {
@ -66,38 +66,38 @@
},
}
}
}
}
</script>
<style scoped>
* {
* {
margin: 0;
padding: 0;
}
}
.header {
.header {
width: 100%;
height: 120px;
}
}
.header .img {
.header .img {
width: 300px;
height: 85px;
padding-left: 100px;
padding-top: 8px;
}
}
.header .logo {
.header .logo {
float: left;
}
}
.header .nav {
.header .nav {
float: right;
padding-right: 80px;
}
}
.header .nav .el-col {
.header .nav .el-col {
margin-right: 20px;
float: left;
list-style: none;
@ -107,14 +107,14 @@
color: #7d7d7d;
font-size: 15px;
font-weight: bolder;
}
}
.header .nav .el-link:hover {
.header .nav .el-link:hover {
color: #47477d;
font-size: 16px;
cursor: pointer;
touch-action: manipulation;
}
}
</style>

@ -6,18 +6,18 @@
<p style="color:#b2b2b2">Company News</p>
</div>
<div class="nav text-center">
<a href="#" class="active">公司新闻</a>
<a class="active" href="#">公司新闻</a>
<a href="#">行业动态</a>
</div>
<ul class="news-container">
<li v-for="(item,index) in newsList" :key="index">
<div class="content">
<p>{{item.title}}</p>
<p>{{item.introduce}}</p>
<p>{{ item.title }}</p>
<p>{{ item.introduce }}</p>
</div>
<div class="time">
<p>{{item.date}}</p>
<span>{{item.year}}</span>
<p>{{ item.date }}</p>
<span>{{ item.year }}</span>
</div>
<div class="circle">
<img :src="require('@/assets/imgs/circle.png')">
@ -33,7 +33,7 @@
</template>
<script>
export default {
export default {
name: "FirNews",
data() {
return {
@ -82,19 +82,19 @@
mounted() {
this.show = true;
}
}
}
</script>
<style scoped>
.NewsInformation {
.NewsInformation {
text-align: center;
}
}
.nav {
.nav {
margin: 20px 0;
}
}
.nav > a {
.nav > a {
display: inline-block;
text-decoration: none;
width: 120px;
@ -102,28 +102,28 @@
line-height: 45px;
color: #333;
border: 1px solid #333;
}
}
.nav > a.active {
.nav > a.active {
color: #1e73be;
border-color: #1e73be;
}
}
.nav > a:hover {
.nav > a:hover {
color: #1e73be;
border-color: #1e73be;
}
}
.news-container {
.news-container {
overflow: hidden;
margin-bottom: 0;
width: 1140px;
margin-right: auto;
margin-left: auto;
list-style: none;
}
}
.news-container > li {
.news-container > li {
width: 55.45%;
height: 120px;
float: left;
@ -131,44 +131,44 @@
text-align: right;
border-left: 1px solid transparent;
border-right: 1px solid transparent;
}
}
.news-container > li:hover {
.news-container > li:hover {
color: #1e73be;
/*border: 1px solid #1e73be;*/
cursor: pointer;
}
}
.news-container > li:nth-of-type(2n) {
.news-container > li:nth-of-type(2n) {
float: right;
text-align: left;
}
}
.news-container > li > .content {
.news-container > li > .content {
width: 60%;
float: left;
padding: 20px 0;
}
}
.news-container > li > .time {
.news-container > li > .time {
width: 20%;
float: left;
padding: 10px 0;
}
}
.news-container > li > .time > p {
.news-container > li > .time > p {
font-size: 30px;
margin: 5px 0;
}
}
.news-container > li > .circle {
.news-container > li > .circle {
width: 20%;
height: 100%;
float: left;
position: relative;
}
}
.news-container > li > .circle > img {
.news-container > li > .circle > img {
position: absolute;
top: 0;
left: 0;
@ -177,37 +177,37 @@
margin: auto;
width: 20px;
height: 20px;
}
}
.news-container > li > .circle > i {
.news-container > li > .circle > i {
display: block;
width: 1px;
height: 100%;
background: #707070;
}
}
.news-container > li:nth-of-type(2n) > .content {
.news-container > li:nth-of-type(2n) > .content {
float: right;
}
}
.news-container > li:nth-of-type(2n) > .time {
.news-container > li:nth-of-type(2n) > .time {
float: right;
}
}
.news-container > li:nth-of-type(2n) > .circle {
.news-container > li:nth-of-type(2n) > .circle {
float: right;
}
}
.news-container > li:nth-of-type(1) > .circle > i {
.news-container > li:nth-of-type(1) > .circle > i {
height: 50%;
position: absolute;
top: 50%;
left: 50%;
}
}
.center-block {
.center-block {
display: block;
margin-right: auto;
margin-left: auto
}
}
</style>

@ -6,13 +6,13 @@
</div>
<div class="Service-container">
<transition name="el-zoom-in-center">
<el-row :gutter="20" v-show="show">
<el-col :span="6" v-for="(item,index) in serviceList" :key="index">
<el-row v-show="show" :gutter="20">
<el-col v-for="(item,index) in serviceList" :key="index" :span="6">
<div class="Service-item Service-item-wrapper">
<div class="Service-item-top">
<h4>{{item.title}}</h4>
<h4>{{ item.title }}</h4>
<i/>
<p>{{item.eng_title}}</p>
<p>{{ item.eng_title }}</p>
</div>
<div class="Service-item-img">
<img :src="item.img" alt="服务">
@ -29,7 +29,7 @@
</template>
<script>
export default {
export default {
name: "FirService",
data() {
return {
@ -62,64 +62,64 @@
mounted() {
this.show = true;
}
}
}
</script>
<style scoped>
.Service {
.Service {
text-align: center;
}
}
.Service-container {
.Service-container {
width: 1170px;
padding: 30px 50px;
margin-right: auto;
margin-left: auto;
}
}
.Service-item {
.Service-item {
margin-bottom: 50px;
}
}
.Service-item-wrapper {
.Service-item-wrapper {
cursor: pointer;
background: rgba(244, 244, 244, 1);
overflow: hidden;
position: relative;
}
}
.Service-item-top {
.Service-item-top {
width: 100%;
height: 120px;
/*padding: 30px;*/
text-align: center;
}
}
.Service-item-top > i {
.Service-item-top > i {
display: inline-block;
width: 25px;
height: 2px;
background: #28f;
}
}
.Service-item-top > p {
.Service-item-top > p {
color: #b2b2b2;
opacity: 0;
transform: translateY(10px);
transition: all .5s ease;
}
}
.Service-item-img {
.Service-item-img {
width: 100%;
overflow: hidden;
}
}
.Service-item-img img {
.Service-item-img img {
width: 100%;
transition: all 0.5s ease;
}
}
.Service-item-border {
.Service-item-border {
position: absolute;
top: 0;
left: 0;
@ -132,24 +132,24 @@
transition: all 0.5s ease;
border: 1px solid #000;
opacity: 0;
}
}
.Service-item-wrapper:hover .Service-item-top > i {
.Service-item-wrapper:hover .Service-item-top > i {
opacity: 0;
}
}
.Service-item-wrapper:hover .Service-item-top > p {
.Service-item-wrapper:hover .Service-item-top > p {
opacity: 1;
transform: translateY(-10px);
}
}
.Service-item-wrapper:hover .Service-item-img > img {
.Service-item-wrapper:hover .Service-item-img > img {
transform: scale(1.1, 1.1);
}
}
.Service-item-wrapper:hover > .Service-item-border {
.Service-item-wrapper:hover > .Service-item-border {
/*opacity: 1;*/
width: 90%;
height: 90%;
}
}
</style>

@ -1,59 +1,59 @@
<template>
<el-main>
<el-dialog title="发布证书导入" :visible.sync="importcertDeveloperVisible" :destroy-on-close="true"
:close-on-click-modal="false" style="text-align:center" width="700px">
<el-dialog :close-on-click-modal="false" :destroy-on-close="true" :visible.sync="importcertDeveloperVisible"
style="text-align:center" title="发布证书导入" width="700px">
<el-form label-width="30%">
<el-form-item label="发布证书p12文件" style="width: 80%">
<el-upload
drag
ref="upload"
action="#"
:auto-upload="false"
:before-upload="beforeAvatarUpload"
accept=".p12"
:file-list="fileList"
:auto-upload="false"
:limit="1"
accept=".p12"
action="#"
drag
>
<i class="el-icon-upload"/>
<div class="el-upload__text">将p12证书文件拖到此处<em>点击上传</em></div>
</el-upload>
</el-form-item>
<el-form-item label="发布证书p12密码" style="width: 80%">
<el-input label="证书密码" v-model="cert_pwd"/>
<el-input v-model="cert_pwd" label="证书密码"/>
</el-form-item>
<el-button @click="$refs.upload.submit()">确定导入</el-button>
<el-button @click="importcertDeveloperVisible=false">取消</el-button>
</el-form>
</el-dialog>
<el-dialog :title="title" :visible.sync="dialogaddDeveloperVisible" :destroy-on-close="true"
:close-on-click-modal="false" style="text-align:center" width="750px">
<el-dialog :close-on-click-modal="false" :destroy-on-close="true" :title="title"
:visible.sync="dialogaddDeveloperVisible" style="text-align:center" width="750px">
<el-form ref="storageinfoform" :model="editdeveloperinfo"
label-width="80px" style="margin:0 auto;">
<div v-if="editdeveloperinfo.auth_type===0">
<el-form-item label-width="110px" label="issuer_id">
<el-input :disabled='isedit' v-model="editdeveloperinfo.issuer_id"/>
<el-form-item label="issuer_id" label-width="110px">
<el-input v-model="editdeveloperinfo.issuer_id" :disabled='isedit'/>
</el-form-item>
<el-form-item label-width="110px" label="private_key_id">
<el-form-item label="private_key_id" label-width="110px">
<el-input v-model="editdeveloperinfo.private_key_id"/>
</el-form-item>
<el-form-item label-width="110px" label="p8key">
<el-input type="textarea"
:rows="6" v-model="editdeveloperinfo.p8key" :placeholder="placeholder"/>
<el-form-item label="p8key" label-width="110px">
<el-input v-model="editdeveloperinfo.p8key"
:placeholder="placeholder" :rows="6" type="textarea"/>
</el-form-item>
</div>
<el-form-item label-width="110px" label="设备数量" style="text-align: left">
<el-input-number v-model="editdeveloperinfo.usable_number" :min="0" :max="100" label="设备数量"/>
<el-form-item label="设备数量" label-width="110px" style="text-align: left">
<el-input-number v-model="editdeveloperinfo.usable_number" :max="100" :min="0" label="设备数量"/>
</el-form-item>
<el-form-item label-width="110px" label="证书id">
<el-input :disabled='isedit' v-model="editdeveloperinfo.certid"/>
<el-form-item label="证书id" label-width="110px">
<el-input v-model="editdeveloperinfo.certid" :disabled='isedit'/>
</el-form-item>
<el-form-item label-width="110px" label="备注">
<el-form-item label="备注" label-width="110px">
<el-input v-model="editdeveloperinfo.description"/>
</el-form-item>
<div style="">
@ -82,7 +82,7 @@
@click="isorenewcert">删除发布证书
</el-button>
</el-tooltip>
<el-button v-if="isedit && editdeveloperinfo.is_actived" type="success" size="small"
<el-button v-if="isedit && editdeveloperinfo.is_actived" size="small" type="success"
@click="activedeveloperFun(editdeveloperinfo,'checkauth')">账户激活检测
</el-button>
@ -94,44 +94,44 @@
</el-form>
</el-dialog>
<el-dialog title="设备消耗详细信息" :destroy-on-close="true" :visible.sync="dialogShowDeviceBillInfo"
:close-on-click-modal="false" center width="750px">
<el-dialog :close-on-click-modal="false" :destroy-on-close="true" :visible.sync="dialogShowDeviceBillInfo"
center title="设备消耗详细信息" width="750px">
<el-table
:data="app_bill_info_lists"
v-loading="loading"
:data="app_bill_info_lists"
border
stripe
style="width: 100%">
<el-table-column
prop="app_name"
align="center"
label="应用名称"
prop="app_name"
>
</el-table-column>
<el-table-column
prop="remote_addr"
align="center"
label="客户端IP">
label="客户端IP"
prop="remote_addr">
</el-table-column>
<el-table-column
prop="action"
label="账单类型"
align="center"
label="账单类型"
prop="action"
width="100">
</el-table-column>
<el-table-column
:formatter="deviceformatter"
align="center"
prop="created_time"
label="日期"
prop="created_time"
width="160">
</el-table-column>
<el-table-column
label="应用状态"
align="center"
label="应用状态"
width="110">
<template slot-scope="scope">
<el-tag v-if="scope.row.app_status===false" type="info">应用删除</el-tag>
@ -141,8 +141,8 @@
</template>
</el-table-column>
<el-table-column
label="设备状态"
align="center"
label="设备状态"
width="110">
<template slot-scope="scope">
<el-tag v-if="scope.row.is_used===false" type="info">已经释放</el-tag>
@ -155,13 +155,13 @@
</el-table>
<div style="margin-top: 20px">
<el-pagination
@size-change="billhandleSizeChange"
@current-change="billhandleCurrentChange"
:current-page.sync="billpagination.currentPage"
:page-sizes="[10, 20, 50, 100]"
:page-size="billpagination.pagesize"
:page-sizes="[10, 20, 50, 100]"
:total="billpagination.total"
layout="total,sizes, prev, pager, next"
:total="billpagination.total">
@size-change="billhandleSizeChange"
@current-change="billhandleCurrentChange">
</el-pagination>
</div>
<span slot="footer">
@ -169,52 +169,55 @@
</span>
</el-dialog>
<el-tabs v-model="activeName" type="border-card" @tab-click="handleClick" tab-position="top">
<el-tabs v-model="activeName" tab-position="top" type="border-card" @tab-click="handleClick">
<el-tab-pane label="开发者账户" name="iosdeveloper">
<el-input
style="width: 30%;margin-right: 30px;margin-bottom: 10px"
v-model="appidseach"
clearable
placeholder="输入用户ID"/>
<el-button type="primary" icon="el-icon-search" @click="handleCurrentChange(pagination.currentPage)">
placeholder="输入用户ID"
style="width: 30%;margin-right: 30px;margin-bottom: 10px"/>
<el-button icon="el-icon-search" type="primary" @click="handleCurrentChange(pagination.currentPage)">
搜索
</el-button>
<div style="width: 40%;margin-right: 30px;float:right">
<el-link :underline="false">总设备量{{ developer_used_info.all_usable_number}} 已经使用平台{{
developer_used_info.all_use_number}} 其他{{developer_used_info.other_used_sum}}
还剩{{developer_used_info.all_usable_number- developer_used_info.flyapp_used_sum}} 可用
<el-link :underline="false">总设备量{{ developer_used_info.all_usable_number }} 已经使用平台{{
developer_used_info.all_use_number
}} 其他{{ developer_used_info.other_used_sum }}
还剩{{ developer_used_info.all_usable_number - developer_used_info.flyapp_used_sum }} 可用
</el-link>
<el-progress
type="line"
:color="developer_usedColor"
:text-inside="true" :stroke-width="18" :percentage="percentage"
status="success"/>
:percentage="percentage"
:stroke-width="18" :text-inside="true" status="success"
type="line"/>
</div>
<el-table
v-loading="loading"
:data="app_developer_lists"
border
v-loading="loading"
stripe
style="width: 100%">
<el-table-column
fixed
prop="issuer_id"
align="center"
fixed
label="用户 issuer_id"
prop="issuer_id"
width="300">
<template slot-scope="scope">
<el-popover trigger="hover" placement="top">
<el-popover placement="top" trigger="hover">
<p>开发者账户已使用设备数: {{ scope.row.developer_used_number }}</p>
<p>开发者账户可用设备数: {{ 100-scope.row.developer_used_number }}</p>
<p>由于您设置可用设备数: {{ scope.row.usable_number}} ,所以现在可用设备数: {{
scope.row.usable_number-scope.row.developer_used_number > 0
?scope.row.usable_number-scope.row.developer_used_number :0 }}</p>
<p>开发者账户可用设备数: {{ 100 - scope.row.developer_used_number }}</p>
<p>由于您设置可用设备数: {{ scope.row.usable_number }} ,所以现在可用设备数: {{
scope.row.usable_number - scope.row.developer_used_number > 0
? scope.row.usable_number - scope.row.developer_used_number : 0
}}</p>
<div slot="reference" class="name-wrapper">
<el-tag size="medium" v-if="scope.row.issuer_id"><i class="el-icon-key"/> {{
scope.row.issuer_id }}
<el-tag v-if="scope.row.issuer_id" size="medium"><i class="el-icon-key"/> {{
scope.row.issuer_id
}}
</el-tag>
</div>
</el-popover>
@ -222,49 +225,53 @@
</el-table-column>
<el-table-column
prop="is_actived"
align="center"
label="是否激活"
prop="is_actived"
width="110">
<template slot-scope="scope">
<el-button v-if="scope.row.is_actived === true" type="success" size="small">已激活</el-button>
<el-button v-else type="danger" size="small"
<el-button v-if="scope.row.is_actived === true" size="small" type="success">已激活</el-button>
<el-button v-else size="small" type="danger"
@click="activedeveloperFun(scope.row,'checkauth')">点击激活
</el-button>
</template>
</el-table-column>
<el-table-column
prop="certid"
label="账户状态"
align="center"
label="账户状态"
prop="certid"
width="100">
<template slot-scope="scope">
<el-popover trigger="hover" placement="top">
<el-popover placement="top" trigger="hover">
<p v-if="!scope.row.certid && scope.row.is_actived === true">
开发证书不可用请在编辑中导入或手动创建发布证书</p>
<p v-if="!scope.row.certid && scope.row.is_actived !== true">请先激活开发者账户</p>
<p v-if="scope.row.certid && scope.row.is_actived === true">账户已经启用</p>
<div slot="reference" class="name-wrapper">
<el-button v-if="scope.row.certid " type="success" size="small">可用</el-button>
<el-button v-else type="danger" size="small">不可用</el-button>
<el-button v-if="scope.row.certid " size="small" type="success">可用</el-button>
<el-button v-else size="small" type="danger">不可用</el-button>
</div>
</el-popover>
</template>
</el-table-column>
<el-table-column
prop="usable_number"
label="可用设备"
align="center"
label="可用设备"
prop="usable_number"
width="60">
<template slot-scope="scope">
<el-popover trigger="hover" placement="top">
<p>可用设备数: {{ scope.row.usable_number-scope.row.developer_used_number > 0
?scope.row.usable_number-scope.row.developer_used_number :0}}</p>
<el-popover placement="top" trigger="hover">
<p>可用设备数: {{
scope.row.usable_number - scope.row.developer_used_number > 0
? scope.row.usable_number - scope.row.developer_used_number : 0
}}</p>
<div slot="reference" class="name-wrapper">
<el-tag size="medium"> {{ scope.row.usable_number-scope.row.developer_used_number >
0 ?scope.row.usable_number-scope.row.developer_used_number :0 }}
<el-tag size="medium"> {{
scope.row.usable_number - scope.row.developer_used_number >
0 ? scope.row.usable_number - scope.row.developer_used_number : 0
}}
</el-tag>
</div>
</el-popover>
@ -272,12 +279,12 @@
</el-table-column>
<el-table-column
prop="use_number"
align="center"
label="设备消耗"
prop="use_number"
width="60">
<template slot-scope="scope">
<el-popover trigger="hover" placement="top">
<el-popover placement="top" trigger="hover">
<p>开发者账户已使用设备数本平台: {{ scope.row.use_number }}</p>
<p>开发者账户已使用设备数其他: {{ scope.row.developer_used_other_number }}</p>
<div slot="reference" class="name-wrapper">
@ -289,21 +296,21 @@
<el-table-column
:formatter="formatter"
prop="cert_expire_time"
label="证书到期时间"
align="center"
label="证书到期时间"
prop="cert_expire_time"
width="160">
</el-table-column>
<el-table-column
align="center"
prop="description"
label="备注"
prop="description"
>
</el-table-column>
<el-table-column
align="center"
fixed="right"
label="操作"
align="center"
width="150">
<template slot-scope="scope">
@ -327,7 +334,7 @@
<el-form ref="storageinfoform" :model="editdeveloperinfo"
label-width="80px" style="margin:0 auto;">
<el-form-item label-width="100px" label="认证类型">
<el-form-item label="认证类型" label-width="100px">
<el-select v-model="editdeveloperinfo.auth_type" placeholder="认证类型"
style="margin-left: -100px">
<el-option v-for="st in apple_auth_list" :key="st.id" :label="st.name"
@ -335,36 +342,36 @@
</el-select>
</el-form-item>
<div v-if="editdeveloperinfo.auth_type===0">
<el-form-item label-width="110px" label="issuer_id">
<el-input :disabled='isedit' v-model="editdeveloperinfo.issuer_id"/>
<el-form-item label="issuer_id" label-width="110px">
<el-input v-model="editdeveloperinfo.issuer_id" :disabled='isedit'/>
</el-form-item>
<el-form-item label-width="110px" label="private_key_id">
<el-form-item label="private_key_id" label-width="110px">
<el-input v-model="editdeveloperinfo.private_key_id" :placeholder="placeholder"/>
</el-form-item>
<el-form-item label-width="110px" label="p8key">
<el-input type="textarea"
:rows="6" v-model="editdeveloperinfo.p8key" :placeholder="placeholder"/>
<el-form-item label="p8key" label-width="110px">
<el-input v-model="editdeveloperinfo.p8key"
:placeholder="placeholder" :rows="6" type="textarea"/>
</el-form-item>
</div>
<el-form-item label-width="110px" label="设备数量" style="text-align: left">
<el-input-number v-model="editdeveloperinfo.usable_number" :min="0" :max="100" label="设备数量"/>
<el-form-item label="设备数量" label-width="110px" style="text-align: left">
<el-input-number v-model="editdeveloperinfo.usable_number" :max="100" :min="0" label="设备数量"/>
</el-form-item>
<el-form-item label-width="110px" label="备注">
<el-form-item label="备注" label-width="110px">
<el-input v-model="editdeveloperinfo.description"/>
</el-form-item>
<div style="">
<el-button @click="updateorcreate" type="primary" plain>保存信息并添加</el-button>
<el-button plain type="primary" @click="updateorcreate">保存信息并添加</el-button>
</div>
</el-form>
<el-card style="margin-top: 20px;text-align: left" header="获取密钥帮助">
<el-card header="获取密钥帮助" style="margin-top: 20px;text-align: left">
<h1>获取密钥</h1>
<p>前往 AppStore Connect 按照
<el-button plain type="primary" size="small" @click="$router.push({name:'FirSuperSignHelp'})">
<el-button plain size="small" type="primary" @click="$router.push({name:'FirSuperSignHelp'})">
此步骤
</el-button>
获取 API 密钥将获取到的密钥添加到这里
@ -379,72 +386,72 @@
</el-tab-pane>
<el-tab-pane label="设备消耗" name="useddevices">
<el-input
style="width: 30%;margin-right: 30px;margin-bottom: 10px"
v-model="udidsearch"
clearable
placeholder="输入UDID"/>
placeholder="输入UDID"
style="width: 30%;margin-right: 30px;margin-bottom: 10px"/>
<el-input
style="width: 30%;margin-right: 30px;margin-bottom: 10px"
v-model="Bundleidsearch"
clearable
placeholder="输入BundleID"/>
placeholder="输入BundleID"
style="width: 30%;margin-right: 30px;margin-bottom: 10px"/>
<el-input
style="width: 23%;margin-right: 30px;margin-bottom: 10px"
v-model="appidseach"
clearable
placeholder="输入用户ID"/>
<el-button type="primary" icon="el-icon-search" @click="handleCurrentChange(pagination.currentPage)">
placeholder="输入用户ID"
style="width: 23%;margin-right: 30px;margin-bottom: 10px"/>
<el-button icon="el-icon-search" type="primary" @click="handleCurrentChange(pagination.currentPage)">
搜索
</el-button>
<el-table
:data="app_devices_lists"
v-loading="loading"
:data="app_devices_lists"
border
stripe
style="width: 100%">
<el-table-column
fixed
align="center"
prop="device_udid"
fixed
label="设备ID"
prop="device_udid"
>
</el-table-column>
<el-table-column
prop="device_name"
align="center"
label="设备名称"
prop="device_name"
width="120">
</el-table-column>
<el-table-column
prop="bundle_id"
align="center"
label="应用ID"
prop="bundle_id"
width="180">
</el-table-column>
<el-table-column
prop="bundle_name"
align="center"
label="应用名称"
prop="bundle_name"
width="160">
</el-table-column>
<el-table-column
prop="developer_id"
label="开发者ID"
align="center"
label="开发者ID"
prop="developer_id"
width="200">
</el-table-column>
<el-table-column
v-if="$store.state.userinfo&&$store.state.userinfo.role == 3"
prop="other_uid"
align="center"
label="被使用户uid">
label="被使用户uid"
prop="other_uid">
</el-table-column>
<el-table-column
:formatter="deviceformatter"
prop="created_time"
align="center"
label="授权时间"
prop="created_time"
width="160">
</el-table-column>
</el-table>
@ -453,35 +460,35 @@
</el-tab-pane>
<el-tab-pane label="设备管理" name="devicesudid">
<el-input
style="width: 30%;margin-right: 30px;margin-bottom: 10px"
v-model="udidsearch"
clearable
placeholder="输入UDID"/>
placeholder="输入UDID"
style="width: 30%;margin-right: 30px;margin-bottom: 10px"/>
<el-input
style="width: 30%;margin-right: 30px;margin-bottom: 10px"
v-model="Bundleidsearch"
clearable
placeholder="输入BundleID"/>
<el-button type="primary" icon="el-icon-search" @click="handleCurrentChange(pagination.currentPage)">
placeholder="输入BundleID"
style="width: 30%;margin-right: 30px;margin-bottom: 10px"/>
<el-button icon="el-icon-search" type="primary" @click="handleCurrentChange(pagination.currentPage)">
搜索
</el-button>
<el-table
:data="app_udid_lists"
v-loading="loading"
:data="app_udid_lists"
border
stripe
style="width: 100%">
<el-table-column
fixed
align="center"
prop="udid"
fixed
label="设备ID"
prop="udid"
>
<template slot-scope="scope">
<el-popover trigger="hover" placement="top">
<el-popover placement="top" trigger="hover">
<p>Bundle_ID: {{ scope.row.bundle_id }}</p>
<p>应用名称: {{ scope.row.bundle_name }}</p>
<p>UDID: {{ scope.row.udid }}</p>
@ -492,47 +499,47 @@
</template>
</el-table-column>
<el-table-column
prop="imei"
label="imei"
align="center"
label="imei"
prop="imei"
width="160">
</el-table-column>
<el-table-column
prop="product"
label="设备名称"
align="center"
label="设备名称"
prop="product"
width="100">
</el-table-column>
<el-table-column
prop="version"
label="设备型号"
align="center"
label="设备型号"
prop="version"
width="100">
</el-table-column>
<el-table-column
prop="serial"
label="设备序列号"
align="center"
label="设备序列号"
prop="serial"
width="140">
</el-table-column>
<el-table-column
v-if="$store.state.userinfo&&$store.state.userinfo.role == 3"
prop="other_uid"
align="center"
label="被使用户uid">
label="被使用户uid"
prop="other_uid">
</el-table-column>
<el-table-column
:formatter="deviceformatter"
prop="created_time"
label="添加时间"
align="center"
label="添加时间"
prop="created_time"
width="160">
</el-table-column>
<el-table-column
align="center"
fixed="right"
label="操作"
align="center"
width="110">
<template slot-scope="scope">
<el-button
@ -551,31 +558,31 @@
</el-tab-pane>
<el-tab-pane label="设备消耗账单" name="devicesbill">
<el-input
style="width: 30%;margin-right: 30px;margin-bottom: 10px"
v-model="udidsearch"
clearable
placeholder="输入UDID"/>
placeholder="输入UDID"
style="width: 30%;margin-right: 30px;margin-bottom: 10px"/>
<el-button type="primary" icon="el-icon-search" @click="handleCurrentChange(pagination.currentPage)">
<el-button icon="el-icon-search" type="primary" @click="handleCurrentChange(pagination.currentPage)">
搜索
</el-button>
<el-table
:data="app_bill_lists"
v-loading="loading"
:data="app_bill_lists"
border
stripe
style="width: 100%">
<el-table-column
fixed
prop="udid"
align="center"
fixed
label="设备ID"
prop="udid"
>
<template slot-scope="scope">
<el-tooltip effect="dark" content="点击查看设备安装详细信息" placement="top">
<el-tooltip content="点击查看设备安装详细信息" effect="dark" placement="top">
<el-link :underline="false" @click="showDeviceBill(scope.row.udid)">
{{ scope.row.udid }}
</el-link>
@ -583,30 +590,30 @@
</template>
</el-table-column>
<el-table-column
prop="product"
align="center"
label="设备名称"
width="200"
align="center">
prop="product"
width="200">
</el-table-column>
<el-table-column
prop="version"
align="center"
label="设备版本"
prop="version"
>
</el-table-column>
<el-table-column
prop="counts"
align="center"
label="设备安装次数"
prop="counts"
width="110">
</el-table-column>
<el-table-column
label="设备状态"
align="center"
label="设备状态"
width="110">
<template slot-scope="scope">
<el-tag v-if="!scope.row.udid_sync_info_id" type="info">已经释放</el-tag>
@ -619,15 +626,15 @@
</el-table>
</el-tab-pane>
<div style="margin-top: 20px" v-if="activeName!== 'adddeveloper'">
<div v-if="activeName!== 'adddeveloper'" style="margin-top: 20px">
<el-pagination
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page.sync="pagination.currentPage"
:page-sizes="[10, 20, 50, 100]"
:page-size="pagination.pagesize"
:page-sizes="[10, 20, 50, 100]"
:total="pagination.total"
layout="total,sizes, prev, pager, next"
:total="pagination.total">
@size-change="handleSizeChange"
@current-change="handleCurrentChange">
</el-pagination>
</div>
</el-tabs>
@ -637,10 +644,10 @@
<script>
import {iosdeveloper, iosdevices, iosdevicesudid, developercert, DeviceBillInfo} from "@/restful";
import {getUserInfoFun, removeAaary} from "@/utils";
import {developercert, DeviceBillInfo, iosdeveloper, iosdevices, iosdevicesudid} from "@/restful";
import {getUserInfoFun, removeAaary} from "@/utils";
export default {
export default {
name: "FirSuperSignBase",
data() {
return {
@ -1056,11 +1063,11 @@
}
this.get_data_from_tabname(this.activeName);
}
}
}
</script>
<style scoped>
.el-main {
.el-main {
margin: 20px auto 100px;
width: 1166px;
position: relative;
@ -1068,6 +1075,6 @@
color: #9b9b9b;
-webkit-font-smoothing: antialiased;
border-radius: 1%;
}
}
</style>

@ -8,9 +8,9 @@
</template>
<script>
import {getUserInfoFun} from "@/utils";
import {getUserInfoFun} from "@/utils";
export default {
export default {
name: "FirSuperSignHelp",
data() {
return {
@ -26,11 +26,11 @@
}, mounted() {
getUserInfoFun(this);
}
}
}
</script>
<style scoped>
.el-main {
.el-main {
margin: 20px auto 100px;
width: 1166px;
position: relative;
@ -39,5 +39,5 @@
color: #9b9b9b;
-webkit-font-smoothing: antialiased;
border-radius: 1%;
}
}
</style>

@ -2,27 +2,27 @@
<el-main>
<!-- vueCropper 剪裁图片实现-->
<el-dialog title="图片剪裁" :visible.sync="dialogVisible" append-to-body>
<el-dialog :visible.sync="dialogVisible" append-to-body title="图片剪裁">
<div style="height: 500px">
<vueCropper
ref="cropper"
:img="option.img"
:outputSize="option.size"
:outputType="option.outputType"
:info="true"
:full="option.full"
:canScale="option.canScale"
:autoCrop="option.autoCrop"
:autoCropHeight="option.autoCropHeight"
:autoCropWidth="option.autoCropWidth"
:canMove="option.canMove"
:canMoveBox="option.canMoveBox"
:autoCropWidth="option.autoCropWidth"
:autoCropHeight="option.autoCropHeight"
:original="option.original"
:autoCrop="option.autoCrop"
:canScale="option.canScale"
:centerBox="option.centerBox"
:fixed="option.fixed"
:fixedBox="option.fixedBox"
:fixedNumber="option.fixedNumber"
:centerBox="option.centerBox"
:full="option.full"
:img="option.img"
:info="true"
:infoTrue="option.infoTrue"
:fixedBox="option.fixedBox"
:original="option.original"
:outputSize="option.size"
:outputType="option.outputType"
/>
</div>
<div slot="footer" class="dialog-footer">
@ -32,9 +32,9 @@
</el-dialog>
<el-dialog
:title="advert_title"
:close-on-click-modal="false"
:close-on-press-escape="false"
:title="advert_title"
:visible.sync="bind_advert_sure"
center
width="666px">
@ -47,13 +47,13 @@
</el-form-item>
<el-form-item label="展示图片【高80像素】">
<el-upload
action="#"
drag
:show-file-list="false"
:auto-upload="false"
:on-change="onUploadChange"
:show-file-list="false"
accept=".png , .jpg , .jpeg"
style="max-height: 200px"
:on-change="onUploadChange">
action="#"
drag
style="max-height: 200px">
<img v-if="upload_pic_b" :src="upload_pic_b" class="avatar">
<i v-else class="el-icon-plus avatar-uploader-icon"></i>
</el-upload>
@ -62,21 +62,21 @@
<el-input v-model="editadvertinfo.ad_uri" clearable/>
</el-form-item>
<el-form-item label="展示权重">
<el-input-number v-model="editadvertinfo.weight" :min="0" :max="100"
<el-input-number v-model="editadvertinfo.weight" :max="100" :min="0"
label="展示权重"/>
</el-form-item>
<el-form-item label="是否发布">
<el-switch
v-model="editadvertinfo.is_enable"
active-color="#13ce66"
inactive-color="#ff4949"
active-text="发布"
inactive-color="#ff4949"
inactive-text="未发布">
</el-switch>
</el-form-item>
<el-form-item label="备注">
<el-input type="textarea" v-model="editadvertinfo.description"
:autosize="{ minRows: 3, maxRows: 6}"/>
<el-input v-model="editadvertinfo.description" :autosize="{ minRows: 3, maxRows: 6}"
type="textarea"/>
</el-form-item>
</el-form>
@ -88,83 +88,83 @@
</el-dialog>
<div>
<el-input
style="width: 30%;margin-right: 30px;margin-bottom: 5px"
v-model="search_key"
clearable
placeholder="输入名称搜索"/>
<el-button type="primary" icon="el-icon-search" @click="handleCurrentChange(1)">
placeholder="输入名称搜索"
style="width: 30%;margin-right: 30px;margin-bottom: 5px"/>
<el-button icon="el-icon-search" type="primary" @click="handleCurrentChange(1)">
搜索
</el-button>
<div style="float: right">
<el-button type="primary" plain @click="bind_advert_sure=true,init_advertinfo()">
<el-button plain type="primary" @click="bind_advert_sure=true,init_advertinfo()">
添加
</el-button>
</div>
<el-table
:data="advert_info_list"
v-loading="loading"
:data="advert_info_list"
border
stripe
style="width: 100%">
<el-table-column
fixed
prop="ad_name"
align="center"
label="名称">
fixed
label="名称"
prop="ad_name">
</el-table-column>
<el-table-column
fixed
prop="ad_pic"
align="center"
label="展示图片">
fixed
label="展示图片"
prop="ad_pic">
<template slot-scope="scope">
<img :src="scope.row.ad_pic" style="max-height: 80px;width: 100%;object-fit: cover"/>
</template>
</el-table-column>
<el-table-column
fixed
prop="ad_uri"
align="center"
label="点击跳转连接">
fixed
label="点击跳转连接"
prop="ad_uri">
</el-table-column>
<el-table-column
prop="is_enable"
label="是否发布"
align="center"
label="是否发布"
prop="is_enable"
width="110">
<template slot-scope="scope">
<el-button v-if="scope.row.is_enable === true" type="success" size="small">已发布
<el-button v-if="scope.row.is_enable === true" size="small" type="success">已发布
</el-button>
<el-button v-else type="warning" size="small">未发布
<el-button v-else size="small" type="warning">未发布
</el-button>
</template>
</el-table-column>
<el-table-column
prop="weight"
width="110"
align="center"
label="展示权重">
label="展示权重"
prop="weight"
width="110">
</el-table-column>
<el-table-column
:formatter="format_create_time"
prop="created_time"
width="170"
align="center"
label="添加时间"
prop="created_time"
width="170"
>
</el-table-column>
<el-table-column
align="center"
fixed="right"
label="操作"
align="center"
width="150">
<template slot-scope="scope">
@ -186,13 +186,13 @@
</div>
<div style="margin-top: 20px;margin-bottom: 20px">
<el-pagination
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page.sync="pagination.currentPage"
:page-sizes="[10, 20, 50, 100]"
:page-size="pagination.pagesize"
:page-sizes="[10, 20, 50, 100]"
:total="pagination.total"
layout="total,sizes, prev, pager, next"
:total="pagination.total">
@size-change="handleSizeChange"
@current-change="handleCurrentChange">
</el-pagination>
</div>
</el-main>
@ -200,11 +200,11 @@
<script>
import {advertinfo} from "@/restful";
import {VueCropper} from 'vue-cropper'
import {getUserInfoFun, AvatarUploadUtils, dataURLtoFile} from '@/utils'
import {advertinfo} from "@/restful";
import {VueCropper} from 'vue-cropper'
import {AvatarUploadUtils, dataURLtoFile, getUserInfoFun} from '@/utils'
export default {
export default {
name: "FirUserAdvert",
components: {
VueCropper,
@ -398,11 +398,11 @@
getUserInfoFun(this);
this.get_data_from_tabname();
},
}
}
</script>
<style scoped>
.el-main {
.el-main {
margin: 20px auto 100px;
width: 1166px;
position: relative;
@ -410,21 +410,21 @@
color: #9b9b9b;
-webkit-font-smoothing: antialiased;
border-radius: 1%;
}
}
.avatar-uploader-icon {
.avatar-uploader-icon {
font-size: 28px;
color: #8c939d;
width: 178px;
height: 178px;
line-height: 178px;
text-align: center;
}
}
.avatar {
.avatar {
max-height: 80px;
margin-top: 50px;
object-fit: cover;
}
}
</style>

@ -1,28 +1,28 @@
<template>
<el-main>
<el-dialog
:title="domain_title"
:close-on-click-modal="false"
:close-on-press-escape="false"
:title="domain_title"
:visible.sync="bind_domain_sure"
width="666px">
<bind-domain v-if="bind_domain_sure" transitionName="bind-app-domain" :app_id="current_domain_info.app_id"
:domain_type="current_domain_info.domain_type" :domain_state="true"/>
<bind-domain v-if="bind_domain_sure" :app_id="current_domain_info.app_id" :domain_state="true"
:domain_type="current_domain_info.domain_type" transitionName="bind-app-domain"/>
</el-dialog>
<div>
<el-input
style="width: 30%;margin-right: 30px;margin-bottom: 5px"
v-model="search_key"
clearable
placeholder="输入域名或者应用名称搜索"/>
<el-button type="primary" icon="el-icon-search" @click="handleCurrentChange(1)">
placeholder="输入域名或者应用名称搜索"
style="width: 30%;margin-right: 30px;margin-bottom: 5px"/>
<el-button icon="el-icon-search" type="primary" @click="handleCurrentChange(1)">
搜索
</el-button>
<div style="float: right">
<el-button type="primary" plain @click="$store.dispatch('dodomainaction', 1)">
<el-button plain type="primary" @click="$store.dispatch('dodomainaction', 1)">
设置下载页域名
</el-button>
<el-button type="primary" plain v-if="$store.state.userinfo&&$store.state.userinfo.role >1"
<el-button v-if="$store.state.userinfo&&$store.state.userinfo.role >1" plain type="primary"
@click="$store.dispatch('dodomainaction', 2)">
设置下载码域名
</el-button>
@ -30,41 +30,41 @@
<el-table
:data="domain_info_list"
v-loading="loading"
:data="domain_info_list"
border
stripe
style="width: 100%">
<el-table-column
fixed
prop="domain_name"
align="center"
label="绑定域名">
fixed
label="绑定域名"
prop="domain_name">
<template slot-scope="scope">
<el-tooltip content="点击复制到剪贴板">
<el-link v-if="scope.row.domain_name" :underline="false"
v-clipboard:copy="scope.row.domain_name"
v-clipboard:success="copy_success">{{ scope.row.domain_name }}
<el-link v-if="scope.row.domain_name" v-clipboard:copy="scope.row.domain_name"
v-clipboard:success="copy_success"
:underline="false">{{ scope.row.domain_name }}
</el-link>
</el-tooltip>
</template>
</el-table-column>
<el-table-column
prop="is_enable"
label="状态"
align="center"
label="状态"
prop="is_enable"
width="110">
<template slot-scope="scope">
<el-tooltip content="点击查看域名绑定信息" v-if="scope.row.is_enable === true" placement="left-start">
<el-button type="success" size="small" @click="show_bind_domain_info(scope.row)">已绑定
<el-tooltip v-if="scope.row.is_enable === true" content="点击查看域名绑定信息" placement="left-start">
<el-button size="small" type="success" @click="show_bind_domain_info(scope.row)">已绑定
</el-button>
</el-tooltip>
<el-tooltip content="激活下载域名绑定信息" v-else placement="left-start">
<el-tooltip v-else content="激活下载域名绑定信息" placement="left-start">
<el-button type="warning" size="small" @click="show_bind_domain_info(scope.row)">继续绑定
<el-button size="small" type="warning" @click="show_bind_domain_info(scope.row)">继续绑定
</el-button>
</el-tooltip>
@ -74,21 +74,23 @@
<el-table-column
prop="domain_type"
align="center"
label="域名类型"
prop="domain_type"
width="260">
<template slot-scope="scope">
<el-tooltip content="点击查看应用信息" v-if="scope.row.domain_type===2 && scope.row.app_info"
<el-tooltip v-if="scope.row.domain_type===2 && scope.row.app_info" content="点击查看应用信息"
placement="right-start">
<el-button type="info" plain size="small" @click="appInfos(scope.row.app_info)">{{
format_domain_type(scope.row) }}
<el-button plain size="small" type="info" @click="appInfos(scope.row.app_info)">{{
format_domain_type(scope.row)
}}
</el-button>
</el-tooltip>
<el-button v-else-if="scope.row.domain_type===1" type="success" plain size="small">{{
format_domain_type(scope.row) }}
<el-button v-else-if="scope.row.domain_type===1" plain size="small" type="success">{{
format_domain_type(scope.row)
}}
</el-button>
<el-button v-else type="primary" plain size="small">{{ format_domain_type(scope.row) }}
<el-button v-else plain size="small" type="primary">{{ format_domain_type(scope.row) }}
</el-button>
</template>
@ -96,10 +98,10 @@
<el-table-column
:formatter="format_create_time"
prop="created_time"
width="170"
align="center"
label="域名绑定时间"
prop="created_time"
width="170"
>
</el-table-column>
</el-table>
@ -108,13 +110,13 @@
</div>
<div style="margin-top: 20px;margin-bottom: 20px">
<el-pagination
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page.sync="pagination.currentPage"
:page-sizes="[10, 20, 50, 100]"
:page-size="pagination.pagesize"
:page-sizes="[10, 20, 50, 100]"
:total="pagination.total"
layout="total,sizes, prev, pager, next"
:total="pagination.total">
@size-change="handleSizeChange"
@current-change="handleCurrentChange">
</el-pagination>
</div>
</el-main>
@ -122,11 +124,11 @@
<script>
import {domaininfo} from "@/restful";
import BindDomain from "@/components/base/BindDomain";
import {getUserInfoFun} from '@/utils'
import {domaininfo} from "@/restful";
import BindDomain from "@/components/base/BindDomain";
import {getUserInfoFun} from '@/utils'
export default {
export default {
name: "FirUserDomain",
components: {BindDomain},
data() {
@ -231,11 +233,11 @@
}
},
}
}
}
</script>
<style scoped>
.el-main {
.el-main {
margin: 20px auto 100px;
width: 1166px;
position: relative;
@ -243,6 +245,6 @@
color: #9b9b9b;
-webkit-font-smoothing: antialiased;
border-radius: 1%;
}
}
</style>

@ -2,11 +2,11 @@
<el-main>
<el-dialog
:visible.sync="wx_pay"
width="49%"
:close-on-click-modal="false"
:close-on-press-escape="false"
center>
:visible.sync="wx_pay"
center
width="49%">
<div slot="title" style="margin-bottom: 10px">
<el-row>
<el-col :span="12">
@ -14,7 +14,8 @@
<p class="detail">支付订单号 <span>{{ current_order_info.order_number }}</span></p>
</el-col>
<el-col :span="12">
<p style="margin-top: 26px"><span class="order_text">订单金额</span><span class="amount">{{format_actual_amount(current_order_info) }}</span>
<p style="margin-top: 26px"><span class="order_text">订单金额</span><span
class="amount">{{ format_actual_amount(current_order_info) }}</span>
</p>
</el-col>
@ -23,16 +24,16 @@
</div>
<div class="pay_wx">
<div>
<div class="icon-weixin" :style="{background:`url(${pay_image.order_wx}) 0 0/100%`}"></div>
<vue-qr :margin="qrinfo.margin"
class="code-wrap"
:logoScale="qrinfo.logoScale"
:logoCornerRadius="qrinfo.logoCornerRadius"
<div :style="{background:`url(${pay_image.order_wx}) 0 0/100%`}" class="icon-weixin"></div>
<vue-qr ref="qr"
:correctLevel="qrinfo.correctLevel"
:text="pay_code_url" :size="266"
ref="qr">
:logoCornerRadius="qrinfo.logoCornerRadius"
:logoScale="qrinfo.logoScale"
:margin="qrinfo.margin"
:size="266" :text="pay_code_url"
class="code-wrap">
</vue-qr>
<div class="tip-btn pay_wx"><span class="icon" :style="{backgroundImage:`url(${pay_image.scan})`}"/><span
<div class="tip-btn pay_wx"><span :style="{backgroundImage:`url(${pay_image.scan})`}" class="icon"/><span
class="text">请使用微信扫码支付</span></div>
<p style="margin-top: 30px">支付完成之后请刷新该页面确认支付状态</p>
</div>
@ -41,65 +42,65 @@
</el-dialog>
<el-dialog
:visible.sync="show_order_info"
width="780px"
:close-on-click-modal="false"
:close-on-press-escape="false"
:visible.sync="show_order_info"
center
title="订单详情"
top="6vh"
center>
width="780px">
<div>
<el-form :model="current_order_info"
label-width="80px" style="margin:0 auto;">
<el-form-item label-width="110px" label="平台订单ID">
<el-form-item label="平台订单ID" label-width="110px">
<el-input :value="current_order_info.order_number"/>
</el-form-item>
<el-form-item label-width="110px" label="第三方订单ID">
<el-form-item label="第三方订单ID" label-width="110px">
<el-input :value="current_order_info.payment_number"/>
</el-form-item>
<el-form-item label-width="110px" label="付款方式">
<el-form-item label="付款方式" label-width="110px">
<el-input :value="format_payment_type(current_order_info)"/>
</el-form-item>
<el-form-item label-width="110px" label="订单状态">
<el-form-item label="订单状态" label-width="110px">
<el-input :value="format_status_type(current_order_info)"/>
</el-form-item>
<el-form-item label-width="110px" label="订单类型">
<el-form-item label="订单类型" label-width="110px">
<el-input :value="format_order_type(current_order_info)"/>
</el-form-item>
<el-form-item label-width="110px" label="实付金额">
<el-form-item label="实付金额" label-width="110px">
<el-input :value="format_actual_amount(current_order_info)"/>
</el-form-item>
<el-form-item label-width="110px" label="购买数量">
<el-form-item label="购买数量" label-width="110px">
<el-input
:value="current_order_info.actual_download_times"/>
</el-form-item>
<el-form-item label-width="110px" label="赠送数量">
<el-form-item label="赠送数量" label-width="110px">
<el-input
:value="current_order_info.actual_download_gift_times"/>
</el-form-item>
<el-form-item label-width="110px" label="订单创建时间">
<el-form-item label="订单创建时间" label-width="110px">
<el-input :value="format_create_time(current_order_info)"/>
</el-form-item>
<el-form-item label-width="110px" label="订单支付时间">
<el-form-item label="订单支付时间" label-width="110px">
<el-input :value="format_pay_time(current_order_info)"/>
</el-form-item>
<el-form-item label-width="110px" label="订单取消时间">
<el-form-item label="订单取消时间" label-width="110px">
<el-input :value="format_cancel_time(current_order_info)"/>
</el-form-item>
<el-form-item label-width="110px" label="备注">
<el-form-item label="备注" label-width="110px">
<el-input :value="current_order_info.description"/>
</el-form-item>
@ -115,53 +116,53 @@
<div>
<el-input
style="width: 30%;margin-right: 30px;margin-bottom: 5px"
v-model="order_id_seach"
clearable
placeholder="输入订单ID"/>
<el-button type="primary" icon="el-icon-search" @click="handleCurrentChange(1)">
placeholder="输入订单ID"
style="width: 30%;margin-right: 30px;margin-bottom: 5px"/>
<el-button icon="el-icon-search" type="primary" @click="handleCurrentChange(1)">
搜索
</el-button>
<el-table
:data="order_info_list"
v-loading="loading"
:data="order_info_list"
border
stripe
style="width: 100%">
<el-table-column
fixed
prop="order_number"
label="系统订单ID">
label="系统订单ID"
prop="order_number">
</el-table-column>
<el-table-column
prop="status"
label="状态"
align="center"
label="状态"
prop="status"
width="110">
<template slot-scope="scope">
<div v-if="scope.row.status === 1 || scope.row.status === 2">
<el-button @click="goto_pay(scope.row)"
type="primary" size="small"> {{ format_status_type(scope.row)}}
<el-button size="small"
type="primary" @click="goto_pay(scope.row)"> {{ format_status_type(scope.row) }}
</el-button>
</div>
<div v-else-if="scope.row.status === 0">
<el-button @click="click_order_info(scope.row)"
type="success" size="small"> {{ format_status_type(scope.row)}}
<el-button size="small"
type="success" @click="click_order_info(scope.row)"> {{ format_status_type(scope.row) }}
</el-button>
</div>
<div v-else-if="scope.row.status === 4 || scope.row.status ===5|| scope.row.status ===6">
<el-button @click="click_order_info(scope.row)"
type="danger" size="small"> {{ format_status_type(scope.row)}}
<el-button size="small"
type="danger" @click="click_order_info(scope.row)"> {{ format_status_type(scope.row) }}
</el-button>
</div>
<div v-else>
<el-button @click="click_order_info(scope.row)"
type="warning" size="small"> {{ format_status_type(scope.row)}}
<el-button size="small"
type="warning" @click="click_order_info(scope.row)"> {{ format_status_type(scope.row) }}
</el-button>
</div>
@ -171,37 +172,37 @@
<el-table-column
:formatter="format_actual_amount"
prop="actual_amount"
label="实付金额"
prop="actual_amount"
width="100">
</el-table-column>
<el-table-column
prop="actual_download_times"
label="购买数量"
prop="actual_download_times"
width="120">
</el-table-column>
<el-table-column
prop="actual_download_gift_times"
label="赠送数量"
prop="actual_download_gift_times"
width="90">
</el-table-column>
<el-table-column
:formatter="format_payment_type"
prop="payment_type"
align="center"
label="支付方式"
prop="payment_type"
width="80">
</el-table-column>
<el-table-column
:formatter="format_create_time"
prop="created_time"
width="170"
align="center"
label="订单创建时间"
prop="created_time"
width="170"
>
</el-table-column>
@ -227,13 +228,13 @@
</div>
<div style="margin-top: 20px;margin-bottom: 20px">
<el-pagination
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page.sync="pagination.currentPage"
:page-sizes="[10, 20, 50, 100]"
:page-size="pagination.pagesize"
:page-sizes="[10, 20, 50, 100]"
:total="pagination.total"
layout="total,sizes, prev, pager, next"
:total="pagination.total">
@size-change="handleSizeChange"
@current-change="handleCurrentChange">
</el-pagination>
</div>
</el-main>
@ -241,11 +242,11 @@
<script>
import {my_order} from "@/restful";
import {getUserInfoFun} from '@/utils'
import VueQr from 'vue-qr';
import {my_order} from "@/restful";
import {getUserInfoFun} from '@/utils'
import VueQr from 'vue-qr';
export default {
export default {
name: "FirUserOrders",
components: {
VueQr
@ -435,11 +436,11 @@
}
this.get_data_from_tabname();
}, filters: {}
}
}
</script>
<style scoped>
.el-main {
.el-main {
margin: 20px auto 100px;
width: 1166px;
position: relative;
@ -447,61 +448,61 @@
color: #9b9b9b;
-webkit-font-smoothing: antialiased;
border-radius: 1%;
}
}
.icon-weixin {
.icon-weixin {
width: 137px;
height: 35px;
margin-left: 50px;
}
}
.code-wrap {
.code-wrap {
width: 240px;
height: 240px;
border: 1px solid #c3c3c3;
margin-top: 23px;
margin-bottom: 20px;
}
}
.tip-btn {
.tip-btn {
background: #2bbc4d;
width: 240px;
height: 60px;
}
}
.icon {
.icon {
width: 26px;
height: 26px;
background-size: 100%;
display: inline-block;
margin-right: 11px;
}
}
.text {
.text {
font-family: PingFang-SC-Bold;
font-size: 16px;
color: #fff;
letter-spacing: -.1px;
}
}
.pay_wx {
.pay_wx {
display: flex;
justify-content: center;
align-items: center;
}
}
.order_text {
.order_text {
font-family: PingFang-SC-Medium;
font-size: 14px;
color: #787e85;
letter-spacing: 0;
vertical-align: text-top;
}
}
.amount {
.amount {
font-family: Avenir-Heavy;
font-size: 24px;
color: #ff8000;
letter-spacing: 0;
}
}
</style>

@ -3,11 +3,11 @@
<div class="user-info">
<el-upload
class="avatar-uploader"
action="#"
:before-upload="beforeAvatarUpload"
:show-file-list="false"
accept=".png , .jpg , .jpeg"
:before-upload="beforeAvatarUpload">
action="#"
class="avatar-uploader">
<img v-if="imageUrl" :src="imageUrl" class="avatar">
<i v-else class="el-icon-plus avatar-uploader-icon"></i>
</el-upload>
@ -19,9 +19,9 @@
<div class="user_pro_tabs">
<el-row :gutter="12" class="row">
<el-col :span="tspan" :offset="3">
<el-col :offset="3" :span="tspan">
<div class="col-4">
<a @click="$router.push({name:'FirUserProfileInfo'})" ref="userinfo" class="">
<a ref="userinfo" class="" @click="$router.push({name:'FirUserProfileInfo'})">
<span>
<i class="el-icon-user"></i>
</span>
@ -62,10 +62,10 @@
</template>
<script>
import {getuserpicurl, userinfos} from '@/restful';
import {AvatarUploadUtils} from "@/utils";
import {getuserpicurl, userinfos} from '@/restful';
import {AvatarUploadUtils} from "@/utils";
export default {
export default {
name: "FirUserProfileBase",
data() {
return {
@ -135,39 +135,39 @@
return getuserpicurl()
}
}
}
}
</script>
<style scoped>
.main {
.main {
position: relative;
padding-bottom: 1px;
color: #9b9b9b;
-webkit-font-smoothing: antialiased;
border-radius: 1%;
}
}
.user-info {
.user-info {
position: relative;
text-align: center;
margin: 46px auto 100px;
width: 1166px;
}
}
.avatar {
.avatar {
height: 100px;
width: 100px;
border-radius: 50%;
display: block;
}
}
.name {
.name {
text-align: center;
padding-bottom: 20px;
}
}
.name input {
.name input {
text-align: center;
color: #889eff;
margin: 36px auto 0;
@ -176,9 +176,9 @@
border: none;
background-color: transparent;
font-size: 30px;
}
}
.user_pro_tabs a {
.user_pro_tabs a {
width: 100%;
font-size: 16px;
text-align: center;
@ -189,17 +189,17 @@
text-decoration: none;
color: #BABFC3;
}
}
.user_pro_tabs a > span {
.user_pro_tabs a > span {
margin-right: 16px;
vertical-align: middle
}
}
.user_pro_tabs a.active {
.user_pro_tabs a.active {
color: #7e5ef8;
border-bottom-color: #7e5ef8
}
}
</style>

@ -4,17 +4,17 @@
<el-form-item>
<el-row>
<el-col :span="24">
<el-link :underline="false" type="success" style="font-size: x-large"
v-if="certification.status === 1">已经认证
<el-link v-if="certification.status === 1" :underline="false" style="font-size: x-large"
type="success">已经认证
</el-link>
<el-link :underline="false" type="primary" style="font-size: x-large"
v-else-if="certification.status === 0">审核中
<el-link v-else-if="certification.status === 0" :underline="false" style="font-size: x-large"
type="primary">审核中
</el-link>
<el-link v-else-if="certification.status === 2" :underline="false" type="danger"
style="font-size: x-large"
<el-link v-else-if="certification.status === 2" :underline="false" style="font-size: x-large"
type="danger"
>审核失败
</el-link>
<el-link :underline="false" type="info" style="font-size: x-large" v-else>待认证</el-link>
<el-link v-else :underline="false" style="font-size: x-large" type="info">待认证</el-link>
</el-col>
</el-row>
</el-form-item>
@ -33,7 +33,7 @@
</el-col>
</el-row>
</el-form-item>
<el-form-item label="手机号码" v-if="certification.mobile">
<el-form-item v-if="certification.mobile" label="手机号码">
<el-row :gutter="36">
<el-col :span="18">
<el-link :underline="false">{{ certification.mobile }}</el-link>
@ -76,16 +76,16 @@
<el-form-item label="真实姓名">
<el-row :gutter="36">
<el-col :span="18">
<el-input v-model="form.name" :autofocus="true" prefix-icon="el-icon-user"
placeholder="请输入真实姓名" clearable/>
<el-input v-model="form.name" :autofocus="true" clearable
placeholder="请输入真实姓名" prefix-icon="el-icon-user"/>
</el-col>
</el-row>
</el-form-item>
<el-form-item label="身份证号">
<el-row :gutter="36">
<el-col :span="18">
<el-input v-model="form.card" clearable prefix-icon="el-icon-s-order"
placeholder="请输入身份证号"/>
<el-input v-model="form.card" clearable placeholder="请输入身份证号"
prefix-icon="el-icon-s-order"/>
</el-col>
</el-row>
</el-form-item>
@ -93,45 +93,45 @@
<el-form-item label="居住地址">
<el-row :gutter="36">
<el-col :span="18">
<el-input v-model="form.addr" clearable prefix-icon="el-icon-house"
placeholder="请输入现居住地址"/>
<el-input v-model="form.addr" clearable placeholder="请输入现居住地址"
prefix-icon="el-icon-house"/>
</el-col>
</el-row>
</el-form-item>
<el-form-item label="手机号码" v-if="captcha.change_type.sms">
<el-form-item v-if="captcha.change_type.sms" label="手机号码">
<el-row :gutter="36">
<el-col :span="18">
<el-input v-model="form.mobile" ref="phone" clearable
prefix-icon="el-icon-mobile" placeholder="请输入手机号码" maxlength="11"/>
<el-input ref="phone" v-model="form.mobile" clearable
maxlength="11" placeholder="请输入手机号码" prefix-icon="el-icon-mobile"/>
</el-col>
</el-row>
</el-form-item>
<el-form-item label="图片验证码" v-if="captcha.captcha_image">
<el-form-item v-if="captcha.captcha_image" label="图片验证码">
<el-row :gutter="11">
<el-col :span="12">
<el-input placeholder="请输入图片验证码" v-model="form.authcode" maxlength="6" clearable/>
<el-input v-model="form.authcode" clearable maxlength="6" placeholder="请输入图片验证码"/>
</el-col>
<el-col :span="6">
<el-image
style="border-radius:4px;cursor:pointer;height: 40px"
:src="captcha.captcha_image"
fit="contain" @click="get_auth_code">
fit="contain"
style="border-radius:4px;cursor:pointer;height: 40px" @click="get_auth_code">
</el-image>
</el-col>
</el-row>
</el-form-item>
<el-form-item label="手机验证码" v-if="captcha.change_type.sms">
<el-form-item v-if="captcha.change_type.sms" label="手机验证码">
<el-row :gutter="11">
<el-col :span="12">
<el-input v-model="form.auth_key" prefix-icon="el-icon-mobile" placeholder="请输入您收到的验证码"
maxlength="6" clearable/>
<el-input v-model="form.auth_key" clearable maxlength="6"
placeholder="请输入您收到的验证码" prefix-icon="el-icon-mobile"/>
</el-col>
<el-col :span="6">
<el-button type="info" @click="getsmsemailcode('sms',form.mobile)" plain
style="border-radius:4px;cursor:pointer;height: 40px;background-color: #ecf5ff;color: #dd6161">
<el-button plain style="border-radius:4px;cursor:pointer;height: 40px;background-color: #ecf5ff;color: #dd6161" type="info"
@click="getsmsemailcode('sms',form.mobile)">
获取验证码
</el-button>
</el-col>
@ -147,19 +147,19 @@
</el-row>
</el-form-item>
<el-form-item label="身份证号">
<el-row style="height: 40px" :gutter="36">
<el-row :gutter="36" style="height: 40px">
<el-col :span="19">
<div class="appdownload">
<el-upload
drag
action="#"
:before-upload="upload_one"
accept=".png , .jpg , .jpeg"
:before-upload="upload_one">
action="#"
drag>
<el-tooltip v-if="user_certification.one" placement="top">
<div slot="content">上传身份证<i style="color: #2abb9d!important;">国徽面</i>照片</div>
<img :src="user_certification.one"
class="avatar" alt="国徽面照片">
alt="国徽面照片" class="avatar">
</el-tooltip>
<i v-else class="avatar-uploader-icon" style="text-align: center">
上传身份证<i style="color: #2abb9d!important;">国徽面</i>照片
@ -169,15 +169,15 @@
<div class="appdownload">
<el-upload
drag
action="#"
:before-upload="upload_two"
accept=".png , .jpg , .jpeg"
:before-upload="upload_two">
action="#"
drag>
<el-tooltip v-if="user_certification.two" placement="top">
<div slot="content">上传身份证<i style="color: #2abb9d!important;">人像面</i>照片</div>
<img :src="user_certification.two"
class="avatar" alt="人像面照片">
alt="人像面照片" class="avatar">
</el-tooltip>
<i v-else class="avatar-uploader-icon" style="text-align: center">
上传身份证<i style="color: #2abb9d!important;">人像面</i>照片
@ -187,14 +187,14 @@
<div class="appdownload">
<el-upload
drag
action="#"
:before-upload="upload_three"
accept=".png , .jpg , .jpeg"
:before-upload="upload_three">
action="#"
drag>
<el-tooltip v-if="user_certification.three" placement="top">
<div slot="content">上传<i style="color: #2abb9d!important;">手持身份证</i>照片</div>
<img :src="user_certification.three"
class="avatar" alt="手持身份证照片">
alt="手持身份证照片" class="avatar">
</el-tooltip>
<i v-else class="avatar-uploader-icon" style="text-align: center">
上传<i style="color: #2abb9d!important;">手持身份证</i>照片
@ -219,10 +219,10 @@
</template>
<script>
import {changeInfoFun, getAuthcTokenFun, user_certification} from "@/restful";
import {AvatarUploadUtils, getUserInfoFun, checkphone, geetest} from "@/utils";
import {changeInfoFun, getAuthcTokenFun, user_certification} from "@/restful";
import {AvatarUploadUtils, checkphone, geetest, getUserInfoFun} from "@/utils";
export default {
export default {
name: "FirUserProfileCertification",
data() {
return {
@ -415,61 +415,61 @@
this.init();
}
}
}
}
</script>
<style scoped>
.el-form {
.el-form {
max-width: 800px;
margin: 0 auto;
}
}
.el-form-item .el-button {
.el-form-item .el-button {
max-width: 260px;
width: 100%;
height: 50px;
}
}
.appdownload /deep/ .el-upload-dragger {
.appdownload /deep/ .el-upload-dragger {
background: #f1f1f1;
width: 200px;
height: 166px;
}
}
.appdownload /deep/ .el-icon-upload {
.appdownload /deep/ .el-icon-upload {
margin-top: 45%;
}
}
.appdownload {
.appdownload {
float: left;
width: 200px;
height: 166px;
background-color: #c2dcf1;
}
}
.avatar-uploader .el-upload {
.avatar-uploader .el-upload {
border: 1px dashed #d9d9d9;
border-radius: 6px;
cursor: pointer;
position: relative;
overflow: hidden;
}
}
.avatar-uploader .el-upload:hover {
.avatar-uploader .el-upload:hover {
border-color: #409EFF;
}
}
.avatar-uploader-icon {
.avatar-uploader-icon {
color: #8c939d;
width: 158px;
height: 158px;
line-height: 158px;
text-align: center;
}
}
.avatar {
.avatar {
width: 178px;
height: 178px;
display: block;
}
}
</style>

@ -5,16 +5,16 @@
<el-form-item label="当前密码">
<el-row :gutter="36">
<el-col :span="18">
<el-input v-model="form.oldpassword" show-password autofocus prefix-icon="el-icon-unlock"
placeholder="当前密码" clearable/>
<el-input v-model="form.oldpassword" autofocus clearable placeholder="当前密码"
prefix-icon="el-icon-unlock" show-password/>
</el-col>
</el-row>
</el-form-item>
<el-form-item label="新密码">
<el-row :gutter="36">
<el-col :span="18">
<el-input v-model="form.newpassword" show-password prefix-icon="el-icon-lock"
placeholder="新密码" clearable/>
<el-input v-model="form.newpassword" clearable placeholder="新密码"
prefix-icon="el-icon-lock" show-password/>
</el-col>
</el-row>
</el-form-item>
@ -22,8 +22,8 @@
<el-form-item label="确认密码">
<el-row :gutter="36">
<el-col :span="18">
<el-input v-model="form.surepassword" show-password prefix-icon="el-icon-lock"
placeholder="确认密码" clearable/>
<el-input v-model="form.surepassword" clearable placeholder="确认密码"
prefix-icon="el-icon-lock" show-password/>
</el-col>
</el-row>
</el-form-item>
@ -43,9 +43,9 @@
</template>
<script>
import {userinfos} from "@/restful";
import {userinfos} from "@/restful";
export default {
export default {
name: "FirUserProfileChangePwd",
data() {
return {
@ -79,20 +79,20 @@
}, mounted() {
this.$store.dispatch('douserInfoIndex', 1);
}
}
}
</script>
<style scoped>
.el-form {
.el-form {
max-width: 500px;
margin: 0 auto;
}
}
.el-button {
.el-button {
margin-top: 20px;
max-width: 260px;
width: 100%;
height: 50px;
}
}
</style>

@ -2,28 +2,28 @@
<div>
<el-dialog
:close-on-click-modal="false"
:close-on-press-escape="false"
:visible.sync="show_wx_visible"
width="780px"
center
:close-on-click-modal="false"
:close-on-press-escape="false">
width="780px">
<span slot="title" style="color: #313639;font-size: 28px; margin-bottom: 14px;">
微信授权登录用户信息
</span>
<el-tag style="margin-bottom: 10px">授权用户将可以使用微信扫码直接登录</el-tag>
<el-table
:data="wx_user_list"
stripe
border
stripe
style="width: 100%">
<el-table-column
label="昵称"
align="center"
label="昵称"
width="180">
<template slot-scope="scope">
<el-popover trigger="hover" placement="top">
<el-popover placement="top" trigger="hover">
<p>昵称: {{ scope.row.nickname }}</p>
<p>性别: {{ scope.row.sex|sex_filter }}</p>
<p>住址: {{ scope.row.address }}</p>
@ -36,8 +36,8 @@
</el-table-column>
<el-table-column
label="头像"
align="center"
label="头像"
width="120">
<template slot-scope="scope">
<el-image :src="scope.row.head_img_url" style="width: 80px;height: 80px"/>
@ -45,19 +45,19 @@
</el-table-column>
<el-table-column
label="关注公众号"
align="center"
label="关注公众号"
width="100">
<template slot-scope="scope">
<div slot="reference" class="name-wrapper">
<el-tag size="medium" v-if="scope.row.subscribe"></el-tag>
<el-tag size="medium" v-else type="danger"></el-tag>
<el-tag v-if="scope.row.subscribe" size="medium"></el-tag>
<el-tag v-else size="medium" type="danger"></el-tag>
</div>
</template>
</el-table-column>
<el-table-column
label="授权时间"
align="center"
label="授权时间"
width="200">
<template slot-scope="scope">
<i class="el-icon-time"></i>
@ -65,8 +65,8 @@
</template>
</el-table-column>
<el-table-column
label="操作"
align="center"
label="操作"
>
<template slot-scope="scope">
<el-button
@ -81,21 +81,21 @@
</el-dialog>
<el-form ref="form" :model="userinfo" label-width="90px">
<el-form-item label="用户名" v-if="userinfo && userinfo.login_type && userinfo.login_type.up">
<el-form-item v-if="userinfo && userinfo.login_type && userinfo.login_type.up" label="用户名">
<el-row :gutter="36">
<el-col :span="16">
<el-input v-model="userinfo.username" :readonly="edituser_name !== true"
prefix-icon="el-icon-user" placeholder="用户名" ref="user_name"
clearable/>
<el-input ref="user_name" v-model="userinfo.username"
:readonly="edituser_name !== true" clearable placeholder="用户名"
prefix-icon="el-icon-user"/>
</el-col>
<el-col :span="1">
<el-button icon="el-icon-edit" @click="changeUsernameValue">
</el-button>
</el-col>
<el-col :span="5" v-if="edituser_name === true">
<el-button type="success" @click="saveUsername" plain
class="save-button">
<el-col v-if="edituser_name === true" :span="5">
<el-button class="save-button" plain type="success"
@click="saveUsername">
保存
</el-button>
</el-col>
@ -107,48 +107,48 @@
<el-form-item label="手机号码">
<el-row :gutter="36">
<el-col :span="16">
<el-input v-model="userinfo.mobile" ref="phone" :readonly="editphone !== true"
prefix-icon="el-icon-mobile" placeholder="手机" maxlength="11" clearable
:disabled="!captcha.change_type.sms"/>
<el-input ref="phone" v-model="userinfo.mobile" :disabled="!captcha.change_type.sms"
:readonly="editphone !== true" clearable maxlength="11" placeholder="手机"
prefix-icon="el-icon-mobile"/>
</el-col>
<el-col :span="1">
<el-button icon="el-icon-edit" @click="changePhoneValue">
</el-button>
</el-col>
<el-col :span="5" v-if="editphone === true && captcha.change_type.sms">
<el-button type="success" @click="savePhone" plain
class="save-button">
<el-col v-if="editphone === true && captcha.change_type.sms" :span="5">
<el-button class="save-button" plain type="success"
@click="savePhone">
保存
</el-button>
</el-col>
</el-row>
</el-form-item>
<el-form-item label="图片验证码" style="height: 40px"
v-if="editphone === true && captcha.captcha_image && captcha.change_type.sms">
<el-row style="height: 40px" :gutter="36">
<el-form-item v-if="editphone === true && captcha.captcha_image && captcha.change_type.sms" label="图片验证码"
style="height: 40px">
<el-row :gutter="36" style="height: 40px">
<el-col :span="14">
<el-input placeholder="请输入图片验证码" v-model="userinfo.authcode" maxlength="6" clearable/>
<el-input v-model="userinfo.authcode" clearable maxlength="6" placeholder="请输入图片验证码"/>
</el-col>
<el-col :span="8">
<el-image
style="margin:0 4px;border-radius:4px;cursor:pointer;height: 40px"
:src="captcha.captcha_image"
fit="contain" @click="get_auth_code">
fit="contain"
style="margin:0 4px;border-radius:4px;cursor:pointer;height: 40px" @click="get_auth_code">
</el-image>
</el-col>
</el-row>
</el-form-item>
<el-form-item label="手机验证码" v-if="editphone === true && captcha.change_type.sms">
<el-form-item v-if="editphone === true && captcha.change_type.sms" label="手机验证码">
<el-row :gutter="36">
<el-col :span="16">
<el-input v-model="userinfo.auth_key" prefix-icon="el-icon-mobile" placeholder="验证码"
maxlength="6" clearable/>
<el-input v-model="userinfo.auth_key" clearable maxlength="6"
placeholder="验证码" prefix-icon="el-icon-mobile"/>
</el-col>
<el-col :span="7">
<el-button type="info" @click="getsmsemailcode('sms',userinfo.mobile)" plain
class="save-button">
<el-button class="save-button" plain type="info"
@click="getsmsemailcode('sms',userinfo.mobile)">
获取验证码
</el-button>
</el-col>
@ -160,17 +160,17 @@
<el-form-item label="邮箱地址">
<el-row :gutter="36">
<el-col :span="16">
<el-input v-model="userinfo.email" ref="email" :readonly="editemail !== true"
prefix-icon="el-icon-bank-card" placeholder="邮箱" maxlength="20" clearable
:disabled="!captcha.change_type.email"/>
<el-input ref="email" v-model="userinfo.email" :disabled="!captcha.change_type.email"
:readonly="editemail !== true" clearable maxlength="20" placeholder="邮箱"
prefix-icon="el-icon-bank-card"/>
</el-col>
<el-col :span="1">
<el-button icon="el-icon-edit" @click="changeemailValue">
</el-button>
</el-col>
<el-col :span="5" v-if="editemail === true && captcha.change_type.email">
<el-button type="success" @click="saveemail" plain
class="save-button">
<el-col v-if="editemail === true && captcha.change_type.email" :span="5">
<el-button class="save-button" plain type="success"
@click="saveemail">
保存
</el-button>
</el-col>
@ -178,31 +178,31 @@
</el-form-item>
<el-form-item label="图片验证码" style="height: 40px"
v-if="editemail === true && captcha.captcha_image && captcha.change_type.email">
<el-row style="height: 40px" :gutter="36">
<el-form-item v-if="editemail === true && captcha.captcha_image && captcha.change_type.email" label="图片验证码"
style="height: 40px">
<el-row :gutter="36" style="height: 40px">
<el-col :span="14">
<el-input placeholder="请输入图片验证码" v-model="userinfo.authcode" maxlength="6" clearable/>
<el-input v-model="userinfo.authcode" clearable maxlength="6" placeholder="请输入图片验证码"/>
</el-col>
<el-col :span="8">
<el-image
style="margin:0 4px;border-radius:4px;cursor:pointer;height: 40px"
:src="captcha.captcha_image"
fit="contain" @click="get_auth_code">
fit="contain"
style="margin:0 4px;border-radius:4px;cursor:pointer;height: 40px" @click="get_auth_code">
</el-image>
</el-col>
</el-row>
</el-form-item>
<el-form-item label="邮箱验证码" v-if="editemail === true && captcha.change_type.email">
<el-form-item v-if="editemail === true && captcha.change_type.email" label="邮箱验证码">
<el-row :gutter="36">
<el-col :span="16">
<el-input v-model="userinfo.auth_key" prefix-icon="el-icon-mobile" placeholder="验证码"
maxlength="6" clearable/>
<el-input v-model="userinfo.auth_key" clearable maxlength="6"
placeholder="验证码" prefix-icon="el-icon-mobile"/>
</el-col>
<el-col :span="7">
<el-button type="info" @click="getsmsemailcode('email',userinfo.email)" plain
class="save-button">
<el-button class="save-button" plain type="info"
@click="getsmsemailcode('email',userinfo.email)">
获取验证码
</el-button>
</el-col>
@ -220,9 +220,9 @@
<el-form-item label="下载域名">
<el-row :gutter="36">
<el-col :span="16">
<el-input :value="userinfo.domain_name" :readonly="true" ref="domain_name"
prefix-icon="el-icon-download"
placeholder="下载页域名" clearable/>
<el-input ref="domain_name" :readonly="true" :value="userinfo.domain_name"
clearable
placeholder="下载页域名" prefix-icon="el-icon-download"/>
</el-col>
</el-row>
</el-form-item>
@ -230,16 +230,16 @@
<el-form-item label="职位">
<el-row :gutter="36">
<el-col :span="16">
<el-input v-model="userinfo.job" ref="position" :readonly="editposition !== true"
prefix-icon="el-icon-postcard" placeholder="职位" clearable/>
<el-input ref="position" v-model="userinfo.job" :readonly="editposition !== true"
clearable placeholder="职位" prefix-icon="el-icon-postcard"/>
</el-col>
<el-col :span="1">
<el-button icon="el-icon-edit" @click="changePositionValue">
</el-button>
</el-col>
<el-col :span="5" v-if="editposition === true">
<el-button type="success" @click="savePositionValue" plain
class="save-button">
<el-col v-if="editposition === true" :span="5">
<el-button class="save-button" plain type="success"
@click="savePositionValue">
保存
</el-button>
@ -247,17 +247,17 @@
</el-row>
</el-form-item>
<div class="other-way"
v-if="userinfo && userinfo.login_type && userinfo.login_type.third && JSON.stringify(userinfo.login_type.third).indexOf('true')!==-1">
<div v-if="userinfo && userinfo.login_type && userinfo.login_type.third && JSON.stringify(userinfo.login_type.third).indexOf('true')!==-1"
class="other-way">
<hr>
<span class="info">绑定第三方账户</span>
<el-row :gutter="20" v-if="userinfo.login_type.third && userinfo.login_type.third.wxp">
<el-col :span="6" :offset="6">
<el-row v-if="userinfo.login_type.third && userinfo.login_type.third.wxp" :gutter="20">
<el-col :offset="6" :span="6">
<el-popover
v-model="wx_visible"
placement="top"
trigger="manual"
title="打开微信扫一扫进行绑定"
v-model="wx_visible">
trigger="manual">
<div>
<el-image :src="wx_login_qr_url" style="width: 176px;height: 166px"/>
</div>
@ -278,10 +278,10 @@
</template>
<script>
import {changeInfoFun, getAuthcTokenFun, userinfos, wxLoginFun, wxutils} from '@/restful'
import {deepCopy, geetest} from "@/utils";
import {changeInfoFun, getAuthcTokenFun, userinfos, wxLoginFun, wxutils} from '@/restful'
import {deepCopy, geetest} from "@/utils";
export default {
export default {
name: "FirUserProfileInfo",
data() {
return {
@ -597,24 +597,24 @@
return '';
}
}
}
}
</script>
<style scoped>
.other-way {
.other-way {
position: relative;
text-align: center;
}
}
.other-way hr {
.other-way hr {
height: 1px;
margin: 30px 0;
border: 0;
background-color: #e4e7ed;
}
}
.other-way span.info {
.other-way span.info {
font-size: 12px;
line-height: 1;
position: absolute;
@ -623,22 +623,22 @@
padding: 0 10px;
transform: translate(-50%, 0);
color: #9ba3af;
}
}
.el-form {
.el-form {
max-width: 500px;
margin: 0 auto;
}
}
.el-button {
.el-button {
padding: 0;
border: none;
background-color: transparent;
color: #7e5ef8;
}
}
.save-button {
.save-button {
margin: 0 4px;
border-radius: 4px;
cursor: pointer;
@ -648,10 +648,10 @@
max-width: 360px;
width: 100%;
position: relative;
}
}
.save-button:focus {
.save-button:focus {
background-color: #bfe7f9;
}
}
</style>

@ -1,70 +1,70 @@
<template>
<el-main>
<h2 v-if="is_admin_storage">管理员存储您配置的存储将决定其他用户配置的默认存储请谨慎修改</h2>
<el-dialog :title="title" :visible.sync="dialogstorageVisible" :destroy-on-close="true"
:close-on-click-modal="false">
<el-dialog :close-on-click-modal="false" :destroy-on-close="true" :title="title"
:visible.sync="dialogstorageVisible">
<el-form v-if="editstorageinfo.id !==-1" ref="storageinfoform" :model="editstorageinfo"
label-width="80px" style="margin:0 auto;">
<el-form-item label-width="100px" label="存储类型">
<el-select :disabled='disabled' v-model="editstorageinfo.storage_type" placeholder="存储类型"
<el-form-item label="存储类型" label-width="100px">
<el-select v-model="editstorageinfo.storage_type" :disabled='disabled' placeholder="存储类型"
style="margin-left: -100px">
<el-option v-for="st in storage_list" :key="st.id" :label="st.name" :value="st.id"/>
</el-select>
</el-form-item>
<div v-if="editstorageinfo.storage_type">
<el-form-item label-width="110px" label="存储名称">
<el-input :disabled='disabled' v-model="editstorageinfo.name"/>
<el-form-item label="存储名称" label-width="110px">
<el-input v-model="editstorageinfo.name" :disabled='disabled'/>
</el-form-item>
<el-form-item label-width="110px" label="key">
<el-input :disabled='disabled' v-model="editstorageinfo.access_key"/>
<el-form-item label="key" label-width="110px">
<el-input v-model="editstorageinfo.access_key" :disabled='disabled'/>
</el-form-item>
<el-form-item label-width="110px" label="secret">
<el-input :disabled='disabled' v-model="editstorageinfo.secret_key" placeholder="为空表示不修改该信息"/>
<el-form-item label="secret" label-width="110px">
<el-input v-model="editstorageinfo.secret_key" :disabled='disabled' placeholder="为空表示不修改该信息"/>
</el-form-item>
<el-form-item label-width="110px" label="bucket_name">
<el-input :disabled='disabled' v-model="editstorageinfo.bucket_name"/>
<el-form-item label="bucket_name" label-width="110px">
<el-input v-model="editstorageinfo.bucket_name" :disabled='disabled'/>
</el-form-item>
<el-form-item label-width="110px" label="下载域名">
<el-input :disabled='disabled' v-model="editstorageinfo.domain_name"/>
<el-form-item label="下载域名" label-width="110px">
<el-input v-model="editstorageinfo.domain_name" :disabled='disabled'/>
</el-form-item>
<div v-if="editstorageinfo.storage_type === 2">
<el-form-item label-width="110px" label="sts_role_arn">
<el-input :disabled='disabled'
v-model="editstorageinfo.sts_role_arn"/>
<el-form-item label="sts_role_arn" label-width="110px">
<el-input v-model="editstorageinfo.sts_role_arn"
:disabled='disabled'/>
</el-form-item>
<el-form-item label-width="110px" label="endpoint">
<el-input :disabled='disabled'
v-model="editstorageinfo.endpoint"/>
<el-form-item label="endpoint" label-width="110px">
<el-input v-model="editstorageinfo.endpoint"
:disabled='disabled'/>
</el-form-item>
<el-form-item label-width="110px" label="下载授权方式">
<el-form-item label="下载授权方式" label-width="110px">
<el-select v-model="editstorageinfo.download_auth_type"
placeholder="下载授权方式"
style="width: 80%" :disabled="disabled">
:disabled="disabled"
placeholder="下载授权方式" style="width: 80%">
<el-option v-for="st in editstorageinfo.download_auth_type_choices" :key="st.id"
:label="st.name"
:value="st.id"/>
</el-select>
<el-form-item label-width="120px" style="margin-top: 10px;margin-left: 70px;width: 60%"
label="CDN鉴权主KEY"
v-if="editstorageinfo.download_auth_type === 2">
<el-input :disabled='disabled' placeholder="CDN鉴权主KEY"
v-model="editstorageinfo.cnd_auth_key"/>
<el-form-item v-if="editstorageinfo.download_auth_type === 2" label="CDN鉴权主KEY"
label-width="120px"
style="margin-top: 10px;margin-left: 70px;width: 60%">
<el-input v-model="editstorageinfo.cnd_auth_key" :disabled='disabled'
placeholder="CDN鉴权主KEY"/>
</el-form-item>
</el-form-item>
</div>
<el-form-item label-width="110px" label="备注">
<el-input :disabled='disabled' v-model="editstorageinfo.description"/>
<el-form-item label="备注" label-width="110px">
<el-input v-model="editstorageinfo.description" :disabled='disabled'/>
</el-form-item>
<el-button v-if="!disabled" @click="updateorcreate">保存</el-button>
@ -74,9 +74,9 @@
</el-form>
</el-dialog>
<el-tabs v-model="activeName" @tab-click="handleClick" tab-position="top" type="border-card">
<el-tabs v-model="activeName" tab-position="top" type="border-card" @tab-click="handleClick">
<el-tab-pane label="存储选择" name="change">
<el-select v-model="use_storage_id" filterable :placeholder="selectlabel" @change="select_storage">
<el-select v-model="use_storage_id" :placeholder="selectlabel" filterable @change="select_storage">
<el-option-group
v-for="storage_group in fstorage_lists"
:key="storage_group.group_name"
@ -90,13 +90,13 @@
</el-option-group>
</el-select>
<div v-if="use_storage_id!==org_storage_id" style="margin-top: 20px">
<el-button style="margin-left: 10px" round type="info"
icon="el-icon-thumb"
<el-button icon="el-icon-thumb" round style="margin-left: 10px"
type="info"
@click="change_storage_info(0)">
迁移数据并保存
</el-button>
<el-button style="margin-left: 10px" round type="danger"
icon="el-icon-thumb"
<el-button icon="el-icon-thumb" round style="margin-left: 10px"
type="danger"
@click="change_storage_info(1)">
强制迁移忽略数据迁移失败错误可能会导致数据丢失
</el-button>
@ -104,8 +104,8 @@
<el-divider/>
<el-form v-if="storageinfo.id && storageinfo.id !==-1" ref="storageinfoform" :model="storageinfo"
label-width="80px" style="width: 39%;margin:0 auto;">
<el-form-item label-width="110px" label="存储类型">
<el-select :disabled='Sdisabled' v-model="storageinfo.storage_type" placeholder="存储类型"
<el-form-item label="存储类型" label-width="110px">
<el-select v-model="storageinfo.storage_type" :disabled='Sdisabled' placeholder="存储类型"
style="margin-left: -60px">
<el-option v-for="st in storage_list" :key="st.id" :label="st.name"
:value="st.id"/>
@ -114,51 +114,51 @@
<div v-if="storageinfo.storage_type">
<el-form-item label-width="110px" label="存储名称">
<el-input :disabled='Sdisabled' v-model="storageinfo.name"/>
<el-form-item label="存储名称" label-width="110px">
<el-input v-model="storageinfo.name" :disabled='Sdisabled'/>
</el-form-item>
<el-form-item label-width="110px" label="key">
<el-input :disabled='Sdisabled' v-model="storageinfo.access_key"/>
<el-form-item label="key" label-width="110px">
<el-input v-model="storageinfo.access_key" :disabled='Sdisabled'/>
</el-form-item>
<el-form-item label-width="110px" label="bucket_name">
<el-input :disabled='Sdisabled' v-model="storageinfo.bucket_name"/>
<el-form-item label="bucket_name" label-width="110px">
<el-input v-model="storageinfo.bucket_name" :disabled='Sdisabled'/>
</el-form-item>
<el-form-item label-width="110px" label="下载域名">
<el-input :disabled='Sdisabled' v-model="storageinfo.domain_name"/>
<el-form-item label="下载域名" label-width="110px">
<el-input v-model="storageinfo.domain_name" :disabled='Sdisabled'/>
</el-form-item>
<div v-if="storageinfo.storage_type === 2">
<el-form-item label-width="110px" label="sts_role_arn">
<el-input :disabled='Sdisabled'
v-model="storageinfo.sts_role_arn"/>
<el-form-item label="sts_role_arn" label-width="110px">
<el-input v-model="storageinfo.sts_role_arn"
:disabled='Sdisabled'/>
</el-form-item>
<el-form-item label-width="110px" label="endpoint">
<el-input :disabled='Sdisabled'
v-model="storageinfo.endpoint"/>
<el-form-item label="endpoint" label-width="110px">
<el-input v-model="storageinfo.endpoint"
:disabled='Sdisabled'/>
</el-form-item>
<el-form-item label-width="110px" label="下载授权方式">
<el-form-item label="下载授权方式" label-width="110px">
<el-select v-model="storageinfo.download_auth_type"
placeholder="下载授权方式"
style="width: 100%" :disabled="disabled">
:disabled="disabled"
placeholder="下载授权方式" style="width: 100%">
<el-option v-for="st in storageinfo.download_auth_type_choices" :key="st.id"
:label="st.name"
:value="st.id"/>
</el-select>
<el-form-item label-width="120px" style="margin-top: 10px;width: 100%" label="CDN鉴权主KEY"
v-if="storageinfo.download_auth_type === 2">
<el-input :disabled='disabled' placeholder="CDN鉴权主KEY"
v-model="storageinfo.cnd_auth_key"/>
<el-form-item v-if="storageinfo.download_auth_type === 2" label="CDN鉴权主KEY" label-width="120px"
style="margin-top: 10px;width: 100%">
<el-input v-model="storageinfo.cnd_auth_key" :disabled='disabled'
placeholder="CDN鉴权主KEY"/>
</el-form-item>
</el-form-item>
</div>
<el-form-item label-width="110px" label="备注">
<el-input :disabled='Sdisabled' v-model="storageinfo.description"/>
<el-form-item label="备注" label-width="110px">
<el-input v-model="storageinfo.description" :disabled='Sdisabled'/>
</el-form-item>
</div>
@ -168,42 +168,42 @@
</el-tab-pane>
<el-tab-pane label="存储管理" name="edit">
<el-table
v-loading="loading"
:data="storage_info_lists"
border
v-loading="loading"
stripe
style="width: 100%">
<el-table-column
fixed
prop="name"
label="存储名称"
prop="name"
width="180">
</el-table-column>
<el-table-column
prop="storage_type_display"
label="存储类型"
prop="storage_type_display"
width="100">
</el-table-column>
<el-table-column
prop="domain_name"
label="下载域名">
label="下载域名"
prop="domain_name">
</el-table-column>
<el-table-column
prop="bucket_name"
label="bucket_name"
prop="bucket_name"
width="130">
</el-table-column>
<el-table-column
:formatter="formatter"
prop="updated_time"
label="修改时间"
prop="updated_time"
width="170">
</el-table-column>
<el-table-column
prop="description"
label="备注">
label="备注"
prop="description">
</el-table-column>
<el-table-column
fixed="right"
@ -211,14 +211,14 @@
width="120">
<template slot-scope="scope">
<div v-if="scope.row.id === org_storage_id">
<el-button v-if="scope.row.id === org_storage_id" @click="showstorage(scope.row)"
type="success" size="small">使用中
<el-button v-if="scope.row.id === org_storage_id" size="small"
type="success" @click="showstorage(scope.row)">使用中
</el-button>
</div>
<div v-else>
<el-button @click="showstorage(scope.row)" type="text" size="small">查看</el-button>
<el-button @click="editstorage(scope.row)" type="text" size="small">编辑</el-button>
<el-button @click="del_storage_info(scope.row)" type="text" size="small">删除</el-button>
<el-button size="small" type="text" @click="showstorage(scope.row)">查看</el-button>
<el-button size="small" type="text" @click="editstorage(scope.row)">编辑</el-button>
<el-button size="small" type="text" @click="del_storage_info(scope.row)">删除</el-button>
</div>
</template>
@ -228,7 +228,7 @@
<el-tab-pane label="存储新增" name="add">
<el-form ref="storageinfoform" :model="editstorageinfo"
label-width="80px" style="margin:0 auto;">
<el-form-item label-width="100px" label="存储类型">
<el-form-item label="存储类型" label-width="100px">
<el-select v-model="editstorageinfo.storage_type" placeholder="存储类型"
style="margin-left: -100px">
<el-option v-for="st in storage_list" :key="st.id" :label="st.name"
@ -237,36 +237,36 @@
</el-form-item>
<div v-if="editstorageinfo.storage_type">
<el-form-item label-width="110px" label="存储名称">
<el-form-item label="存储名称" label-width="110px">
<el-input v-model="editstorageinfo.name"/>
</el-form-item>
<el-form-item label-width="110px" label="key">
<el-form-item label="key" label-width="110px">
<el-input v-model="editstorageinfo.access_key"/>
</el-form-item>
<el-form-item label-width="110px" label="secret">
<el-form-item label="secret" label-width="110px">
<el-input v-model="editstorageinfo.secret_key"/>
</el-form-item>
<el-form-item label-width="110px" label="bucket_name">
<el-form-item label="bucket_name" label-width="110px">
<el-input v-model="editstorageinfo.bucket_name"/>
</el-form-item>
<el-form-item label-width="110px" label="下载域名">
<el-form-item label="下载域名" label-width="110px">
<el-input v-model="editstorageinfo.domain_name"/>
</el-form-item>
<div v-if="editstorageinfo.storage_type === 2">
<el-form-item label-width="110px" label="sts_role_arn">
<el-form-item label="sts_role_arn" label-width="110px">
<el-input
v-model="editstorageinfo.sts_role_arn"/>
</el-form-item>
<el-form-item label-width="110px" label="endpoint">
<el-form-item label="endpoint" label-width="110px">
<el-input
v-model="editstorageinfo.endpoint"/>
</el-form-item>
<el-form-item label-width="110px" label="下载授权方式">
<el-form-item label="下载授权方式" label-width="110px">
<el-select v-model="editstorageinfo.download_auth_type"
placeholder="下载授权方式"
style="width: 80%">
@ -275,18 +275,18 @@
:value="st.id"/>
</el-select>
<el-form-item label-width="120px" style="margin-top: 10px;margin-left: 70px;width: 60%"
label="CDN鉴权主KEY"
v-if="editstorageinfo.download_auth_type === 2">
<el-input placeholder="CDN鉴权主KEY"
v-model="editstorageinfo.cnd_auth_key"/>
<el-form-item v-if="editstorageinfo.download_auth_type === 2" label="CDN鉴权主KEY"
label-width="120px"
style="margin-top: 10px;margin-left: 70px;width: 60%">
<el-input v-model="editstorageinfo.cnd_auth_key"
placeholder="CDN鉴权主KEY"/>
</el-form-item>
</el-form-item>
</div>
<el-form-item label-width="110px" label="备注">
<el-form-item label="备注" label-width="110px">
<el-input v-model="editstorageinfo.description"/>
</el-form-item>
@ -301,10 +301,10 @@
</template>
<script>
import {getStorageinfo} from "@/restful";
import {deepCopy, getUserInfoFun} from "@/utils";
import {getStorageinfo} from "@/restful";
import {deepCopy, getUserInfoFun} from "@/utils";
export default {
export default {
name: "FirUserStorage",
data() {
return {
@ -530,11 +530,11 @@
}
this.get_data_from_tabname(this.activeName);
}, filters: {}
}
}
</script>
<style scoped>
.el-main {
.el-main {
text-align: center;
margin: 20px auto 100px;
width: 1166px;
@ -543,5 +543,5 @@
color: #9b9b9b;
-webkit-font-smoothing: antialiased;
border-radius: 1%;
}
}
</style>

@ -5,20 +5,20 @@ import router from "@/router/download";
import 'element-ui/lib/theme-chalk/index.css'
import {
Button,
Col,
Container,
Divider,
Form,
FormItem,
Header,
Input,
Link,
Main,
Message,
Select,
Notification,
Option,
Header,
Form,
FormItem,
Row,
Col,
Notification
Select
} from "element-ui";
import VueLazyload from 'vue-lazyload'

Loading…
Cancel
Save