diff --git a/dof-api.js b/dof-api.js index c8c1b06..1d7b518 100644 --- a/dof-api.js +++ b/dof-api.js @@ -1,6 +1,6 @@ -// const baseurl = "http://192.168.110.39:8080"; // 本地 +const baseurl = "http://192.168.110.39:8080"; // 本地 // const baseurl = "http://lottery.unipay.test.86698.cn/api"; // 测试 -const baseurl = "https://lottery.unipay.api.86698.cn"; // 正式 +// const baseurl = "https://lottery.unipay.api.86698.cn"; // 正式 // 统一请求 // 返送之前 axios.interceptors.request.use((config) => { diff --git a/index-style.css b/index-style.css index 49d20aa..edda938 100644 --- a/index-style.css +++ b/index-style.css @@ -8,14 +8,12 @@ width: 100%; padding-bottom: 0.2rem; position: relative; + background-color: #3387c2; } .banner { width: 100%; height: 3.68rem; - background: url("https://lsxd-customcard-h5.oss-cn-hangzhou.aliyuncs.com/department-of-finance/img/banner1.png?v=222") - no-repeat; - background-size: 100%; } .goods-box { diff --git a/index.html b/index.html index b823d7a..6c4c6c8 100644 --- a/index.html +++ b/index.html @@ -33,7 +33,9 @@
- +
@@ -119,6 +121,11 @@ createApp({ setup() { const state = reactive({ + bg: [ + "https://lsxd-customcard-h5.oss-cn-hangzhou.aliyuncs.com/department-of-finance/img/banner1.png?v=222", + "https://lsxd-customcard-h5.oss-cn-hangzhou.aliyuncs.com/department-of-finance/img/banner2.png?v=333", + ], + id: 11, token: "", showPage: false, showPop: false, @@ -279,6 +286,7 @@ try { req.axiosGet("/front/homeData").then(res => { if (res.code === 200) { + state.id = res.data.id; state.goodsList = res.data.prizes; // 设置勾选 let el = res.data.prizes.find(item => item.is_receive === 1);