canyin-project/ybcy/views/admin/site/site_grant.php
2024-11-01 16:07:54 +08:00

175 lines
8.3 KiB
PHP

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="renderer" content="webkit">
<?php if($this->params['site_image']):?>
<link rel="shortcut icon" type="image/x-icon" href="<?php echo $this->params['site_image'];?>" />
<?php else:?>
<link rel="shortcut icon" type="image/x-icon" href="<?=Yii::$app->request->baseUrl?>/web/favicon.ico" />
<?php endif;?>
<title><?php if($this->params['site_title']):?>
<?php echo $this->params['site_title']; ?>
<?php else:?>
应用管理后台
<?php endif;?>-授权信息</title>
<link rel="stylesheet" type="text/css" href="<?=Yii::$app->request->baseUrl?>/web/static/css/globle.css"/>
<script src="<?=Yii::$app->request->baseUrl?>/web/static/js/config.js" type="text/javascript" charset="utf-8"></script>
</head>
<style>
.mar_t3 {
margin-top: 3px;
}
.main_con .elinput{
width: 330px;
}
.main_con{
padding-left: 30px;
}
.ysq{
color: #1F8C0D;
background-color: #F4F9F3;
border-color: #F4F9F3;
}
</style>
<body>
<div class="pHead">
<div class="publicHeader"><?php echo $this->render('@app/views/admin/public/publicHeader.html');?></div>
</div>
<div class="pLeft">
<div class="publicAside hei"><?php echo $this->render('@app/views/admin/public/publicAside.html');?></div>
</div>
<div class="yb_body">
<div class="layout" id="platformList">
<el-container>
<el-container>
<el-main>
<div class="main" style="min-width: 800px">
<div class="ba_f">
<div class="main-tab ba_f bor_rad5">
<div class="main-search-tit t_l fon_16 wei pad_20">授权信息</div>
<div class="tips t_l flex flex-y-center">
<span class="iconfont icontishi maincolor fon_16 mar_r10 mar_t3"></span>
<p class="fon_12 maincolor">提示:如出现授权信息有误,请联系您的专属客服解决!</p>
</div>
</div>
<div class="main_con">
<div class="flex-bet wid pad_tb_20">
<div class="flex-grow-0 t_r pad_r_25 right-left">站点名称</div>
<div class="flex-grow-1 t_l right-width"><?= $data['domainName'] ?></div>
</div>
<div class="flex-bet wid pad_tb_20">
<div class="flex-grow-0 t_r pad_r_25 right-left">站点ID</div>
<div class="flex-grow-1 t_l right-width"><?= $data['id'] ?></div>
</div>
<div class="flex-bet wid pad_tb_20">
<div class="flex-grow-0 t_r pad_r_25 right-left">授权状态</div>
<div class="flex-grow-1 t_l right-width"> <el-tag type="repair" class="ysq">已授权</el-tag></div>
</div>
<div class="flex-bet wid pad_tb_20">
<div class="flex-grow-0 t_r pad_r_25 right-left">服务类型</div>
<div class="flex-grow-1 t_l right-width"><?= $data['service_type'] ?></div>
</div>
<div class="flex-bet wid pad_tb_20">
<div class="flex-grow-0 t_r pad_r_25 right-left">可创建账号数量</div>
<div class="flex-grow-1 t_l right-width"><?= $data['accountNum'] ?></div>
</div>
<div class="flex-bet wid pad_tb_20">
<div class="flex-grow-0 t_r pad_r_25 right-left">绑定手机号</div>
<div class="flex-grow-1 t_l right-width">
<div class="flex">
<div> <el-input v-model="formInline.phone" disabled placeholder="<?= $data['phone'] ?>"
class="elinput"><?= $data['phone'] ?></el-input></div>
<!-- <div> <el-button class="mar_l20">修改</el-button></div>-->
</div>
</div>
</div>
<div class="flex-bet wid pad_tb_20">
<div class="flex-grow-0 t_r pad_r_25 right-left">网站URL</div>
<div class="flex-grow-1 t_l right-width">
<el-input v-model="formInline.url" disabled placeholder="<?= $data['domain_url'] ?>"
class="elinput"></el-input>
</div>
</div>
<div class="flex-bet wid pad_tb_20">
<div class="flex-grow-0 t_r pad_r_25 right-left">站点IP</div>
<div class="flex-grow-1 t_l right-width">
<el-input v-model="formInline.ip" disabled placeholder="<?= $data['ip_address'] ?>"
class="elinput"></el-input>
</div>
</div>
<div class="flex-bet wid pad_tb_20">
<div class="flex-grow-0 t_r pad_r_25 right-left">授权密钥</div>
<div class="flex-grow-1 t_l right-width">
<el-input v-model="formInline.key" disabled placeholder="<?= $data['auth_code'] ?>"
class="elinput"></el-input>
</div>
</div>
<div class="flex-bet wid pad_tb_20">
<div class="flex-grow-0 t_r pad_r_25 right-left">到期时间</div>
<div class="flex-grow-1 t_l right-width">
<el-input v-model="formInline.times" disabled placeholder="<?= $data['endTime'] ?>"
class="elinput"></el-input>
</div>
</div>
</div>
</div>
</div>
</el-main>
</el-container>
</el-container>
</div>
</div>
<script>
$(document).ready(function () {
$(".slimScrollDiv ul .main-nav-li a").eq(10).addClass("menu_active");
$(".main-nav .main-nav-li .submenu").eq(4).addClass("block");
$(".main-nav .main-nav-li .submenu").children().children().eq(12).addClass("menu_active2")
});
</script>
<script>
new Vue({
el: '#platformList',
data: function () {
return {
activeName: 'msg',
formInline: {
name: '',
id: '',
tel: '',
type:'',
site:'',
number:'',
url:'',
ip:'',
key:'',
times:'',
},
edition: '1',
}
},
methods: {
handleClick(tab, event) {
if (tab.name == 'msg') {
location.href = "<?= Yii::$app->urlManager->createUrl('admin/apply/platform_add');?>";
}
if (tab.name == 'user') {
location.href = "<?= Yii::$app->urlManager->createUrl('admin/apply/platform_userm');?>";
}
if (tab.name == 'enclosure') {
location.href = "<?= Yii::$app->urlManager->createUrl('admin/apply/platform_enclosure');?>";
}
},
}
})
</script>
</body>
</html>