Sfoglia il codice sorgente

Merge branch 'develop' of Software/android-cloud-H5 into master

lihao 2 anni fa
parent
commit
1227369c49

BIN
assets/image/activity/invite-user/bj@2x.png


BIN
assets/image/activity/invite-user/box.png


BIN
assets/image/activity/invite-user/btn-1.png


BIN
assets/image/activity/invite-user/btn-2.png


BIN
assets/image/activity/invite-user/btn-3.png


BIN
assets/image/activity/invite-user/card-1.png


BIN
assets/image/activity/invite-user/card-2.png


BIN
assets/image/activity/invite-user/card-3.png


BIN
assets/image/activity/invite-user/card-4.png


BIN
assets/image/activity/invite-user/fission/20230511-153039.mp4


BIN
assets/image/activity/invite-user/fission/box-close.png


BIN
assets/image/activity/invite-user/fission/box-open.png


BIN
assets/image/activity/invite-user/fission/btn.png


+ 11 - 14
package-lock.json

@@ -22,10 +22,10 @@
         "jmuxer": "^2.0.4",
         "jsencrypt": "^3.2.1",
         "jweixin-module": "^1.6.0",
+        "nativeshare": "^2.1.5",
         "normalize.css": "^8.0.1",
         "numeral": "^2.0.6",
         "nuxt": "^2.15.8",
-        "screenfull": "^6.0.2",
         "v-mask": "^2.3.0",
         "vant": "^2.12.47",
         "vconsole": "^3.14.6",
@@ -12997,6 +12997,11 @@
         "node": ">=0.10.0"
       }
     },
+    "node_modules/nativeshare": {
+      "version": "2.1.5",
+      "resolved": "https://registry.npmmirror.com/nativeshare/-/nativeshare-2.1.5.tgz",
+      "integrity": "sha512-fuk7rjpWxAGXjbi8ROJDaf/+6N2WYGfAiZDT+f0pRnOsC3+ame+KvWguQmbNGj2826SgU3XJeNR3IAq1Td324A=="
+    },
     "node_modules/natural-compare": {
       "version": "1.4.0",
       "resolved": "https://registry.npmmirror.com/natural-compare/-/natural-compare-1.4.0.tgz",
@@ -17459,14 +17464,6 @@
         "node": ">= 10.13.0"
       }
     },
-    "node_modules/screenfull": {
-      "version": "6.0.2",
-      "resolved": "https://registry.npmmirror.com/screenfull/-/screenfull-6.0.2.tgz",
-      "integrity": "sha512-AQdy8s4WhNvUZ6P8F6PB21tSPIYKniic+Ogx0AacBMjKP1GUHN2E9URxQHtCusiwxudnCKkdy4GrHXPPJSkCCw==",
-      "engines": {
-        "node": "^14.13.1 || >=16.0.0"
-      }
-    },
     "node_modules/scule": {
       "version": "0.2.1",
       "resolved": "https://registry.npmmirror.com/scule/-/scule-0.2.1.tgz",
@@ -32377,6 +32374,11 @@
         }
       }
     },
+    "nativeshare": {
+      "version": "2.1.5",
+      "resolved": "https://registry.npmmirror.com/nativeshare/-/nativeshare-2.1.5.tgz",
+      "integrity": "sha512-fuk7rjpWxAGXjbi8ROJDaf/+6N2WYGfAiZDT+f0pRnOsC3+ame+KvWguQmbNGj2826SgU3XJeNR3IAq1Td324A=="
+    },
     "natural-compare": {
       "version": "1.4.0",
       "resolved": "https://registry.npmmirror.com/natural-compare/-/natural-compare-1.4.0.tgz",
@@ -36133,11 +36135,6 @@
         "ajv-keywords": "^3.5.2"
       }
     },
