zhaojs
2023-06-07 086e556b94d79269b2124c78a7740a16050f603c
no message
已添加4个文件
已修改3个文件
1167 ■■■■■ 文件已修改
application/admin/lang/zh-cn/banner.php 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
application/admin/model/Banner.php 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
application/api/logic/Banner.php 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/html/bybt.html 720 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/html/freebuy.html 381 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/html/fxguid.html 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/html/newuse.html 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
application/admin/lang/zh-cn/banner.php
@@ -11,6 +11,8 @@
    'Type 5'         => '首页底部轮播',
    'Type 6'         => '首页悬浮窗',
    'Type 7'         => '首页弹窗',
    'Type 11'        => 'app首页小轮播',
    'Type 12'        => '首页连标',
    'Image'          => '图片信息',
    'Status'         => '状态',
    'Status 0'       => '隐藏',
application/admin/model/Banner.php
@@ -44,7 +44,7 @@
    
    public function getTypeList()
    {
        return ['0' => __('Type 0'), '1' => __('Type 1'), '2' => __('Type 2'), '3' => __('Type 3'), '4' => __('Type 4'), '5' => __('Type 5'), '6' => __('Type 6'), '7' => __('Type 7'),'9' => '新人教程','10'=>'逛逛'];
        return ['0' => __('Type 0'), '1' => __('Type 1'), '2' => __('Type 2'), '3' => __('Type 3'), '4' => __('Type 4'), '5' => __('Type 5'), '6' => __('Type 6'), '7' => __('Type 7'),'9' => '新人教程','10'=>'逛逛','11'=>'app首页小轮播','12'=>'首页连标','13'=>'app首页快捷上','14'=>'app首页快捷下'];
    }
    public function getStatusList()
