From 5b219a9694c8d69db42e746a654c779cc6a61bf6 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 18 七月 2024 18:42:20 +0800
Subject: [PATCH] ‘’
---
wechat_staff/pages/promotion/index.js | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/wechat_staff/pages/promotion/index.js b/wechat_staff/pages/promotion/index.js
index 8d4d780..21a867e 100644
--- a/wechat_staff/pages/promotion/index.js
+++ b/wechat_staff/pages/promotion/index.js
@@ -1,11 +1,14 @@
-// pages/promotion/index.js
+import { newsPage } from '../../api/index'
Page({
/**
* 椤甸潰鐨勫垵濮嬫暟鎹�
*/
data: {
-
+ capacity: 10,
+ page: 0,
+ list: [],
+ total: 0,
},
/**
@@ -14,10 +17,9 @@
onLoad(options) {
},
-
- /**
- * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鍒濇娓叉煋瀹屾垚
- */
+ getList() {
+ newsPage()
+ },
onReady() {
},
--
Gitblit v1.9.3