-    "screenfull": {
-      "version": "6.0.2",
-      "resolved": "https://registry.npmmirror.com/screenfull/-/screenfull-6.0.2.tgz",
-      "integrity": "sha512-AQdy8s4WhNvUZ6P8F6PB21tSPIYKniic+Ogx0AacBMjKP1GUHN2E9URxQHtCusiwxudnCKkdy4GrHXPPJSkCCw=="
-    },
     "scule": {
       "version": "0.2.1",
       "resolved": "https://registry.npmmirror.com/scule/-/scule-0.2.1.tgz",

+ 1 - 0
package.json

@@ -35,6 +35,7 @@
     "jmuxer": "^2.0.4",
     "jsencrypt": "^3.2.1",
     "jweixin-module": "^1.6.0",
+    "nativeshare": "^2.1.5",
     "normalize.css": "^8.0.1",
     "numeral": "^2.0.6",
     "nuxt": "^2.15.8",

+ 187 - 80
pages/activity/invite-user/fission.vue

@@ -1,19 +1,23 @@
 <template>
   <v-container class="invite-user" fluid :class="`bg-${type}`">
     <div class="rule" @click="show = true">规则</div>
-    <activity-invite-user-box class="box1">
-      <template #title>参与步骤</template>
-      <v-img class="cybz-content" :src="returnContent ? returnContent.img : null" />
-      <div class="cybz-content-text">
-        <div class="cybz-content-text-item">分享好友</div>
-        <div class="cybz-content-text-item">邀请好友下单</div>
-        <div class="cybz-content-text-item">
-          {{ returnContent ? returnContent.content : '' }}
+    <div class="box1">
+      <div class="fcnc">
+        <div v-for="(item, index) in level.levelAwardDetails" :key="item.goodsId">
+          <div v-if="index < 4" class="cybz-content-container">
+            <v-img class="cybz-content" :src="returnContent[index].img" />
+            <div class="cybz-content-text">{{returnContent[index].content}}</div>
+            <img v-if="item.status === 0" class="w76h24" src="~/assets/image/activity/invite-user/btn-3.png" alt="">
+            <img v-else-if="item.status === 1" class="w76h24" src="~/assets/image/activity/invite-user/btn-1.png" alt="" @click="receiveLevelAward(item.goodsId)">
+            <img v-else-if="item.status === 2" class="w76h24" src="~/assets/image/activity/invite-user/btn-2.png" alt="">
+          </div>
         </div>
       </div>
-      <v-btn class="share-button" rounded @click="share()">
-        <template v-if="!($userAgent.isSzx || $userAgent.isSzxBrowser)">赶紧分享你的好友,送云机时长</template>
-        <template v-else>分享好友赚云机时长</template>
+      <v-btn v-if="received" class="share-button" rounded @click="share()">
+        云机免费领取
+      </v-btn>
+      <v-btn v-else class="share-button" rounded @click="share()">
+        赶紧分享你的好友,送云机时长
       </v-btn>
       <div class="dqdj-content">
         <div class="dqdj-item">
@@ -42,7 +46,7 @@
           </div>
         </div>
       </div>
-    </activity-invite-user-box>
+    </div>
     <div v-if="type === 2" :class="current ? 'box3 tab2' : 'box3'">
       <div class="tab">
         <div class="tab-item" @click="current = 0">{{ current === 1 ? '我的奖励' : '' }}</div>
@@ -196,7 +200,12 @@
 </template>
 
 <script>
-import { Toast } from 'vant';
+
+import { Toast, Dialog } from 'vant';
+import NativeShare from 'nativeshare';
+import { fileKeyToUrl } from '@/plugins/file-center.js';
+
+
 export default {
   auth: false,
   name: 'Fission',
@@ -261,7 +270,32 @@ export default {
       boostValue: 0,
       currentEndTime: 0,
       currentRanking: 0,
-      preRanking: 0
+      preRanking: 0,
+      userType: 1,
+      received: 0,
+      shareInfo: {
+        title: '双子星云手机',
+        desc: `免费领取一台全能云手机!`,
+        link: '',
+        imgUrl: ''
+      },
+      showShare: false,
+      returnContent: [{
+        img: require('@/assets/image/activity/invite-user/card-1.png'),
+        content: '奖励一&邀请1人注册',
+      },
+      {
+        img: require('@/assets/image/activity/invite-user/card-2.png'),
+        content: '奖励二&邀请2人注册',
+      },
+      {
+        img: require('@/assets/image/activity/invite-user/card-3.png'),
+        content: '奖励三&邀请3人注册',
+      },
+      {
+        img: require('@/assets/image/activity/invite-user/card-4.png'),
+        content: '奖励四&邀请5人注册',
+      }]
     };
   },
   async fetch() {
@@ -269,7 +303,7 @@ export default {
     try {
       this.token = this.$route.query.token;
       await this.getActiveInfo();
-      this.$native.setShareInfo(this.shareInfo);
+      await this.shareCanReceiveCloudPhone();
       await Promise.all([
         this.getActivityRules(),
         this.type === 2 && this.getMyActivationCode(this.myCodeFrom),
@@ -295,22 +329,6 @@ export default {
     title: '邀请好友'
   },
   computed: {
-    returnContent() {
-      return {
-        1: {
-          img: require('@/assets/image/activity/invite-user/cybz-content@2x.png'),
-          content: '返星币换现金',
-        },
-        2: {
-          img: require('@/assets/image/activity/invite-user/cybz-content-2@2x.png'),
-          content: '云机时长奖励',
-        },
-        3: {
-          img: require('@/assets/image/activity/invite-user/cybz-content-3@2x.png'),
-          content: '返积分',
-        },
-      }[this.type];
-    },
     codeHasMore() {
       return (
         this.codeTotal < 0 ||
@@ -345,40 +363,73 @@ export default {
     type() {
       return 2;
     },
-    shareUrl() {
-      return (
-        location.origin +
-        this.$router.resolve({
-          path: '/activity/invite-user/register-fission/',
-          query: {
-            invitationUserName: this.data.inviteUserName,
-            activityId: this.data.activityId,
-            type: this.type,
-          },
-        }).href
-      );
-    },
-    shareInfo() {
-      if (this.$userAgent.isMiniProgram) {
-        return {
-          title: '双子星APP',
-          path: '/pages/home/home',
-          imgUrl: location.origin + require('~/assets/image/logo.png'),
-        };
-      }
-      return {
-        title: '双子星云手机',
-        desc: `畅玩“原神”“幻塔”,24小时在线,不限下载流量的手机`,
-        link: this.shareUrl,
-        imgUrl: location.origin + require('~/assets/image/logo.png'),
-      };
-    }
+    // shareUrl() {
+    //   return (
+    //     location.origin +
+    //     this.$router.resolve({
+    //       path: '/activity/invite-user/register-fission/',
+    //       query: {
+    //         invitationUserName: this.data.inviteUserName,
+    //         activityId: this.data.activityId,
+    //         type: this.type,
+    //       },
+    //     }).href
+    //   );
+    // },
+    // shareInfo() {
+    //   if (this.$userAgent.isMiniProgram) {
+    //     return {
+    //       title: '双子星APP',
+    //       path: '/pages/home/home',
+    //       imgUrl: location.origin + require('~/assets/image/logo.png'),
+    //     };
+    //   }
+    //   return {
+    //     title: '双子星云手机',
+    //     desc: `畅玩“原神”“幻塔”,24小时在线,不限下载流量的手机`,
+    //     link: this.shareUrl,
+    //     imgUrl: location.origin + require('~/assets/image/logo.png'),
+    //   };
+    // }
   },
   mounted() {
     this.makePoint('activity_Share_PV')
     this.makePoint('activity_Share_UV')
+    this.addUserVisit(12);
   },
   methods: {
+    async shareCanReceiveCloudPhone() {
+      try {
+        const res = await this.$axios.$get('/resources/register/send/cloud/phone/shareCanReceiveCloudPhone', {}, { headers: { Authorization: this.token } });
+        this.received = res.data.received
+        this.shareInfo.title = res.data.title
+        this.shareInfo.desc = res.data.content
+        this.shareInfo.link = res.data.url
+        this.shareInfo.imgUrl = fileKeyToUrl(res.data.imgUrl)
+        this.$native.setShareInfo(this.shareInfo);
+      } catch (err) {
+        Toast({
+          message: err.message,
+          position: 'top'
+        });
+      }
+    },
+    async shareReceiveCloudPhone() {
+      try {
+        const res = await this.$axios.$post('/resources/register/send/cloud/phone/shareReceiveCloudPhone', {}, { headers: { Authorization: this.token } });
+        Dialog.alert({
+          message: res.msg,
+        }).then(() => {
+          this.showShare = false
+        });
+        this.addUserVisit(7);
+      } catch (err) {
+        Toast({
+          message: err.message,
+          position: 'top'
+        });
+      }
+    },
     async receiveLevelAward(goodsId) {
       try {
         const res = await this.$axios.$post('/activity/v1/level/award/receiveLevelAward', { activityId: this.myCodeFrom.activityId, goodsId }, { headers: { Authorization: this.token } });
@@ -451,11 +502,12 @@ export default {
         this.currentRanking = res.data.currentRanking
         this.preRanking = res.data.preRanking
         this.levelAwardRankings = res.data.levelAwardRankings;
+        this.userType = res.data.userType;
       } finally {
         this.codeIsLoading = false;
       }
     },
-    async share() {
+    share() {
       if (this.data.status !== 1) {
         if (this.data.status === 0) {
           Toast({
@@ -484,18 +536,46 @@ export default {
         });
         return
       }
-
       this.$tongji.trackEvent('活动', '分享', '', 0);
+      if (this.received) {
+        this.addUserVisit(13);
+      }
+      console.log('env',this.$userAgent.isSzx , this.$userAgent.isSzxBrowser)
       if (this.$userAgent.isSzx || this.$userAgent.isSzxBrowser) {
         // app环境
         this.$native.share(this.shareInfo);
-        this.makePoint('activity_Share_分享好友按钮');
+        console.log(this.shareInfo,'xxxx');
+        // this.makePoint('activity_Share_分享好友按钮');
       } else {
         // 浏览器环境
-        await this.$native.clipboard.writeText(`${this.shareUrl} 双子星云手机`);
-        // throw new Error('1231');
-        this.$toast.success('链接复制成功');
-        this.makePoint('activity_Share_复制链接');
+        const nativeShare = new NativeShare()
+        nativeShare.setShareData({
+          icon: this.shareInfo.imgUrl,
+          link: this.shareInfo.link,
+          title: this.shareInfo.content,
+          desc: this.shareInfo.title,
+          success: () => {
+            this.shareReceiveCloudPhone()
+          },
+          fail: () => {
+            Toast({
+              message: '分享失败',
+              position: 'center'
+            })
+          }
+        })
+        try {
+          nativeShare.call('wechatTimeline')
+        } catch (err) {
+          Toast({
+            message: '您的浏览器不支持分享功能,请下载app使用!',
+            position: 'center',
+            duration: 3000
+          })
+          setTimeout(() => {
+            window.open('https://www.androidscloud.com/', '_self');
+          }, 3000)
+        }
       }
     },
     makePoint(positionButton) {
@@ -568,17 +648,40 @@ export default {
         });
       }
     },
-  },
+    addUserVisit(accessType) {
+      this.$axios.$post('/user/v5/operateApi/addUserVisit', {
+        accessType,
+        loginType: 1
+      });
+    }
+  }
 };
 </script>
 
 <style lang="scss" scoped>
+.w76h24 {
+  width: 76px;
+  height: 24px;
+  margin: 5px 0;
+}
+.w373h237 {
+  width: 373px;
+  height: 237px;
+  display: block;
+}
+.fcnc {
+  display: flex;
+  flex-wrap: wrap;
+  margin-top: 51px;
+  justify-content: center;
+}
 .w373h192 {
   width: 373px;
   height: 192px;
   display: block;
   margin: 17px auto 0;
 }
+
 .fcw {
   display: flex;
   flex-direction: column;
@@ -660,26 +763,30 @@ export default {
 }
 
 .box1 {
-  margin-top: 460px;
-
+  margin: 240px auto 0;
+  width: 373px;
+  height: 648px;
+  background: url('~/assets/image/activity/invite-user/box.png');
+  background-size: 100% 100%;
+  overflow: hidden;
+  .cybz-content-container {
+    display: flex;
+    flex-direction: column;
+    justify-content: center;
+    align-items: center;
+    width: 140px;
+  }
   .cybz-content {
-    width: 305px;
-    height: 75px;
+    width: 119px;
+    height: 108px;
     margin: auto;
     display: block;
   }
 
   .cybz-content-text {
-    display: grid;
-    grid-template-columns: 1fr 1fr 1fr;
     font-size: 12px;
-    color: #333;
-
-    .cybz-content-text-item {
-      text-align: center;
-    }
+    color: #FF6F3C;
   }
-
   .share-button {
     display: block;
     margin: auto;
@@ -759,7 +866,7 @@ export default {
       justify-content: center;
       align-items: center;
     }
-
+    
     .progress-text {
       font-size: 12px;
       color: #8f8f8f;

+ 121 - 50
pages/activity/invite-user/register-fission.vue

@@ -1,36 +1,22 @@
 <template>
   <v-container class="register-for-invite pa-0" fluid :class="`type-${type}`">
+    <div class="w245h244">
+      <img class="download-btn" src="~/assets/image/activity/invite-user/fission/btn.png" alt="" @click="download">
+    </div>
+    <video class="w325h183" webkit-playsinline="true" playsinline="true" x5-playsinline autoplay muted controls src="~/assets/image/activity/invite-user/fission/20230511-153039.mp4"></video>
     <div class="box1">
-      <validation-observer ref="observer" class="mlr10" slim>
-        <v-form @submit.prevent="submit()">
+      <!-- <validation-observer ref="observer" class="mlr10" slim>
+        <v-form>
           <validation-provider v-slot="{ errors }" ref="providerPhome" name="手机号码" rules="phone" slim>
             <div style="display: flex;">
               <div class="label-item">
                 手机号
               </div>
-              <v-text-field v-model="form.phone" v-mask="$mask.phone" background-color="#F6F6F6" name="phone" required :error-messages="errors" placeholder="请输入11位手机号" solo type="tel" flat maxlength="11" @blur="makePoint(form.channelCode + '_Promotion _activities_输入手机号')" />
+              <v-text-field v-model="form.phone" v-mask="$mask.phone" background-color="#f6f6f6" name="phone" required :error-messages="errors" placeholder="请输入11位手机号" solo type="tel" flat maxlength="11" @input="submit" @focus="addUserVisit(19)" />
             </div>
           </validation-provider>
-          <validation-provider v-slot="{ errors }" name="短信验证码" rules="code" slim>
-            <div style="display: flex;">
-              <div class="label-item">
-                验证码
-              </div>
-              <v-text-field ref="code" v-model="form.code" v-mask="'######'" class="w220" background-color="#F6F6F6" label="" :error-messages="errors" name="code" maxlength="6" required placeholder="请输入验证码" solo flat type="tel" @blur="makePoint(form.channelCode + '_Promotion _activities_输入验证码')">
-                <template #append>
-                  <v-btn :loading="codeSending" :disabled="codeTime > 0" small depressed color="#1E3ADE" plain class="text-base" @click="sendSmsCode()">
-                    <template v-if="codeTime > 0">{{ codeTime }}s后重新获取</template>
-                    <template v-else>获取验证码</template>
-                  </v-btn>
-                </template>
-              </v-text-field>
-            </div>
-          </validation-provider>
-          <div class="submit-btn-box">
-            <v-btn type="submit" :loading="submitting" class="submit-btn" rounded>注册并下载APP</v-btn>
-          </div>
         </v-form>
-      </validation-observer>
+      </validation-observer> -->
     </div>
   </v-container>
 </template>
@@ -44,6 +30,7 @@ export default {
   name: 'RegisterForInvite',
   data() {
     return {
+      current: 1,
       form: {
         phone: '',
         code: '',
@@ -70,28 +57,50 @@ export default {
       this.client = 7;
     }
   },
-  head: {
-    title: '注册',
+  head() {
+    return {
+      title: '老板疯了,云手机真免费,不领白不领,活动随时结束',
+      meta: [{
+        property: 'og:image',
+        content: 'https://file.phone.androidscloud.com:8121/document/newFile/download/1/347905r86eb745a1sc38/LowLevelMultipartUpload_30813454097856102499'
+      },
+      {
+        property: 'og:description',
+        content: '老板疯了,云手机真免费,不领白不领,活动随时结束'
+      },
+      {
+        property: 'og:title',
+        content: '双子星云手机'
+      }]
+    }
   },
   computed: {
     type() {
       return 2;
     },
+    url() {
+      return `${location.origin}/cloud/phone/web/#/pages/register/index?invitationUserName=${this.form.invitationUserName}&activityId=${this.form.activityId}&invitationType=5`
+    }
   },
   mounted() {
     this.makePoint('activity_download_PV')
     this.makePoint('activity_download_UV')
+    this.addUserVisit(16)
   },
   methods: {
+    download() {
+      window.open(this.url, '_self');
+      this.addUserVisit(18)
+    },
     maskPhone(value) {
       return [/\d/, /\d/];
     },
     makePoint(positionButton) {
-      this.$axios.$post('/public/v5/buriedPointRecord/reportRecords', [
+      this.$axios.$post('/publics/v5/buriedPointRecord/reportRecords', [
         {
           client: this.client,
           eventCode: '28_分享活动',
-          userName: '',
+          userName: this.form.invitationUserName,
           positionButton,
           operationTime: this.getCurrentTime(),
           phoneNumber: '',
@@ -120,29 +129,35 @@ export default {
       }
     },
     async submit() {
+      if (this.form.phone.length < 11 || !/^((13[0-9])|(14[5|7])|(15([0-9]))|(16[0134689])|(17[2-9])|(18[0-9])|(19[0-9]))\d{8}$/.test(this.form.phone)) {
+        return
+      }
       try {
-        this.makePoint('activity_Share_注册并下载app按钮')
         this.submitting = true;
         const valid = await this.$refs.observer.validate();
         if (valid) {
           this.$tongji.trackEvent('活动', '注册', '', 0);
           await registerForInvite(this, this.form);
           Toast({
-            message: '注册成功',
-            position: 'top',
+            message: '绑定成功',
             duration: 3000
           });
-          this.openSzxApp();
+          setTimeout(() => {
+            window.open('http://wuji.androidscloud.com', '_self');
+          }, 3000)
         }
+        this.addUserVisit(20);
       } catch (error) {
         Toast({
           message: error.message,
-          position: 'top',
           duration: 3000
         });
-        if(error.response.data.status === 1114) {
-          this.openSzxApp();
+        if (error.response.data.status === 1114) {
+          setTimeout(() => {
+            window.open('http://wuji.androidscloud.com', '_self');
+          }, 3000)
         }
+        this.addUserVisit(20);
       } finally {
         this.submitting = false;
       }
@@ -170,7 +185,6 @@ export default {
           );
           Toast({
             message: res.msg,
-            position: 'top',
             duration: 3000
           });
         }
@@ -183,20 +197,78 @@ export default {
         this.codeSending = false;
       }
     },
+    addUserVisit(accessType) {
+      this.$axios.$post('/user/v5/operateApi/addUserVisit', {
+        accessType,
+        loginType: 2,
+        userName: this.form.invitationUserName
+      });
+    }
   },
 };
 </script>
 
 <style lang="scss" scoped>
+.w325h183 {
+  width: 325px;
+  height: 183px;
+  border-radius: 19px;
+  position: absolute;
+  top: 481px;
+  left: calc(50% - 162.5px);
+  background: #F5F5F5;
+}
+
+.w245h244 {
+  margin: 238px auto 0;
+  position: relative;
+
+  img {
+    width: 100%;
+    height: 100%;
+  }
+
+  .download-btn {
+    width: 226px;
+    height: 82px;
+    position: absolute;
+    left: calc(50% - 113px);
+  }
+}
+
+.w282h239 {
+  width: 282px;
+  height: 239px;
+  display: block;
+  position: absolute;
+  top: 229px;
+  right: 21px;
+  animation: xing 2s infinite;
+}
+
+@keyframes xing {
+  0% {
+    transform: scale(1);
+  }
+
+  25% {
+    transform: scale(1.1);
+  }
+
+  50% {
+    transform: scale(1);
+  }
+
+  75% {
+    transform: scale(1.1);
+  }
+}
+
 .mlr10 {
-  margin: 4px;
-  border: 1px solid #FDAF7D;
-  border-radius: 18px 18px 18px 18px;
   overflow: hidden;
   width: 344px;
-  height: 227px;
+  padding: 0 10px;
   box-sizing: border-box;
-  padding: 25px 19px 23px 18px;
 }
 
 .register-for-invite {
@@ -205,7 +277,7 @@ export default {
   // background-position-y: -44px;
   overflow: hidden;
   padding-bottom: 30px;
-  min-height: 880px;
+  min-height: 872px;
 
   &.type-1 {
     background-image: url('~/assets/image/activity/invite-user/bg@2x.png');
@@ -221,12 +293,10 @@ export default {
 }
 
 .box1 {
-  margin: 265px auto 0;
-  width: 350px;
-  height: 234px;
-  background: #FFFFFF;
-  border-radius: 18px 18px 18px 18px;
-  overflow: hidden;
+  position: absolute;
+  bottom: 32px;
+  left: calc(50% - 172px);
+  width: 344px;
 }
 
 .submit-btn-box {
@@ -238,22 +308,23 @@ export default {
 .submit-btn {
   display: block;
   width: 308px !important;
-  height: 40px !important;
+  height: 30px !important;
   background: linear-gradient(0deg, #F34927 0%, #FDAF7D 100%);
   border-radius: 20px;
   text-align: center;
   font-size: 18px;
   font-weight: 500;
   color: #FFFFFF !important;
-  line-height: 40px;
+  line-height: 30px;
+  margin-top: 10px;
 }
 
 .label-item {
   width: 64px;
   font-size: 14px;
   color: #333;
-  height: 12.8vw;
-  line-height: 12.8vw;
+  height: 49px;
+  line-height: 49px;
   text-align: center;
 }
 

+ 1 - 1
plugins/native.js

@@ -27,7 +27,7 @@ export default function ({ $userAgent, $wx }, i) {
         }
 
         if ($userAgent.isAndroid) {
-          await window.native.share(title, desc, link, imgUrl, '28_分享活动');
+          await window.native.showEventShare(link, title, desc, imgUrl);
           return;
         }
         return;