123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- <!DOCTYPE html>
- <html>
- <head>
- @include('home.soft.common.head')
- <style>
- /* 未登录弹窗 */
- .member-model {
- line-height: 2.2;
- padding: 10px;
- height: 100vh;
- }
- .member-model .m-title {
- color: #BD2C00;
- font-size: 15px;
- }
- .member-model .m-tips {
- margin: 20px 0;
- }
- .member-model .member-btn {
- position: absolute;
- bottom: 30px;
- right: 20px;
- }
- </style>
- </head>
- <body style="margin:0 10px">
- <div class="member-model">
- @if(isset($ad) && $ad->logo)
- <div class="adv-banner">
- <img src="{{$ad->logo}}" style="width: 100%; height: 100%;"/>
- </div>
- @endif
- <p class="m-title">检测到您没有可使用的会员套餐,是否开通?</p>
- <p class="m-title">非会员上传的文件不能大于2M,图片不能大于300KB,开通会员后,您将获得以下权限:</p>
- <div class="m-tips">
- <p>
- <i class="fa fa-check" style="color: #ce0000;margin-right:5px;" size="16" aria-hidden="true"></i>
- 文件上传不限制大小
- </p>
- <p>
- <i class="fa fa-check" style="color: #ce0000;margin-right:5px;" size="16" aria-hidden="true"></i>
- 永久免费升级
- </p>
- <p>
- <i class="fa fa-check" style="color: #ce0000;margin-right:5px;" size="16" aria-hidden="true"></i>
- 7*24专业技术支持
- </p>
- </div>
- <div class="member-btn">
- <button type="button" style="margin:0 10px;" class="btn btn-outline-secondary" onclick="next()">继续试用</button>
- <button type="button" class="btn btn-danger" onclick="openVip()">开通会员</button>
- </div>
- </div>
- <script>
- let reminderContext;
- let isShow = "{{ !$isVip }}" // 会员才显示
- // 初始化
- function init() {
- if (typeof qt != 'undefined') {
- new QWebChannel(qt.webChannelTransport, function (channel) {
- reminderContext = channel.objects.reminder;
- //
- reminderContext.setWidth(400);
- reminderContext.setHeight(500);
- reminderContext.setTitle("提示");
- // context.sendContinueBtnSignal.connect(function (msg) {
- // alert("msg ==" + msg)
- // })
- // 显示弹窗
- reminderContext.setVisible(Boolean(isShow));
- }
- );
- } else {
- // alert("qt对象获取失败!");
- }
- }
- init();
- function next() {
- if (typeof reminderContext == 'undefined') {
- alert("出现了错误,请重启软件!");
- } else {
- reminderContext.setContinue();
- }
- }
- function openVip() {
- if (typeof reminderContext == 'undefined') {
- alert("出现了错误,请重启软件!");
- } else {
- reminderContext.setOpenVip();
- }
- }
- </script>
- </body>
- </html>
|