diff --git a/components/center/popupActivate.vue b/components/center/popupActivate.vue
new file mode 100644
index 0000000..381b0bc
--- /dev/null
+++ b/components/center/popupActivate.vue
@@ -0,0 +1,111 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/index/center.vue b/pages/index/center.vue
index f72f717..38e3728 100644
--- a/pages/index/center.vue
+++ b/pages/index/center.vue
@@ -42,7 +42,7 @@
将于{{ agentDeadline }}到期
-
+
@@ -50,7 +50,7 @@
升级成为代理商享受更多权益
-
+
@@ -131,6 +131,8 @@
+
+
@@ -140,7 +142,7 @@
import {
mapGetters
} from 'vuex'
- import userShopCommission from '@/components/userShop/userShopCommission.vue'
+ import popupActivate from '@/components/center/popupActivate.vue'
const URL_MAPPING = { // state -> url
'-1': '/pages_order/sharing/personal',
@@ -152,14 +154,14 @@
export default {
components: {
tabber,
- userShopCommission,
+ popupActivate,
},
computed: {
...mapGetters(['userShop']),
},
data() {
return {
- isAgent: true,
+ isAgent: false,
agentDeadline: '2025年12月31日',
notice: '如果您在使用中有任何问题或建议,请联系客服',
updateList: [
@@ -235,13 +237,13 @@
// todo
},
onActivate() {
- // todo
+ this.$refs.popupActivate.open(this.isAgent)
},
goToSharingDetail(id, state) {
uni.navigateTo({
url: `${URL_MAPPING[state]}?id=${id}`
})
- }
+ },
}
}
diff --git a/static/image/center/activate-code.png b/static/image/center/activate-code.png
new file mode 100644
index 0000000..7e5d99f
Binary files /dev/null and b/static/image/center/activate-code.png differ
diff --git a/static/image/center/activate.png b/static/image/center/activate.png
new file mode 100644
index 0000000..88a841e
Binary files /dev/null and b/static/image/center/activate.png differ
diff --git a/static/image/center/cancel.png b/static/image/center/cancel.png
new file mode 100644
index 0000000..02fdb82
Binary files /dev/null and b/static/image/center/cancel.png differ
diff --git a/static/image/center/confirm.png b/static/image/center/confirm.png
new file mode 100644
index 0000000..e4fb252
Binary files /dev/null and b/static/image/center/confirm.png differ