|  | @@ -7,7 +7,7 @@
 | 
											
												
													
														|  |                  </div>
 |  |                  </div>
 | 
											
												
													
														|  |                  <div class="mess">
 |  |                  <div class="mess">
 | 
											
												
													
														|  |                      <div class="title">
 |  |                      <div class="title">
 | 
											
												
													
														|  | -                        {{detail.groupName}}
 |  | 
 | 
											
												
													
														|  | 
 |  | +                        {{ detail.groupName }}
 | 
											
												
													
														|  |                      </div>
 |  |                      </div>
 | 
											
												
													
														|  |                      <div class="opt">
 |  |                      <div class="opt">
 | 
											
												
													
														|  |                          <label>
 |  |                          <label>
 | 
											
										
											
												
													
														|  | @@ -29,18 +29,38 @@
 | 
											
												
													
														|  |  </template>
 |  |  </template>
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  <script setup>
 |  |  <script setup>
 | 
											
												
													
														|  | -import { onBeforeMount, ref } from 'vue';
 |  | 
 | 
											
												
													
														|  | 
 |  | +import { onBeforeMount,onMounted, ref } from 'vue';
 | 
											
												
													
														|  |  import { getPostDetail } from '@/http/redPacket';
 |  |  import { getPostDetail } from '@/http/redPacket';
 | 
											
												
													
														|  |  import { getQueryString } from '@/uilts/help.js'
 |  |  import { getQueryString } from '@/uilts/help.js'
 | 
											
												
													
														|  | 
 |  | +import { srcPublishSuccess } from '@/http/publishApi'
 | 
											
												
													
														|  | 
 |  | +import { getChromeStorage } from '@/uilts/chromeExtension.js'
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  let postId = getQueryString('projectId');
 |  |  let postId = getQueryString('projectId');
 | 
											
												
													
														|  | 
 |  | +let tweet_Id = getQueryString('tweet_Id')
 | 
											
												
													
														|  |  let detail = ref(null);
 |  |  let detail = ref(null);
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  const jumpUserPage = () => {
 |  |  const jumpUserPage = () => {
 | 
											
												
													
														|  |      window.open(`https://twitter.com/${detail.value.defaultTwitterAccount}?deTabVal=deGroupTab`)
 |  |      window.open(`https://twitter.com/${detail.value.defaultTwitterAccount}?deTabVal=deGroupTab`)
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  | 
 |  | +// 重新绑定
 | 
											
												
													
														|  | 
 |  | +const reSetBindTwtterId = (_params = {}) => {
 | 
											
												
													
														|  | 
 |  | +    getChromeStorage('userInfo', (_userInfo = {}) => {
 | 
											
												
													
														|  | 
 |  | +        if (_userInfo  && _userInfo.uid == _params.uid) {
 | 
											
												
													
														|  | 
 |  | +            srcPublishSuccess({
 | 
											
												
													
														|  | 
 |  | +                params: {
 | 
											
												
													
														|  | 
 |  | +                    postId: postId,
 | 
											
												
													
														|  | 
 |  | +                    srcContentId: tweet_Id
 | 
											
												
													
														|  | 
 |  | +                }
 | 
											
												
													
														|  | 
 |  | +            }).then((res) => {
 | 
											
												
													
														|  | 
 |  | +                if (res.code == 0 || res.code == 3003) {
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -onBeforeMount(() => {
 |  | 
 | 
											
												
													
														|  | 
 |  | +                }
 | 
											
												
													
														|  | 
 |  | +            })
 | 
											
												
													
														|  | 
 |  | +        }
 | 
											
												
													
														|  | 
 |  | +    })
 | 
											
												
													
														|  | 
 |  | +}
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +onMounted(() => {
 | 
											
												
													
														|  |      getPostDetail({
 |  |      getPostDetail({
 | 
											
												
													
														|  |          params: {
 |  |          params: {
 | 
											
												
													
														|  |              postId: postId
 |  |              postId: postId
 | 
											
										
											
												
													
														|  | @@ -50,27 +70,36 @@ onBeforeMount(() => {
 | 
											
												
													
														|  |          if (data !== null) {
 |  |          if (data !== null) {
 | 
											
												
													
														|  |              detail.value = JSON.parse(data.postBizData)
 |  |              detail.value = JSON.parse(data.postBizData)
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  | 
 |  | +        if (!data.srcContentId) {
 | 
											
												
													
														|  | 
 |  | +            reSetBindTwtterId(data)
 | 
											
												
													
														|  | 
 |  | +            return
 | 
											
												
													
														|  | 
 |  | +        }
 | 
											
												
													
														|  |      })
 |  |      })
 | 
											
												
													
														|  |  })
 |  |  })
 | 
											
												
													
														|  |  </script>
 |  |  </script>
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  <style lang='scss'>
 |  |  <style lang='scss'>
 | 
											
												
													
														|  | -html, body {
 |  | 
 | 
											
												
													
														|  | 
 |  | +html,
 | 
											
												
													
														|  | 
 |  | +body {
 | 
											
												
													
														|  |      margin: 0;
 |  |      margin: 0;
 | 
											
												
													
														|  |      padding: 0;
 |  |      padding: 0;
 | 
											
												
													
														|  |      user-select: none;
 |  |      user-select: none;
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |  .card {
 |  |  .card {
 | 
											
												
													
														|  |      height: 180px;
 |  |      height: 180px;
 | 
											
												
													
														|  |      border-radius: 12px;
 |  |      border-radius: 12px;
 | 
											
												
													
														|  |      background: url('../../../assets/svg/icon-nft-group-pc.svg') no-repeat right bottom #48B1F7;
 |  |      background: url('../../../assets/svg/icon-nft-group-pc.svg') no-repeat right bottom #48B1F7;
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |      .padding {
 |  |      .padding {
 | 
											
												
													
														|  |          padding: 20px;
 |  |          padding: 20px;
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |          .info {
 |  |          .info {
 | 
											
												
													
														|  |              display: flex;
 |  |              display: flex;
 | 
											
												
													
														|  |              flex-direction: row;
 |  |              flex-direction: row;
 | 
											
												
													
														|  |              align-items: center;
 |  |              align-items: center;
 | 
											
												
													
														|  |              height: 100px;
 |  |              height: 100px;
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |              .logo {
 |  |              .logo {
 | 
											
												
													
														|  |                  display: flex;
 |  |                  display: flex;
 | 
											
												
													
														|  |                  align-items: center;
 |  |                  align-items: center;
 | 
											
										
											
												
													
														|  | @@ -80,28 +109,34 @@ html, body {
 | 
											
												
													
														|  |                  border-radius: 6px;
 |  |                  border-radius: 6px;
 | 
											
												
													
														|  |                  background: #FFFFFF;
 |  |                  background: #FFFFFF;
 | 
											
												
													
														|  |                  margin-right: 20px;
 |  |                  margin-right: 20px;
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |                  img {
 |  |                  img {
 | 
											
												
													
														|  |                      width: 50px;
 |  |                      width: 50px;
 | 
											
												
													
														|  |                      height: 50px;
 |  |                      height: 50px;
 | 
											
												
													
														|  |                      border-radius: 6px;
 |  |                      border-radius: 6px;
 | 
											
												
													
														|  |                  }
 |  |                  }
 | 
											
												
													
														|  |              }
 |  |              }
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |              .mess {
 |  |              .mess {
 | 
											
												
													
														|  |                  flex: 1;
 |  |                  flex: 1;
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |                  .title {
 |  |                  .title {
 | 
											
												
													
														|  | -                    overflow:hidden;
 |  | 
 | 
											
												
													
														|  | 
 |  | +                    overflow: hidden;
 | 
											
												
													
														|  |                      color: #FFFFFF;
 |  |                      color: #FFFFFF;
 | 
											
												
													
														|  |                      font-size: 18px;
 |  |                      font-size: 18px;
 | 
											
												
													
														|  |                      line-height: 21px;
 |  |                      line-height: 21px;
 | 
											
												
													
														|  | -                    text-overflow:ellipsis;
 |  | 
 | 
											
												
													
														|  | -                    white-space:nowrap;
 |  | 
 | 
											
												
													
														|  | 
 |  | +                    text-overflow: ellipsis;
 | 
											
												
													
														|  | 
 |  | +                    white-space: nowrap;
 | 
											
												
													
														|  |                  }
 |  |                  }
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |                  .opt {
 |  |                  .opt {
 | 
											
												
													
														|  |                      color: #FFFFFF;
 |  |                      color: #FFFFFF;
 | 
											
												
													
														|  |                      font-size: 12px;
 |  |                      font-size: 12px;
 | 
											
												
													
														|  |                      margin-top: 8px;
 |  |                      margin-top: 8px;
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |                      label {
 |  |                      label {
 | 
											
												
													
														|  |                          margin-right: 18px;
 |  |                          margin-right: 18px;
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |                          img {
 |  |                          img {
 | 
											
												
													
														|  |                              margin-top: -4px;
 |  |                              margin-top: -4px;
 | 
											
												
													
														|  |                              margin-right: 4px;
 |  |                              margin-right: 4px;
 | 
											
										
											
												
													
														|  | @@ -111,6 +146,7 @@ html, body {
 | 
											
												
													
														|  |                  }
 |  |                  }
 | 
											
												
													
														|  |              }
 |  |              }
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |          .join {
 |  |          .join {
 | 
											
												
													
														|  |              display: flex;
 |  |              display: flex;
 | 
											
												
													
														|  |              align-items: center;
 |  |              align-items: center;
 |