From 9519ce9781f8a3184025f072899784748965f43b Mon Sep 17 00:00:00 2001 From: zhangsiyu Date: Fri, 4 Aug 2023 11:37:59 +0800 Subject: [PATCH] 1 --- manifest.json | 2 +- pages.json | 10 + pages/details/details.vue | 16 +- pages/detalis1/detalis1.vue | 378 ++++++++++++++++++++++++++++++ pages/user/user.vue | 17 +- pages/userzhiliao/userzhiliao.vue | 10 +- 6 files changed, 411 insertions(+), 22 deletions(-) create mode 100644 pages/detalis1/detalis1.vue diff --git a/manifest.json b/manifest.json index 3cf7bb6..bcd6927 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name" : "Digital", - "appid" : "__UNI__13C8C1C", + "appid" : "__UNI__6D4740F", "description" : "", "versionName" : "1.0.0", "versionCode" : "100", diff --git a/pages.json b/pages.json index 943cf06..77c42fd 100644 --- a/pages.json +++ b/pages.json @@ -202,6 +202,16 @@ } + ,{ + "path" : "pages/detalis1/detalis1", + "style" : + { + "navigationBarTitleText": "藏品详情", + "enablePullDownRefresh": false, + "navigationStyle": "custom" + } + + } ], //#ifndef H5 "tabBar": { diff --git a/pages/details/details.vue b/pages/details/details.vue index dd4d75d..e23cd7a 100644 --- a/pages/details/details.vue +++ b/pages/details/details.vue @@ -46,7 +46,7 @@ 抢购 - + 抢购 @@ -165,11 +165,11 @@ } function comepay1(){ - uni.showToast({ - duration:1500, - title:"不能购买", - icon:"error" - }) + // uni.showToast({ + // duration:1500, + // title:"不能购买", + // icon:"error" + // }) } return { collection, @@ -293,12 +293,12 @@ .fuwenben { width: 686upx; - height: 1064upx; + // height: 1064upx; margin: auto; box-sizing: border-box; margin-top: 40upx; margin-bottom: 140upx; - + // padding-bottom: 150upx; >image { width: 686upx; height: 1064upx; diff --git a/pages/detalis1/detalis1.vue b/pages/detalis1/detalis1.vue new file mode 100644 index 0000000..e6de3f0 --- /dev/null +++ b/pages/detalis1/detalis1.vue @@ -0,0 +1,378 @@ + + + + + diff --git a/pages/user/user.vue b/pages/user/user.vue index a1fe94b..532e53c 100644 --- a/pages/user/user.vue +++ b/pages/user/user.vue @@ -9,8 +9,8 @@ {{userinfos.nickname}} KTONG GON - + did:{{userinfos.did}} + @@ -28,11 +28,10 @@ 盲盒 - + {{item.collect_name}} - {{item.artist_name - }} + {{item.artist_name}} @@ -59,7 +58,7 @@ let xzzt=ref(1); let number=ref(1); let cardstatus=ref(false) - let listnumber=ref(2) + let listnumber=ref(0) let workerlist=reactive({list:[]}) let userinfos=reactive({ nickname:"", @@ -124,9 +123,10 @@ url:'../set/set' }) } - function godetails(id,no){ + function godetails(item){ + console.log(item); uni.navigateTo({ - url:`../details/details?id=${id}&no=${no}` + url:`../detalis1/detalis1?id=${item.works_id}&no=${item.no}&hydz=${item.contract_address}&txzid=${item.contract_id}&${item.hash_code}` }); } function comerealname(){ @@ -185,6 +185,7 @@ display: flex; flex-wrap: wrap; >view{ + width: 328upx; margin-top: 36upx; margin-right: 26upx; &:nth-of-type(2n){ diff --git a/pages/userzhiliao/userzhiliao.vue b/pages/userzhiliao/userzhiliao.vue index 18bf757..7b1362a 100644 --- a/pages/userzhiliao/userzhiliao.vue +++ b/pages/userzhiliao/userzhiliao.vue @@ -29,12 +29,12 @@ - + 实名认证 @@ -122,9 +122,9 @@ DATA.nickname = user.username; } - // if (user.did != textdid.value) { - // DATA.did = user.did; - // } + if (user.did != textdid.value) { + DATA.did = user.did; + } modifyuserinfo(DATA).then((res) => { console.log(res);