瀏覽代碼

分析页修改二维码

fyw 3 年之前
父節點
當前提交
a53eb2e0f5

File diff suppressed because it is too large
+ 0 - 0
dist/css/about.1a709a7a.css


File diff suppressed because it is too large
+ 0 - 0
dist/css/about.5b4840af.css


二進制
dist/img/logo_img.c9362077.png


+ 1 - 1
dist/index.html

@@ -1 +1 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>sport-web</title><link href="/css/about.5b4840af.css" rel="prefetch"><link href="/css/guide.47ea104e.css" rel="prefetch"><link href="/js/about.919282cd.js" rel="prefetch"><link href="/js/guide.9a81100f.js" rel="prefetch"><link href="/css/app.a5f97891.css" rel="preload" as="style"><link href="/js/app.8fcd462a.js" rel="preload" as="script"><link href="/js/chunk-vendors.592a2fed.js" rel="preload" as="script"><link href="/css/app.a5f97891.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but sport-web doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.592a2fed.js"></script><script src="/js/app.8fcd462a.js"></script></body></html>
+<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>sport-web</title><link href="/css/about.1a709a7a.css" rel="prefetch"><link href="/css/guide.47ea104e.css" rel="prefetch"><link href="/js/about.4e4e359f.js" rel="prefetch"><link href="/js/guide.9a81100f.js" rel="prefetch"><link href="/css/app.a5f97891.css" rel="preload" as="style"><link href="/js/app.9176bc01.js" rel="preload" as="script"><link href="/js/chunk-vendors.592a2fed.js" rel="preload" as="script"><link href="/css/app.a5f97891.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but sport-web doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.592a2fed.js"></script><script src="/js/app.9176bc01.js"></script></body></html>

File diff suppressed because it is too large
+ 0 - 0
dist/js/about.4e4e359f.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/about.919282cd.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/app.9176bc01.js


二進制
src/assets/sport-share-link/logo_img.png


二進制
src/assets/sport-share-link/qr-image.png


+ 24 - 27
src/views/sport-share-link.vue

@@ -46,48 +46,42 @@
     <div class="share-tips">
       <div class="tips-left">
         <div class="tips-logo"></div>
-        <div class="tips-title">运动智能鞋</div>
-        <div class="sub-tips">这是一段产品sloagn</div>
+        <h3 class="tips-title">趣动</h3>
+        <p class="sub-tips">让运动变得有趣</p>
       </div>
       <div class="tips-qrcode-container">
         <div class="qrcode-item qrcode-item-1">
-          <div class="qrcode-img">
-
-          </div>
-          <div class="qrcode-title">安卓下载</div>
-        </div>
-        <div class="qrcode-item">
           <div class="qrcode-img"></div>
-          <div class="qrcode-title">IOS下载</div>
+          <div class="qrcode-title">扫一扫下载</div>
         </div>
       </div>
     </div>
   </div>
 </template>
 <script lang="ts">
-import { defineComponent, computed } from "vue";
-import { initShare } from "./share";
-import { getUrlParameter } from "@/utils/index";
+import { defineComponent, computed } from 'vue'
+import { initShare } from './share'
+import { getUrlParameter } from '@/utils/index'
 export default defineComponent({
   setup() {
     // 0 是步行 1是骑行 2是跑
-    const words = ["步行", "骑行", "跑步"];
-    const unit = [0.8214, 0.6142, 1.036];
+    const words = ['步行', '骑行', '跑步']
+    const unit = [0.8214, 0.6142, 1.036]
 
-    const randomNumber = computed(() => parseInt(`${Math.random() * 3}`));
+    const randomNumber = computed(() => parseInt(`${Math.random() * 3}`))
 
     const currentBg = computed(() => {
-      return "bg-" + randomNumber.value;
-    });
+      return 'bg-' + randomNumber.value
+    })
 
-    const hash = getUrlParameter(window.location.href, "h");
+    const hash = getUrlParameter(window.location.href, 'h')
     const { user, consume, duration, defeat, period, createdAt } = initShare(
       hash
-    );
+    )
 
     const kilometer = computed(() =>
       Math.floor(consume.value / 55 / unit[randomNumber.value])
-    );
+    )
     return {
       currentBg,
       user,
@@ -98,10 +92,10 @@ export default defineComponent({
       createdAt,
       words,
       randomNumber,
-      kilometer,
-    };
-  },
-});
+      kilometer
+    }
+  }
+})
 </script>
 <style lang="scss" scoped>
 .ignore-share-page {
@@ -231,8 +225,8 @@ export default defineComponent({
   .share-bottom-title {
     margin: 0 auto;
     // width: 80%;
-    width:254px;
-    img{
+    width: 254px;
+    img {
       max-width: 100%;
       max-height: 100%;
     }
@@ -276,12 +270,15 @@ export default defineComponent({
 
   .tips-left {
     margin-top: 19px;
+    text-align: center;
   }
   .tips-logo {
     width: 50px;
     height: 50px;
-    background: #ffc400;
+    background-image: url(~@/assets/sport-share-link/logo_img.png);
+    background-size: cover;
     border-radius: 5px;
+    margin: 0 auto;
   }
   .tips-title {
     font-size: 16px;

Some files were not shown because too many files changed in this diff