|
@@ -11,6 +11,16 @@
|
|
|
<div class="name">{{item.nftItemName}}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <join-group-finish-dialog
|
|
|
+ :dialogVisible="joinGroupFinishShow"
|
|
|
+ :position="'absolute'"
|
|
|
+ :contentStyle="{
|
|
|
+ width: '315px',
|
|
|
+ }"
|
|
|
+ :iconStyle="{width: '80px', marginTop: '26px'}"
|
|
|
+ :descStyle="{marginTop: '24px', marginBottom: '25px', fontSize: '19px'}"
|
|
|
+ @confirm="confirmFinish">
|
|
|
+ </join-group-finish-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -20,6 +30,8 @@ import router from "@/router/popup.js";
|
|
|
|
|
|
import {nftListMine} from "@/http/nft.js";
|
|
|
|
|
|
+import joinGroupFinishDialog from "@/view/components/join-group-finish-dialog.vue";
|
|
|
+
|
|
|
let listData = ref([]);
|
|
|
|
|
|
let NFTReqParams = {
|
|
@@ -32,6 +44,7 @@ let NFTReqParams = {
|
|
|
|
|
|
let pageWrapperDom = ref(null);
|
|
|
let pageListDom = ref(null);
|
|
|
+let joinGroupFinishShow = ref(false);
|
|
|
|
|
|
const clickNFT = (params) => {
|
|
|
router.push({
|
|
@@ -85,10 +98,24 @@ const msgListener = (req, sender, sendResponse) => {
|
|
|
switch (req.actionType) {
|
|
|
case 'CONTENT_POPUP_PAGE_SHOW':
|
|
|
getNFTListMine();
|
|
|
+ showJoinFinishHandler(req.data);
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+const showJoinFinishHandler = (params) => {
|
|
|
+ let { path, showJoinGroupFinish} = params;
|
|
|
+ if(path == '/NFT' && showJoinGroupFinish) {
|
|
|
+ joinGroupFinishShow.value = true;
|
|
|
+ } else if(joinGroupFinishShow.value){
|
|
|
+ joinGroupFinishShow.value = false;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+const confirmFinish = () => {
|
|
|
+ joinGroupFinishShow.value = false;
|
|
|
+}
|
|
|
+
|
|
|
onMounted(() => {
|
|
|
onMessage();
|
|
|
getNFTListMine();
|