| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <?php
- use \common\helpers\Utils;
- $this->title = '推广链接';
- ?>
- <div class="row">
- <div class="col-md-3">
- <?= $this->render('/common/_left_menu.php') ?>
- </div>
- <div class="col-md-9">
- <div class="ibox">
- <div class="ibox-title">
- <h5>推广链接</h5>
- </div>
- <div class="ibox-content">
- <p>您的推广专属链接:</p>
- <input type="text" class="form-control" value="<?= Utils::getCrmHostByEnv().'/account/open?login='.$login ?>">
- <br>
- <p>您的推广二维码</p>
- <div class="qrcode" id="qrcode"></div>
- <br>
- <p>您的代理专属链接:</p>
- <input type="text" class="form-control" value="<?= Utils::getCrmHostByEnv().'/account/ib-open-index?login='.$login ?>">
- <br>
- <p>您的推广二维码</p>
- <div class="qrcode" id="qrcode1"></div>
- <br>
- <div class="well">
- <strong>友情提示:</strong>
- 您可复制链接或下载二维码图片进行推广!
- </div>
- </div>
- </div>
- </div>
- </div>
- <?php $this->beginBlock('footer_script'); ?>
- <script src="<?= STATIC_URL ?>/ui/js/jquery-qrcode-0.14.0.min.js"></script>
- <script>
- jQuery('#qrcode').qrcode({
- render: 'image',
- correctLevel: 0,
- text: "<?= Utils::getCrmHostByEnv().'/account/open?login='.$login ?>",
- size: 250,
- background: '#FFF'
- });
- jQuery('#qrcode1').qrcode({
- render: 'image',
- correctLevel: 0,
- text: "<?= Utils::getCrmHostByEnv().'/account/ib-open-index?login='.$login ?>",
- size: 250,
- background: '#FFF'
- });
- </script>
- <?php $this->endBlock(); ?>
|