瀏覽代碼

Update index.tsx

lex 2 年之前
父節點
當前提交
67cca54c56
共有 1 個文件被更改,包括 9 次插入4 次删除
  1. 9 4
      src/views/music/component/song/index.tsx

+ 9 - 4
src/views/music/component/song/index.tsx

@@ -77,9 +77,9 @@ export default defineComponent({
           location.origin +
           `/accompany/colexiu-share.html?id=${moreData.value.id}&recomUserId=${state.user.data?.userId}&userType=${state.platformType}`
         // 判断是否有活动
-        if (res.data.discount === 1) {
-          url += `&activityId=${res.data.activityId}`
-        }
+        // if (res.data.discount === 1) {
+        url += `&activityId=${res.data.activityId}`
+        // }
         shareDiscount.value = res.data.discount || 0
         shareUrl.value = url
         isMore.value = false
@@ -165,7 +165,12 @@ export default defineComponent({
             </div>
           ))}
 
-          <Popup v-model:show={isMore.value} position="bottom" round teleport='body'>
+          <Popup
+            v-model:show={isMore.value}
+            position="bottom"
+            round
+            teleport="body"
+          >
             <CellGroup border={false}>
               <Cell
                 center