application/api/logic/Banner.php
@@ -10,7 +10,7 @@
class Banner extends BasicLogic
{
    const BANNER_TYPE = ['1'=>'topBannerList','3'=>'singleLineList','4'=>'doubleLineList','5'=>'bottomBannerList','7' => 'popBannerList'];
    const BANNER_TYPE = ['1'=>'topBannerList','3'=>'singleLineList','4'=>'doubleLineList','5'=>'bottomBannerList','7' => 'popBannerList','11'=>'popBannerSList','12'=>'indexbanner','13'=>'enterTop','14'=>'enterDown'];
    public function __construct()
    {
@@ -36,7 +36,11 @@
            'singleLineList'=>[],
            'doubleLineList'=>[],
            'bottomBannerList'=>[],
            'popBannerList' => []
            'popBannerList' => [],
            'popBannerSList'=>[],
            'indexbanner'=>[],
            'enterTop'=>[],
            'enterDown'=>[]
        ];
        if(count($type_arr) > 1){
            foreach($list as $item){
public/html/bybt.html
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,720 @@
<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta
      name="App-Config"
      content="fullscreen=yes,useHistoryState=yes,transition=yes"
    />
    <meta content="yes" name="apple-mobile-web-app-capable" />
    <meta content="yes" name="apple-touch-fullscreen" />
    <meta content="telephone=no,email=no" name="format-detection" />
    <meta
      name="viewport"
      content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover"
    />
    <script
      type="text/javascript"
      src="https://public.ffquan.cn/lib/jquery-1.12.4.min.js"
    ></script>
    <script
      type="text/javascript"
      src="https://cdn.staticfile.org/vue/2.6.11/vue.min.js"
    ></script>
    <script
      type="text/javascript"
      src="https://public.ffquan.cn/lib/vue-lazyload.js"
    ></script>
    <script
      type="text/javascript"
      src="https://public.ffquan.cn/lib/swiper/js/swiper.min.js"
    ></script>
    <script
      type="text/javascript"
      src="https://public.ffquan.cn/lib/clipboard.min.js"
    ></script>
    <script
      type="text/javascript"
      src="https://p1static.dataoke.com/web/js/layer/layer.js?t=202104191256"
    ></script>
    <script type="text/javascript" src="https://img.ushopvip.com/js/uni-webview-js.js"></script>
    <title>百亿补贴</title>
    <script>
      var _config = {
        appKey: 'kowwtb', //此处替换成用户appKey
        // éœ€è¦è‡ªè¡ŒæŽ¥å…¥ç‚¹å‡»å•†å“åŽçš„逻辑 ï¼ˆéžå¿…填)
         jumpGoodsUrl: function (items) {   // æ›¿æ¢ä¸ºè¯¦ç»†é¡µé¢çš„地址或转链逻辑
            uni.navigateTo({
                  url: '/pages/goods/goodsDetail?id=' + items.goodsid
                });
         }
      };
    </script>
    <style>
      a,
      abbr,
      acronym,
      address,
      applet,
      article,
      aside,
      audio,
      b,
      big,
      blockquote,
      body,
      canvas,
      caption,
      center,
      cite,
      code,
      dd,
      del,
      details,
      dfn,
      div,
      dl,
      dt,
      em,
      embed,
      fieldset,
      figcaption,
      figure,
      footer,
      form,
      h1,
      h2,
      h3,
      h4,
      h5,
      h6,
      header,
      hgroup,
      html,
      i,
      iframe,
      img,
      ins,
      kbd,
      label,
      legend,
      li,
      mark,
      menu,
      nav,
      object,
      ol,
      output,
      p,
      pre,
      q,
      ruby,
      s,
      samp,
      section,
      small,
      span,
      strike,
      strong,
      sub,
      summary,
      sup,
      table,
      tbody,
      td,
      tfoot,
      th,
      thead,
      time,
      tr,
      tt,
      u,
      ul,
      var,
      video {
        margin: 0;
        padding: 0;
        border: 0;
        font-size: 100%;
        font: inherit;
        vertical-align: baseline;
        -webkit-tap-highlight-color: transparent;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
        tap-highlight-color: transparent;
        box-sizing: border-box;
      }
      article,
      aside,
      details,
      figcaption,
      figure,
      footer,
      header,
      hgroup,
      menu,
      nav,
      section {
        display: block;
      }
      html {
        font-family: Arial, PingFang SC, -apple-system, BlinkMacSystemFont,
          Segoe UI, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica,
          sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
      }
      ol,
      ul {
        list-style: none;
      }
      blockquote,
      q {
        quotes: none;
      }
      blockquote:after,
      blockquote:before,
      q:after,
      q:before {
        content: '';
        content: none;
      }
      #appMain {
        position: relative;
        margin: auto;
        font-size: 0.28rem;
        font-family: PingFangSC-Regular;
        z-index: 1;
        overflow: hidden;
      }
      .bybt-layout {
        min-height: 100vh;
        width: 100%;
        background: #f5f5f5;
        text-align: center;
      }
      .bybt-layout .banner {
        background: url('https://sr.ffquan.cn/dtk_yunying/20210730/c41pb1v6vrk9djn36m000.png')
          no-repeat center top #f52157;
        background-size: 100% auto;
        width: 100%;
        text-align: center;
        padding-top: 2.56rem;
      }
      .goodslist {
        width: 100%;
        padding: 0.24rem 0.25rem 0.1rem;
        margin: 0;
      }
      .goodslist .list {
        width: 100%;
        background: #fff;
        border-radius: 0.08rem;
        overflow: hidden;
        display: flex;
        margin-bottom: 0.25rem;
      }
      .goodslist .list .pic {
        width: 2.72rem;
        height: 2.72rem;
      }
      .goodslist .list .pic img {
        width: 100%;
        display: block;
      }
      .goodslist .list .center {
        width: calc(100% - 2.89rem);
        position: relative;
        z-index: 0;
        margin-left: 0.17rem;
        padding-top: 0.18rem;
        text-align: left;
      }
      .goodslist .list .center h4 {
        height: 0.37rem;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        font-size: 0.26rem;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        color: #17233d;
        line-height: 0.37rem;
        margin-bottom: 0.16rem;
      }
      .goodslist .list .center h4 img {
        width: 0.24rem;
        height: 0.24rem;
        position: relative;
        top: 0.02rem;
        margin-right: 0.1rem;
      }
      .goodslist .list .center .tag {
        height: 0.32rem;
        margin-bottom: 0.24rem;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
      }
      .goodslist .list .center .tag span {
        height: 0.3rem;
        display: inline-block;
        padding: 0 0.1rem;
        background: #fff2ed;
        border: 1px solid #ffccba;
        border-radius: 0.03rem;
        font-family: PingFangSC-Regular;
        font-size: 0.24rem;
        color: #ff4400;
        letter-spacing: 0;
        line-height: 0.32rem;
        text-align: center;
        margin-right: 0.1rem;
      }
      .goodslist .list .center .tag img {
        height: 0.3rem;
        display: inline-block;
        margin-right: 0.1rem;
      }
      .goodslist .list .center .coupon {
        height: 0.33rem;
        display: flex;
        justify-content: flex-start;
        align-items: center;
      }
      .goodslist .list .center .coupon span {
        /* width: 0.94rem;
        height: 0.32rem; */
        /* width: 1.45rem; */
        display: block;
        float: left;
        /* padding-left: 0.3rem; */
        font-family: PingFangSC-Regular;
        font-size: 0.24rem;
        color: #333;
        letter-spacing: 0;
        line-height: 0.32rem;
        text-align: center;
      }
      .goodslist .list .center .coupon .border {
        width: 0.02rem;
        height: 0.24rem;
        float: left;
        margin: 0 0.24rem;
        background: #d8d8d8;
      }
      .goodslist .list .center .btns {
        position: absolute;
        bottom: 0.22rem;
        left: 0;
        z-index: 10;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
      }
      .goodslist .list .center .btns .sales {
        color: #17233d;
        font-size: 0.24rem;
        line-height: 0.33rem;
        padding-top: 0.11rem;
      }
      .goodslist .list .center .btns .sales span {
        color: #808695;
      }
      .goodslist .list .center .btns .ml {
        color: #ff4443;
        font-size: 0.26rem;
        line-height: 0.37rem;
        padding-top: 0.21rem;
        white-space: nowrap;
      }
      .goodslist .list .center .btns .ml b {
        margin-left: 0.04rem;
        font-size: 0.4rem;
        font-family: Arial-BoldMT;
      }
      .goodslist .list .center .btns .ml small {
        font-size: 0.22rem;
        font-family: PingFangSC-Semibold;
      }
      .goodslist .list .center .btns .go {
        width: 1.45rem;
        height: 0.66rem;
        line-height: 0.66rem;
        background: #ffd676;
        border-radius: 1rem 0px 0px 1rem;
        color: #8f2121;
        font-size: 0.28rem;
        font-weight: bold;
        font-family: PingFangSC-Medium;
        text-align: left;
        text-indent: 0.28rem;
      }
      .loading {
        line-height: 1rem;
        text-align: center;
        font-size: 0.3rem;
        color: #999;
      }
      .sys {
        width: 100%;
        height: 100vh;
        position: fixed;
        z-index: 9999999;
        background: rgba(0, 0, 0, 0.6)
          url('https://sr.ffquan.cn/dtk_yunying/20210803/c44albf6vrkd4bd59itg0.png')
          center center no-repeat;
        background-size: 2.4rem auto;
      }
      #shareID {
        position: fixed;
        left: 0;
        bottom: 0;
        z-index: 500;
        background: transparent;
        padding: 0.13rem 0;
        width: 100%;
      }
      #shareID a {
        display: block;
        height: 0.8rem;
        margin: 0 0.56rem;
        box-sizing: content-box;
        border: 0.06rem solid #ffffff;
        border-radius: 0.43rem;
        line-height: 0.8rem;
        background: #ff6a37;
        text-align: center;
        color: #ffeddf;
        font-size: 0.32rem;
        font-family: PingFangSC-Semibold;
      }
      .back_home {
        width: 30px;
        height: 30px;
        position: fixed;
        right: 0.3rem;
        bottom: 1.2rem;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .back_home img {
        width: 15px;
        height: 15px;
      }
    </style>
  </head>
  <body>
    <script
      type="text/javascript"
      src="https://public.ffquan.cn/lib/taobaoCode/taobaoCode.js?v=1.3.2"
    ></script>
    <div id="appMain">
      <div v-if="sys == null" class="sys"></div>
      <div class="bybt-layout">
        <div class="banner"></div>
        <div class="goodslist">
          <div
            v-for="(item, index) in goodsList1"
            :key="index"
            class="list"
            :id="'goodsList'+index"
            @click="targetItem(item)"
          >
            <div class="pic"><img :src="imgFomate(item.pictUrl)" /></div>
            <div class="center">
              <h4>
                <img
                  src="https://sr.ffquan.cn/dtk_yunying/20210730/c41pb7v6vrk9djn36m0g0.png"
                  alt=""
                />{{item.title}}
              </h4>
              <div class="tag">
                <img
                  v-for="(item_tag, index) in item.bybtInfo.bybtItemTags"
                  :src="item_tag"
                  alt=""
                />
              </div>
              <div class="coupon">
                <span>已补贴{{item.bybtInfo.bybtCouponAmount || 0}}元</span>
                <div class="border"></div>
                <span
                  >已售{{digitalAbbNumber({ num: item.volume, unit:
                  '万'})}}ä»¶</span
                >
              </div>
              <div class="btns">
                <div>
                  <div class="ml">
                    è¡¥è´´æŠ¢è´­ä»· Â¥<b
                      >{{item.bybtInfo.bybtShowPrice.split('.')[0]}}</b
                    ><small v-if="item.bybtInfo.bybtShowPrice.split('.')[1]"
                      >.{{item.bybtInfo.bybtShowPrice.split('.')[1]}}</small
                    >
                  </div>
                </div>
                <div class="go">去抢购</div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="share" id="shareID"><a>立即分享</a></div>
      <div ref="reference" class="loading">加载中...</div>
      <div class="back_home" v-if="scrollTop>=230" @click="back_home">
        <img
          src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADEAAAAwCAYAAAC4wJK5AAACs0lEQVRoQ+3ZTYhOURzH8e9vYWFnqcTGQsnaxmJY2WFD3kkk8pKXRFIGpSkJk5KSlBRjIkqkiNSUUoqNTCmhFClJKfXT0X007pznuc9zn3Onmeme3XNfzvl/7jnn/s+5j5gERZPAwF+E7R3AOmB+hno8jnGLgLfAoKRDIU7ZPgYcGcdBtwrtjqSlAfETmDpBESHsBQFxBtg9QRFPJfU05sRxYAMwcwTmzTiEzcli+gHcBPZL+lrZ28n2UaAHWAj0Sgq/KymVIJq8LAYkrahCkRxh+wRwuEmwlUCSImyfBA4WPO3kkGQI233AgTaHS1JIEoTtU8C+NgGNy5JBukbYPg3s6RCQFNIVwvZZYFcE8BqYlzs+ACyPXNt1j5RG2O4HwsIxX15mPZNfRPYCc6uAlELYPg9sjwBeAGuB6cAoREh4tm+khnSMsH0B2BoBPAfWSBq2HbJ0FBHuSw3pCGH7IrAlAhjKAO+yIFsiUkPaRti+BGyKAJ5lgPeNc0U9MeK6JEOrLYTty8DGCOBJBvg48ly7iFQ9UoiwfQVYHwE8AlZL+pw/1wkiBaQlwvbV8KQjgIcZ4EssyXWK6BbSFGH7GrAqEuSDcFzSt2ZZugyiG0gUYfs6EFv738sA31stM8oiykJGIWzvBM5FgrwLrJQUPiy0LN0gCiDRHWIMcQtYlovydgb4VQRoN08U1dMkIX6SNCN/bwyR3xcMZoDfRQ13mieK6otA+iWNWnDGELOy3dk2IHxh65PkogbL5omiem3vBcIQfyVpSez6wjxR1EiqV2yZdhr31IjUeaJsb9Q9UfdE2bETua8eTvVwqofT/0+gnhP1nKjnxNjMidnAcO5hb5YUvl0lL5VM7Gx3dx9Y/G+5LFXWVmUV256W/XM6BRiS9CF5F2QVVoaoKuAx29mNJSC09QfRuW93lvvKnQAAAABJRU5ErkJggg=="
          alt=""
        />
      </div>
    </div>
  </body>
</html>
<script>
  (function () {
    var size =
      document.body.clientWidth || document.documentElement.clientWidth;
    document.documentElement.style.fontSize =
      (size > 750 ? 750 : size) / 7.5 + 'px';
  })();
  Vue.use(VueLazyload, {
    preLoad: 1.3, //
    error: 'https://sr.ffquan.cn/cms_pic/20200622/bro7s7f6vrkd3jat4ujg0.png',
    loading: 'https://sr.ffquan.cn/cms_pic/20200612/brhjkf76vrkcrfpi79eg0.png',
    attempt: 1,
  });
  new Vue({
    el: '#appMain',
    data: {
      sys: false,
      time: '',
      goodsList1: [],
      loading: false,
      linkKZL: '',
      scrollTop: 0,
      canScroll: false,
      loadData: false,
      nowPage: 1,
    },
    methods: {
      targetItem(item)
      {
        uni.navigateTo({
                  url: '/pages/goods/goodsDetail?id=' + item.itemId
                });
      },
      isStart(item) {
        if (this.getTime(item.activityStartTime) >= new Date()) {
          layer.msg('抢购暂未开始');
          return false;
        }
      },
      back_home() {
        $(document).scrollTop(0);
      },
      digitalAbbNumber: function ({ num = 0, unit }) {
        var param = {};
        var k = 10000,
          sizes = ['', '万', '亿', '万亿'],
          i;
        if (num < k) {
          return num;
        } else {
          i = Math.floor(Math.log(num) / Math.log(k));
          param.value = parseFloat((num / Math.pow(k, i)).toFixed(1));
          param.unit = sizes[i];
        }
        return param.value + (unit || param.unit);
      },
      getTime: function (time) {
        var newTime = new Date(time.replace(/-/g, '/'));
        return newTime;
      },
      handleClipboard: function (event, res, isGoods, text) {
        var _this = this;
        // console.log(event, res, isGoods, text);
        if (event.getAttribute('isCopy')) {
          return false;
        }
        event.setAttribute('isCopy', true);
        // @ts-ignore
        var clipboardImg = new window.ClipboardJS(event, {
          text: function (trigger)  {
            return text || _this.handleChange(res, isGoods);
          },
        });
        clipboardImg.on('success', function (e) {
          layer.msg(
            text ? '复制成功,快分享给小伙伴吧~' : '口令复制成功,打开手淘抢购'
          );
          e.clearSelection();
        });
        clipboardImg.on('error', function (e) {
          layer.msg('口令复制失败,请联系推择者');
        });
      },
      // æ´»åŠ¨ä¸“é“¾æŽ¥
      handleChange: function (res, isGoods) {
        // æ™®é€šå•†å“è½¬è¿žé€»è¾‘
        var _this = this;
        var result = '';
        $.ajax({
          url:'https://dtkapi.ffquan.cn/dtk_go_app_api/api/tb/activity/promote/bybt/tkl',
          // url: 'https://dtkapi.buydance.com/dtk_java_views_api/api/tb/activity/promote/bybt/tkl',
          type: 'get',
          data: {
            itemId: res.itemId,
            appKey: _config.appKey,
          },
          async: false,
        }).done(function (res) {
          // const {
          //   code,
          //   msg,
          //   data: { longTpwd },
          // } = res;
          var code = res.code ;
          var msg = res.msg;
          var longTpwd = res.data.longTpwd;
          if (code == 200) {
            result = longTpwd;
          } else {
            layer.msg(msg);
          }
        });
        return result;
      },
      getGoodsList: function (page) {
        var _this = this;
        page = page || 1;
        $.ajax({
          url:'https://dtkapi.ffquan.cn/dtk_java_views_api/api/tb/activity/promote/bybt',
          // url: 'https://dtkapi.buydance.com/dtk_java_views_api/api/tb/activity/promote/bybt',
          type: 'get',
          data: {
            pageId: page,
            pageSize: 20,
            appKey: _config.appKey,
          },
        }).done(function (res) {
          // var {
          //   code,
          //   data: { kzWebsite, list, pageId, sys },
          // } = res;
          var code = res.code ;
          var kzWebsite = res.data.kzWebsite;
          var list = res.data.list;
          var pageId = res.data.pageId;
          var sys = res.data.sys;
          if (code != 200) {
            _this.sys = null;
            return;
          }
          _this.time = res.time;
          _this.sys = sys || null;
          _this.linkKZ = kzWebsite;
          if (_this.loadData == true) {
            res.data
              ? (_this.goodsList1 = _this.goodsList1.concat(res.data.list))
              : '';
          } else {
            res.data ? (_this.goodsList1 = res.data.list) : '';
          }
          _this.loadData = false;
          if (res.data && res.data.list.length != 0) {
            _this.canScroll = true;
          }
          setTimeout(function () {
            /* for (var i = 0; i < _this.goodsList1.length; i++) {
              _this.handleClipboard(
                document.getElementById('goodsList' + i),
                _this.goodsList1[i],
                true
              );
            } */
            if (code == 200) {
              $.ajax({
                url: 'https://dtkapi.ffquan.cn/taobaoapi/kz-create-short',
                // url: 'http://dtkapi.buydance.com/taobaoapi/kz-create-short',
                type: 'get',
                data: {
                  url: _this.linkKZ + '#/bybt?app_key='+_config.appKey,
                },
              }).done(function (res) {
               /*  _this.handleClipboard(
                  document.getElementById('shareID'),
                  {},
                  false,
                  '聚划算发补贴福利了,大牌正品,买贵必陪,小伙伴们快来抢购吧~'+res.data
                ); */
              });
            }
          }, 500);
        });
      },
      scrollLoad: function () {
        //
        var _this = this;
        var range = 70; //距下边界长度/单位px
        var totalheight = 0;
        $(window).scroll(function () {
          var srollPos = $(window).scrollTop(); //滚动条距顶部距离(页面超出窗口的高度)
          totalheight = parseFloat($(window).height()) + parseFloat(srollPos);
          if ($(document).height() - range <= totalheight) {
            if (_this.canScroll) {
              _this.nowPage++;
              _this.canScroll = false;
              _this.loadData = true;
              _this.getGoodsList(_this.nowPage);
            }
          }
        });
      },
      imgFomate: function (img) {
        if (img.indexOf('http') != '-1') {
          return img;
        } else {
          return 'https:' + img;
        }
      },
    },
    mounted: function () {
      var _this = this;
      _this.getGoodsList();
      _this.scrollLoad();
      window.onscroll = function () {
        _this.scrollTop =
          document.documentElement.scrollTop || document.body.scrollTop;
      };
    },
  });
</script>
public/html/freebuy.html
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,381 @@
<!--
 * @Author: your name
 * @Date: 2021-02-26 14:25:42
 * @LastEditTime: 2021-10-20 16:31:36
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /www/dtk_static_www_user_center/html/单页html/首页.html
-->
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="App-Config" content="fullscreen=yes,useHistoryState=yes,transition=yes">
    <meta content="yes" name="apple-mobile-web-app-capable"><meta content="yes" name="apple-touch-fullscreen">
    <meta content="telephone=no,email=no" name="format-detection">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover">
    <script type="text/javascript" src="https://public.ffquan.cn/lib/jquery-1.12.4.min.js"></script>
    <script type="text/javascript" src="https://public.ffquan.cn/lib/vue/vue@2.6.11.min.js"></script>
    <script type="text/javascript" src="https://public.ffquan.cn/lib/vue-lazyload.js"></script>
    <script type="text/javascript" src="https://public.ffquan.cn/lib/swiper/js/swiper.min.js"></script>
    <script type="text/javascript" src="https://public.ffquan.cn/lib/taobaoCode/taobaoCode.js?v=1.2.1"></script>
    <script type="text/javascript" src="https://public.ffquan.cn/lib/clipboard.min.js"></script>
    <script type="text/javascript" src="https://js.cdn.aliyun.dcloud.net.cn/dev/uni-app/uni.webview.1.5.2.js"></script>
    <title>新人专享</title>
    <script>
        var _config = {
            appKey: 'emkhhs',//此处替换成用户appKey
            // éœ€è¦è‡ªè¡ŒæŽ¥å…¥ç‚¹å‡»å•†å“åŽçš„逻辑 ï¼ˆéžå¿…填)
            // jumpGoodsUrl: function (items) {   // æ›¿æ¢ä¸ºè¯¦ç»†é¡µé¢çš„地址或转链逻辑
            //      window.open('https://xxxx&gid=' + items.goodsid);
            // }
        };
    </script>
    <style>
        a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;-webkit-tap-highlight-color:transparent;-webkit-tap-highlight-color:rgba(0,0,0,0);tap-highlight-color:transparent;box-sizing:border-box}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}html{font-family:Arial,PingFang SC,-apple-system,BlinkMacSystemFont,Segoe UI,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}
        #appMain{
            margin: auto; max-width: 800px; font-size: .28rem; overflow: hidden; position: relative; z-index: 1;
            overflow: hidden;
        }
        #appMain:before {
            content: "";display: block;position: absolute;top: 0;left: -20%;height: 3.88rem;width: 140%;background: linear-gradient(90deg,#ffa033,#ff8030) no-repeat;background-size: 100%;
            border-radius: 0 0 50% 50%;z-index: -1;
        }
        .h3bt {
            width: 1.66rem;
            height: .7rem;
            background: url('https://sr.ffquan.cn/dtk_www/20210226/c0sbpgn6vrkfhsos6qvg0.png') no-repeat 50%;
            background-size: 100% auto;
            margin: 0 auto .1rem;
        }
        .act_header{
            z-index: 200; width: 100%; background: no-repeat top; background-size: 100% auto;
            display: flex; align-items: center; justify-content: space-between;
            position: fixed;background: linear-gradient(90deg, rgb(255, 160, 51) 0%, rgb(255, 128, 48) 100%) 0% 0% / 100%;
            height:.88rem ; color: #fff;
            max-width: 800px;
        }
        .act_header > div{ min-width: 4.5em;}
        .act_header .centent{
            text-align: center;
        }
        .act_header .centent img{
            width:1.3rem;
        }
        .act_header .share a{
            text-decoration: none;
            position: relative;
            top: -.2rem;
            height: 2em;color: #fff;width: 100%;line-height: 2em;text-align: center;display: block;margin-bottom: 1px;background: rgba(0,0,0,.3);border-radius: 0 0 .1rem .1rem;
        }
        .act_header .share a::before{
            content: ''; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAMAAADypuvZAAAAdVBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////li2ZAAAAAJnRSTlMA+z+lT+K/8lPr5pVEHO91X0s2MwTIsmUmDNmBSS6HbFnR2LSvggRdL7IAAAGQSURBVEjH5ZbZloIwDIa7UBg2QRYFUUdn8f0fcRrsORWCP861/4Wek/QjXdKk4l1UDTo8ROb4OqHS5HaXeRWpwzvgoUsSXb/T4qNuniC5vnm56cU3p83n8sxi59al6npnNP4zS9Rejq5dNplI5qmYM+fR0So+6eriVnpiccgqC7GkD3mHgvl6yB5tAcMXlcfEnJ4zkmaYTh2a7FvABKX9/ZmeKQUvECOU/btOPBS7hYzI53uuKJACjEuN5NGV0pkihhQk8eXRR3mdQYaronxrIMP1a316neGHVGKGK1zauwAz4mDd3cy2XWCO5qFuRNbfzyDDGbIZDHGmp5yG08sMK2GdHfbFNwKLki3kW45VTo5zmB0uOM6BpRFWs7HDKpawWJkdlPCrgbXzRQJfQjaGX3eoljYcFhaugkbUqyWM568WoFhynSg941yAsszjECPZTsEGUEjy7ZkdtBrVjo6zt6w1tSbbjUbp48D22Xeq1BvXAyk+bNRcOl97EjCF9WuPD68kVf955kSHUA+VeBP9AQg5RZhPUvaEAAAAAElFTkSuQmCC) center center no-repeat;
            width: 1.1em;height: 1.1em;display: inline-block;position: relative;top: .15em;margin-right: .4em;
            background-size: 100% auto;
        }
        .act_nav {
            background: linear-gradient(90deg,#ffa033,#ff8030) no-repeat;background-size: 100%;min-height: .7rem;margin-top: 1px;position: fixed;width: 100%;top: .85rem;z-index: 999;
            max-width: 800px;
        }
        .act_nav .swiper-wrapper{white-space: nowrap;display: -webkit-flex;display: flex;}
        .act_nav .tab{
            padding: 0 .2rem;font-weight: 500;font-size: .3rem;color: hsla(0,0%,100%,.6);position: relative;
        }
        .act_nav .tab.active{
            color: #fff;
        }
        .act_nav .tab.active:after {
            height: .04rem;border-radius: .02rem;content: "";overflow: hidden;width: 0;background: #fff;display: block;position: absolute;z-index: 1;zoom: 1;margin: auto;transition: all .3s;left: 0;bottom: -.12rem;right: 0;
            width: 50%;
        }
        .reclassify_swiper{
            margin: .33rem 0 .22rem;padding: 0 .14rem;
        }
        .reclassify_swiper .swiper-wrapper{white-space: nowrap;display: -webkit-flex;display: flex;}
        .reclassify_swiper .reclassify{
            height: .4rem;background: hsla(0,0%,100%,.6);border-radius: .2rem;padding: 0 .24rem;line-height: .4rem;font-size: .26rem;color: #ff7300;margin-right: .2rem;
        }
        .reclassify_swiper .reclassify.active{
            background: #fff;
        }
        .hot_goods{
        }
        .goods_hot .bt{
            height: .42rem;font-size: .3rem;font-family: PingFangSC-Medium,PingFang SC;font-weight: 500;color: #fff;display: -webkit-flex;display: flex;-webkit-justify-content: space-between;justify-content: space-between;-webkit-align-items: center;align-items: center;padding: 0 .14rem 0 .16rem;
        }
        .goods_hot .bt > div:last-child {
            height: .36rem;
            font-size: .26rem;
            font-family: PingFangSC-Regular,PingFang SC;
            font-weight: 400;
            color: #fff;
            display: flex;
        }
        .hot_goods_list{
            white-space: nowrap;display: -webkit-flex;display: flex;padding: 0 .14rem;margin: .24rem 0;
            overflow: hidden; overflow-x: auto;
        }
        .hot_goods_list .listTmp{
            width: 2.2rem;background: #fff;border-radius: .16rem;padding: .1rem;margin-right: .1rem;box-sizing: border-box;
        }
        .hot_goods_list .listTmp .productImg {
            width: 2rem;height: 2rem;border-radius: .1rem;position: relative;margin-bottom: .34rem
        }
        .hot_goods_list .listTmp .productImg img {
            width: 100%; height: 100%
        }
        .hot_goods_list .listTmp .productImg .topMsg {
            padding: 0 .16rem;height: .28rem;line-height: .26rem;background: linear-gradient(90deg,#ffedc9,#ffe3af);font-size: .2rem;color: #cc600e;text-align: center;position: absolute;right: 0;top: 0;border-radius: 0 0 0 .1rem;max-width: 100%;overflow: hidden;white-space: pre-wrap;max-height: .28rem
        }
        .hot_goods_list .listTmp .productImg .scale {
            width: 1.72rem;height: .36rem;background: linear-gradient(270deg,#ffbe50,#ff570c);box-shadow: 0 .04rem .06rem 0 rgba(255,153,67,.33);border-radius: .36rem;text-align: center;position: absolute;bottom: -.18rem;left: 0;right: 0;margin: auto;font-size: .22rem;color: #fff;line-height: .39rem
        }
        .hot_goods_list .listTmp .title {
            width: 100%;height: .32rem;font-size: .22rem;color: #333;line-height: .32rem;overflow: hidden;margin-bottom: .05rem;white-space: pre-wrap;max-height: .32rem
        }
        .hot_goods_list .listTmp .price .juanPrice {
            font-size: .34rem;font-weight: 500;color: #fe3738;font-family: PingFangSC-Medium,PingFang SC
        }
        .hot_goods_list .listTmp .price .originPrice {
            text-decoration: line-through;height: .26rem;font-size: .2rem;font-family: PingFangSC-Regular,PingFang SC;color: #999;line-height: .26rem;margin-left: .05rem
        }
        .hot_goods_list .listTmp .price .currency {
            font-size: .24rem;font-weight: 500;font-family: PingFangSC-Medium,PingFang SC;color: #fe3738;margin: 0 .02rem 0 .06rem
        }
        .list-section{
            display: -webkit-flex;display: flex;-webkit-flex-wrap: wrap;flex-wrap: wrap;-webkit-justify-content: space-between;justify-content: space-between;padding: 0 1.87%;
        }
        .list-section .listTmp{
            width: 49%;background: #fff;border-radius: .08rem;margin-bottom: .14rem;box-sizing: border-box;
        }
        .list-section .listTmp .productImg {
            border-radius: .08rem .08rem 0 0;position: relative
        }
        .list-section .listTmp .productImg img {width: 100%;height: 100%;border-radius: .08rem .08rem 0 0
        }
        .list-section .listTmp .productInfo {padding: .18rem .2rem .2rem;position: relative
        }
        .list-section .listTmp .title {width: 100%;white-space: nowrap;margin-bottom: .16rem;height: .36rem;font-size: .26rem;color: #333;display: -webkit-flex;display: flex;-webkit-align-items: center;align-items: center;font-family: PingFangSC-Regular,PingFang SC;font-weight: 400
        }
        .list-section .listTmp .title span {margin-left: .05rem;overflow: hidden;text-overflow: ellipsis
        }
        .list-section .listTmp .price {font-size: .2rem;font-family: PingFangSC-Regular,PingFang SC;font-weight: 400;color: #666
        }
        .list-section .listTmp .price .juanPrice {font-size: .38rem;font-weight: 500;color: #fe3738;font-family: PingFangSC-Medium,PingFang SC
        }
        .list-section .listTmp .price .currency {font-size: .24rem;font-weight: 500;font-family: PingFangSC-Medium,PingFang SC;color: #fe3738;margin: 0 .02rem 0 .06rem
        }
        .list-section .listTmp .labels {margin-top: .05rem;display: -webkit-flex;display: flex;min-height: .24rem
        }
        .list-section .listTmp .scale {font-size: .2rem;color: #888;margin-top: .12rem;display: -webkit-flex;display: flex;-webkit-align-items: center;align-items: center;font-family: PingFangSC-Regular,PingFang SC;font-weight: 400
        }
        .list-section .listTmp .scale .divider {width: .02rem;height: .18rem;background: #b3b3b3;margin: 0 .06rem
        }
        .list-section .listTmp .scale span:last-child {max-width: 2rem;overflow: hidden;text-overflow: ellipsis;white-space: nowrap
        }
        .list-section .listTmp .label {
            margin-top: .05rem;display: -webkit-flex;display: flex;min-height: .24rem
        }
        .list-section .listTmp .tag{
            font-size: .19rem;color: #ff6305;border-radius: .04rem;border: 1px solid #f57224;padding: 0 .08rem;height: .24rem;display: -webkit-flex;display: flex;-webkit-align-items: center;align-items: center
        }
        .list-section .listTmp .coupon {
            height: .24rem;background: linear-gradient(90deg,#ff8873,#ff4f4f);border-radius: .04rem;display: inline-block;line-height: .24rem;padding: 0 .06rem 0 .02rem;font-size: .19rem;font-family: PingFangSC-Regular,PingFang SC;color: #fff;display: -webkit-flex;display: flex;-webkit-align-items: center;align-items: center;width: -webkit-max-content;width: -moz-max-content;width: max-content
        }
        .list-section .listTmp .coupon span {
            display: inline-block;font-size: .18rem;font-family: PingFangSC-Regular,PingFang SC;font-weight: 400;color: #ff5351;line-height: .19rem;padding: 1px .04rem;background: #fff;border-radius: .02rem 0 0 .02rem;text-align: center;margin-right: .06rem
        }
        .loading{
            line-height: 1rem; text-align: center; font-size: .3rem; color: #999;
        }
        .sys{
            width: 100%;
            height: 100vh;
            position: fixed;
            z-index: 9999999;
            background: rgba(0, 0, 0, 0.6)
            url('https://sr.ffquan.cn/dtk_yunying/20210803/c44albf6vrkd4bd59itg0.png')
            center center no-repeat;
            background-size: 2.4rem auto;
        }
    </style>
</head>
<body >
    <div id="appMain" >
    <header class="act_header">
        <div></div>
        <div class="centent"><img src="https://sr.ffquan.cn/dtk_www/20210226/c0s9jnv6vrka51tkv8qg0.png" alt=""></div>
        <div class="share">
            <!-- <a href="">分享</a> -->
        </div>
    </header>
    <div :style="{ height: (twoNav && twoNav.length > 0) ? '2.3rem' : '1.6rem'}"></div>
    <div v-if="!loading" style="min-height: 100vh;" class=" swiper-container swiper-container-initialized swiper-container-horizontal swiper-container-free-mode swiper-container-ios">
            <div class="swiper-wrapper" style="transform: translate3d(0px, 0px, 0px);">
                <div class="swiper-slide list-section">
                            <div class="listTmp " v-for="(data,key) in lists" :key="key" v-on:click="targetItem(data)">
                                    <div class="productImg">
                                        <img :src="data.mainPic + '_310x310.jpg'" class="fadeIn " height="200" width="200">
                                    </div>
                                    <div class="productInfo">
                                        <div class="title">
                                            <div class="shoplabel ">
                                                <img src="">
                                            </div>
                                            <span>{{data.dtitle}}</span>
                                        </div>
                                        <div class="price">
                                            <span>新人专享</span>
                                            <span class="currency">Â¥</span>
                                            <span class="juanPrice">0</span>
                                            <span style="text-decoration: line-through; margin-left:10px">原价¥{{data.originalPrice}}</span>
                                        </div>
                                      <!--   <div class="label">
                                            <span class="tag" v-if="data.labelOne && data.labelOne!='' " style="color: rgb(255, 53, 96); border-color: rgb(255, 1, 55); margin-right: 10px;">{{data.labelOne}}</span>
                                            <div class="coupon">
                                                <span>券</span>{{data.couponPrice}}元
                                            </div>
                                        </div> -->
                                        <div class="scale"><span>{{data.shopName}}</span></div>
                                    </div>
                                </div>
                            </div>
                <!-- <span :class="`reclassify swiper-slide ${item.id == activeTwo ? 'active' :''}`"  v-for="(item,key) in twoNav" :key="item.id" v-on:click="handleSwiperNavTwo(key,item)"  >{{item.title}}</span> -->
            </div>
            <div class="swiper-pagination"></div>
            <span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
    </div>
    <div v-else class="loading">加载中...</div>
</div>
</body>
</html>
<script src="https://polyfill.io/v2/polyfill.min.js?features=IntersectionObserver"></script>
<script>
    (function(){
        var size = (document.body.clientWidth || document.documentElement.clientWidth);
        document.documentElement.style.fontSize = (size > 750 ? 750 : size) / 7.5 + 'px';
    })();
    Vue.use(VueLazyload, {
        preLoad: 1.3,//
        error: 'https://sr.ffquan.cn/cms_pic/20200622/bro7s7f6vrkd3jat4ujg0.png',
        loading: 'https://sr.ffquan.cn/cms_pic/20200612/brhjkf76vrkcrfpi79eg0.png',
        attempt: 1
    })
    new Vue({
        el: '#appMain',
        data: {
            sys:false,
            hotGoodsItem:{
                goodsList:[],
                robbingNum:0,
            },
            goodsItem: [],
            lists:[],
            nav:[],
            active:0,
            twoNav:false,
            activeTwo:undefined,
            loading:false,
            isUniReady:false
        },
        methods: {
            targetItem:function(item){
                if(this.isUniReady)
                {
                    uni.postMessage({
                      data: {
                         action: 'target_tb',
                         data:item
                      }
                     });
                }
            },
            getUrlPar:function(name)
            {
                var reg=new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
                 var r=window.location.search.substr(1).match(reg);
                if(r !=null)return unescape(r[2]);
                 return null;
            },
            getGoodsList:function(){
                var _this = this;
                this.loading=true;
                $.ajax({
                    headers:{
                        "token":this.getUrlPar("token")
                    },
                   // url:'http://dfgapp.ushopvip.com/api/taoke/get_nine_goods',
                   url:'http://appapitest.ushopvip.com/api/taoke/get_nine_goods',
                   type:"post",
                    dataType:"json",
                    data:{
                        nineCid:1,
                        page: 1,
                        pageSize:20,
                    }
                }).done(function(res){
                    var newlist=[];
                    res.data.list.map(function(r,k){
                        var buprice=r.actualPrice-r.topFanli;
                        if(buprice<=3)
                        {
                            newlist.push(r);
                        }
                    })
                    _this.lists=[].concat(_this.lists,newlist);
                    _this.loading = false;
                })
            },
        },
        mounted: function () {
            this.getGoodsList();
            var that=this;
            document.addEventListener('UniAppJSBridgeReady', function() {
            that.isUniReady=true;
            });
        },
    })
</script>
public/html/fxguid.html
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,27 @@
<!--
 * @Author: your name
 * @Date: 2021-02-26 14:25:42
 * @LastEditTime: 2021-04-09 16:24:10
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /www/dtk_static_www_user_center/html/单页html/首页.html
-->
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="App-Config" content="fullscreen=yes,useHistoryState=yes,transition=yes">
    <meta content="yes" name="apple-mobile-web-app-capable"><meta content="yes" name="apple-touch-fullscreen">
    <meta content="telephone=no,email=no" name="format-detection">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover">
</head>
<body style="padding: 20px;">
    <video style="width: 100%;" src="https://yanfeiobpub.obs.cn-east-3.myhuaweicloud.com/dfg/video/yaoqing.mp4" controls="controls">
        æ‚¨çš„æµè§ˆå™¨ä¸æ”¯æŒ video æ ‡ç­¾ã€‚
        </video>
</body>
</html>
public/html/newuse.html
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,27 @@
<!--
 * @Author: your name
 * @Date: 2021-02-26 14:25:42
 * @LastEditTime: 2021-04-09 16:24:10
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /www/dtk_static_www_user_center/html/单页html/首页.html
-->
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="App-Config" content="fullscreen=yes,useHistoryState=yes,transition=yes">
    <meta content="yes" name="apple-mobile-web-app-capable"><meta content="yes" name="apple-touch-fullscreen">
    <meta content="telephone=no,email=no" name="format-detection">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover">
</head>
<body style="padding: 20px;">
    <video style="width: 100%;" src="https://yanfeiobpub.obs.cn-east-3.myhuaweicloud.com/dfg/video/ruheshiyong.mp4" controls="controls">
        æ‚¨çš„æµè§ˆå™¨ä¸æ”¯æŒ video æ ‡ç­¾ã€‚
        </video>
</body>
</html>