zhangwei před 2 roky
rodič
revize
f0f7a0d8c8

+ 1 - 0
src/view/iframe/treasure-hunt/components/invite-friends.vue

@@ -32,6 +32,7 @@ state.toast = {}
 onMounted(() => {
     inviteChannel({
         params: {
+            linePluginInstalled: 0,
             postId: state.postId
         }
     }).then((res) => {

+ 1 - 1
src/view/iframe/treasure-hunt/cover.vue

@@ -23,7 +23,7 @@
                 <span>{{ state.detail.remainAmountValue }}</span>
             </div>
             <div class="coin">
-                <img :src="require('@/assets/svg/icon-warning.svg')" alt="" />
+                <img :src="state.detail.imagePath" alt="" />
                 <span>{{ state.detail.amountCurrencyCode }}</span>
             </div>
         </template>

+ 2 - 1
src/view/iframe/treasure-hunt/index.vue

@@ -42,6 +42,7 @@ onMounted(() => {
         }).then((res) => {
             if (res.code == 0) {
                 state.detail = res.data
+                state.postId = state.detail.postId
                 handleStatus()
                 if (!res.data.srcContentId) {
                     reSetBindTwtterId({
@@ -61,8 +62,8 @@ onMounted(() => {
         }).then((res) => {
             if (res.code == 0) {
                 state.detail = res.data
+                state.postId = state.detail.postId
                 handleStatus()
-
                 if (!res.data.srcContentId) {
                     reSetBindTwtterId({
                         postId: state.postId || '',

+ 1 - 1
src/view/iframe/treasure-hunt/result.vue

@@ -44,7 +44,7 @@ const clickBtn = () => {
     text-align: center;
     position: relative;
 
-    img :first-child {
+    img {
         margin-top: 15px;
         width: 250px;
         height: 250px;