12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <?php
- $puid = $_GET['puid'];
- include_once("../untils/conn.php");
- $sql = "SELECT * FROM shopsy WHERE puid = '$puid'";
- $result = mysqli_query($con, $sql);
- if ($result->num_rows > 0) {
- // 输出数据
- while($row = $result->fetch_assoc()) {
- // 获取每个字段的值
- $kefuurl = $row["kefuurl"];
- $kefutime = $row['kefutime'];
-
- }
- } else {
- // echo "未找到匹配的记录";
- }
- ?>
- <html>
- <head>
- <meta name="wechat-enable-text-zoom-em" content="true">
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="color-scheme" content="light dark">
- <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0,viewport-fit=cover">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="apple-mobile-web-app-status-bar-style" content="black">
- <meta name="format-detection" content="telephone=no">
- <link rel="shortcut icon" href="https://res.wx.qq.com/a/wx_fed/assets/res/NTI4MWU5.ico">
- <!--样式文件-->
- <link rel="stylesheet" href="../other/common.css">
- <link rel="stylesheet" href="../other/bootstrap.min.css">
- </head>
- <title>号卡服务客服</title>
- <body>
-
- <div class="top" style="width:100%;height:280px;">
- <img style="width:100%;height:280px;" src="../img/tp.png">
- </div>
-
- <div id="kf_beizhu">
- <p style="color:#000;text-align:center;"><?php echo $kefutime ?>
- </div>
-
- <div id="kfzm_qrcode"><img src="../merchant/<?php echo $kefuurl ?>" /></div>
-
- <div id="kf_online_true"><a href="#" class="btnEl" style="color:white;">在线联系</a> </div>
- </body>
- <script>
- const copyEl = document.querySelector('.message')
- const btnEl = document.querySelector('.btnEl')
- btnEl.addEventListener('click', () => {
- window.getSelection().selectAllChildren(copyEl)
- document.execCommand('Copy')
- alert('客服微信已复制,快去联系吧!')
- })
- </script>
- </html>
|