diff --git a/api/api.js b/api/api.js
index 3b040b8..4363efc 100644
--- a/api/api.js
+++ b/api/api.js
@@ -341,4 +341,11 @@ export function getCateData(data) {
return request.get("diy/category", data, {
noAuth: true
});
+}
+/**
+ * 用户实名认证
+ * @param {Object} data
+ */
+export function userReal(data) {
+ return request.post("user/real", data, { noAuth: true });
}
\ No newline at end of file
diff --git a/components/blindBox/blindBox.vue b/components/blindBox/blindBox.vue
index 7c8fb5b..0137f87 100644
--- a/components/blindBox/blindBox.vue
+++ b/components/blindBox/blindBox.vue
@@ -9,7 +9,7 @@
恭喜你获得 {{wheel}} 次盲盒抽奖机会
-
+
@@ -245,12 +245,16 @@
background-position: center;
}
.blind-box{
- width: 80%;
- height: 500rpx;
- background: #D753FC;
+ width: 100%;
+ height: 480rpx;
+ // background: #D753FC;
+ background-image: url('@/static/images/mh-bg.png');
+ background-repeat: no-repeat;
+ background-size: 100%;
display: flex;
flex-wrap: wrap;
padding: 40rpx;
+ padding-bottom: 80rpx;
grid-gap: 20rpx;
.box-item{
flex: 30%;
diff --git a/components/treasureBox/index.vue b/components/treasureBox/index.vue
index b947ef8..b2f125e 100644
--- a/components/treasureBox/index.vue
+++ b/components/treasureBox/index.vue
@@ -2,13 +2,17 @@
-
-
-
-
-
+
+
+
+
+
+
+
+ 立刻开启
+
-
+
@@ -101,6 +101,9 @@
}
},
methods: {
+ closeBox(){
+ this.treasureShow=false;
+ },
go(){
this.treasureShow=true;
},
diff --git a/static/images/box-title.png b/static/images/box-title.png
new file mode 100644
index 0000000..e52573f
Binary files /dev/null and b/static/images/box-title.png differ
diff --git a/static/images/box.gif b/static/images/box.gif
new file mode 100644
index 0000000..a210f9c
Binary files /dev/null and b/static/images/box.gif differ
diff --git a/static/images/box.png b/static/images/box.png
new file mode 100644
index 0000000..9741170
Binary files /dev/null and b/static/images/box.png differ
diff --git a/static/images/box2.png b/static/images/box2.png
new file mode 100644
index 0000000..3e828a6
Binary files /dev/null and b/static/images/box2.png differ
diff --git a/static/images/close2.png b/static/images/close2.png
new file mode 100644
index 0000000..f2fc14b
Binary files /dev/null and b/static/images/close2.png differ
diff --git a/static/images/mh-bg.png b/static/images/mh-bg.png
new file mode 100644
index 0000000..6fe9a9c
Binary files /dev/null and b/static/images/mh-bg.png differ
diff --git a/static/images/mh-btn.png b/static/images/mh-btn.png
new file mode 100644
index 0000000..70c00cf
Binary files /dev/null and b/static/images/mh-btn.png differ
diff --git a/static/images/mh-item-bg.png b/static/images/mh-item-bg.png
new file mode 100644
index 0000000..be6bfa8
Binary files /dev/null and b/static/images/mh-item-bg.png differ
diff --git a/static/images/mh-item.png b/static/images/mh-item.png
new file mode 100644
index 0000000..f0e66d6
Binary files /dev/null and b/static/images/mh-item.png differ
diff --git a/static/images/mh-title.png b/static/images/mh-title.png
new file mode 100644
index 0000000..3c57c73
Binary files /dev/null and b/static/images/mh-title.png differ