hookehuyr

fix(CourseDetailPage): 修复分享和咨询按钮的点击事件和图标

交换分享和咨询按钮的位置及对应事件,确保功能与显示一致
...@@ -207,7 +207,7 @@ ...@@ -207,7 +207,7 @@
207 </svg> 207 </svg>
208 收藏 208 收藏
209 </button> 209 </button>
210 - <button v-if="consult_contacts.length" class="flex flex-col items-center text-gray-500 text-xs" @click="open_consult_dialog"> 210 + <button class="flex flex-col items-center text-gray-500 text-xs" @click="open_share_poster">
211 <svg 211 <svg
212 xmlns="http://www.w3.org/2000/svg" 212 xmlns="http://www.w3.org/2000/svg"
213 class="h-6 w-6" 213 class="h-6 w-6"
...@@ -219,12 +219,12 @@ ...@@ -219,12 +219,12 @@
219 stroke-linecap="round" 219 stroke-linecap="round"
220 stroke-linejoin="round" 220 stroke-linejoin="round"
221 stroke-width="2" 221 stroke-width="2"
222 - d="M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z" 222 + d="M8.684 13.342C8.886 12.938 9 12.482 9 12c0-.482-.114-.938-.316-1.342m0 2.684a3 3 0 110-2.684m0 2.684l6.632 3.316m-6.632-6l6.632-3.316m0 0a3 3 0 105.367-2.684 3 3 0 00-5.367 2.684zm0 9.316a3 3 0 105.368 2.684 3 3 0 00-5.368-2.684z"
223 /> 223 />
224 </svg> 224 </svg>
225 - 咨询 225 + 分享
226 </button> 226 </button>
227 - <button class="flex flex-col items-center text-gray-500 text-xs" @click="open_share_poster"> 227 + <button v-if="consult_contacts.length" class="flex flex-col items-center text-gray-500 text-xs" @click="open_consult_dialog">
228 <svg 228 <svg
229 xmlns="http://www.w3.org/2000/svg" 229 xmlns="http://www.w3.org/2000/svg"
230 class="h-6 w-6" 230 class="h-6 w-6"
...@@ -236,10 +236,10 @@ ...@@ -236,10 +236,10 @@
236 stroke-linecap="round" 236 stroke-linecap="round"
237 stroke-linejoin="round" 237 stroke-linejoin="round"
238 stroke-width="2" 238 stroke-width="2"
239 - d="M8.684 13.342C8.886 12.938 9 12.482 9 12c0-.482-.114-.938-.316-1.342m0 2.684a3 3 0 110-2.684m0 2.684l6.632 3.316m-6.632-6l6.632-3.316m0 0a3 3 0 105.367-2.684 3 3 0 00-5.367 2.684zm0 9.316a3 3 0 105.368 2.684 3 3 0 00-5.368-2.684z" 239 + d="M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"
240 /> 240 />
241 </svg> 241 </svg>
242 - 分享 242 + 咨询
243 </button> 243 </button>
244 </div> 244 </div>
245 <div class="flex items-center"> 245 <div class="flex items-center">
......