Skip to content

Commit

Permalink
网关服务端,样式兼容手机
Browse files Browse the repository at this point in the history
  • Loading branch information
duyanming committed Dec 23, 2023
1 parent 83b549b commit aaa3a56
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Viper/Views/Home/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,17 @@
<div v-on:click="changeisCollapse" style="width: 1px; float: left; cursor: pointer;">
<i :class="{'el-icon-s-fold':isCollapse==false,'el-icon-s-unfold':isCollapse}"></i>
</div>
<a v-show="(_isMobile&&isCollapse)||(!_isMobile)" style="cursor: pointer; text-decoration: underline; float:left;margin-left:40px;color:#3e3434;" target="_blank" href="https://duyanming.github.io/">官方文档</a>
<a v-show="!isMobile" style="cursor: pointer; text-decoration: underline; float:left;margin-left:40px;color:#3e3434;" target="_blank" href="https://duyanming.github.io/">官方文档</a>
<div uInfo style="height: 60px; float: right; margin-right:10px;">
<el-tag v-show="(_isMobile&&isCollapse)||(!_isMobile)">
<el-tag v-show="!isMobile">
系统:
<span style="color:#606266;">
@($"{System.Environment.OSVersion}"),<b>@System.Runtime.InteropServices.RuntimeInformation.OSArchitecture.ToString().ToLower()</b>,处理器 <b>@System.Environment.ProcessorCount</b>
</span>
</el-tag>
<el-tag>注册中心:<span style="color:#606266;">@(Anno.Const.SettingService.Local?.IpAddress + ":" + Anno.Const.SettingService.Local?.Port)</span></el-tag>
<el-tag>运行服务:<span style="color:#606266;">@Anno.Rpc.Client.Connector.Micros?.LongCount()</span></el-tag>
<el-tag>网关版本:<span style="color:#606266;">@(typeof(Anno.Rpc.Client.Connector).Assembly.GetName().Version)</span></el-tag>
<el-tag v-show="!isMobile">注册中心:<span style="color:#606266;">@(Anno.Const.SettingService.Local?.IpAddress + ":" + Anno.Const.SettingService.Local?.Port)</span></el-tag>
<el-tag v-show="!isMobile">运行服务:<span style="color:#606266;">@Anno.Rpc.Client.Connector.Micros?.LongCount()</span></el-tag>
<el-tag v-show="!isMobile">网关版本:<span style="color:#606266;">@(typeof(Anno.Rpc.Client.Connector).Assembly.GetName().Version)</span></el-tag>
<el-avatar size="medium" style="vertical-align: middle;">{{profile.account}}</el-avatar>
<el-dropdown trigger="click" @@command="handleCommand">
<span class="el-dropdown-link">
Expand Down

0 comments on commit aaa3a56

Please sign in to comment.