* add linkButton on productPlan card

This commit is contained in:
chaideqing
2021-12-02 15:46:08 +08:00
parent 520639067c
commit af6a88cba5
6 changed files with 22 additions and 6 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ body {margin-bottom: 0px !important;}
.table-footer .pager:before {display: none !important;}
.table-footer .pager {background-color: #fff !important;}
.table-footer .pager li *{color: #838a9d !important;}
.linkButton {float: right; padding-right: 10px; line-height: 34px;}
.linkButton {float: right; padding-right: 10px; line-height: 40px;}
.main-table a {pointer-events: none; color: unset !important;}
.table-responsive {margin-bottom: unset;}
::-webkit-scrollbar {width: 10px; height: 10px;}
+1 -1
View File
@@ -20,7 +20,7 @@ body {margin-bottom: 0px !important;}
.table-footer .pager:before {display: none !important;}
.table-footer .pager {background-color: #fff !important;}
.table-footer .pager li *{color: #838a9d !important;}
.linkButton {float: right; padding-right: 10px; line-height: 34px;}
.linkButton {float: right; padding-right: 10px; line-height: 40px;}
.main-table a {pointer-events: none; color: unset !important;}
.table-responsive {margin-bottom: unset;}
::-webkit-scrollbar {width: 10px; height: 10px;}
+1 -1
View File
@@ -14,7 +14,7 @@ body {margin-bottom: 0px !important;}
.table-footer .pager:before {display: none !important;}
.table-footer .pager {background-color: #fff !important;}
.table-footer .pager li *{color: #838a9d !important;}
.linkButton {float: right; padding-right: 10px; line-height: 34px;}
.linkButton {float: right; padding-right: 10px; line-height: 40px;}
.main-table a {pointer-events: none; color: unset !important;}
.table-responsive {margin-bottom: unset;}
::-webkit-scrollbar {width: 10px; height: 10px;}
+1 -1
View File
@@ -14,7 +14,7 @@ body {margin-bottom: 0px !important;}
.table-footer .pager:before {display: none !important;}
.table-footer .pager {background-color: #fff !important;}
.table-footer .pager li *{color: #838a9d !important;}
.linkButton {float: right; padding-right: 10px; line-height: 34px;}
.linkButton {float: right; padding-right: 10px; line-height: 40px;}
.main-table a {pointer-events: none; color: unset !important;}
.table-responsive {margin-bottom: unset;}
::-webkit-scrollbar {width: 10px; height: 10px;}
+2 -1
View File
@@ -11,4 +11,5 @@
.tab-btn-container ul li span{display: none;}
.tab-btn-container ul li.active span{display: inline-block;}
::-webkit-scrollbar {width: 10px; height: 10px;}
::-webkit-scrollbar-thumb:vertical {box-shadow: inset 1px 1px 0 rgb(0 0 0 / 10%), inset 0 -1px 0 rgb(0 0 0 / 7%); background-color: rgba(0, 0, 0, 0.2); border-radius: 10px; opacity: 0; transition: opacity 0.1s;}
::-webkit-scrollbar-thumb:vertical {box-shadow: inset 1px 1px 0 rgb(0 0 0 / 10%), inset 0 -1px 0 rgb(0 0 0 / 7%); background-color: rgba(0, 0, 0, 0.2); border-radius: 10px; opacity: 0; transition: opacity 0.1s;}
.linkButton {position: absolute; top: 0px; right: 10px; line-height: 36px;}
+16 -1
View File
@@ -52,7 +52,14 @@
<div id='mainContent' class='main-content'>
<div class='tabs' id='tabsNav'>
<?php if($this->app->getViewType() == 'xhtml'):?>
<div class="plan-title"><?php echo $product->name . ' ' . $plan->title ?></div>
<div class="plan-title"><?php echo $product->name . ' ' . $plan->title ?></div>
<?php if($this->app->getViewType() == 'xhtml'):?>
<div class="linkButton" onclick="linkButtonClicked()">
<span title="<?php echo $lang->viewDetails;?>">
<i class="icon icon-import icon-rotate-270"></i>
</span>
</div>
<?php endif;?>
<div class='tab-btn-container'>
<?php endif;?>
<ul class='nav nav-tabs'>
@@ -604,4 +611,12 @@
<?php js::set('planID', $plan->id)?>
<?php js::set('orderBy', $orderBy)?>
<?php js::set('type', $type)?>
<script>
function linkButtonClicked()
{
$url = window.location.href;
$xxcUrl = "xxc:openInApp/zentao-integrated/" + encodeURIComponent($url.replace(/.display=card/, ''));
window.open($xxcUrl);
}
</script>
<?php include '../../common/view/footer.html.php';?>