Compare commits

...

2 Commits

Author SHA1 Message Date
wangsiyuan 138d104692 更新 config.js 2024-01-09 15:22:47 +08:00
wangsiyuan 2e6702a3bf 更新 home.wxml 2024-01-09 15:22:44 +08:00
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@
<view class="grid-container">
<view class="card">
<navigator wx:for="{{menuItems}}" wx:key="id" url="{{item.url}}" class="grid-item">
<image src="data:image/png;base64,{{item.base64EncodedImage}}"></image>
<image src="{{item.image_url}}"></image>
<text>{{item.menu_name}}</text>
</navigator>
</view>

View File

@ -1,6 +1,6 @@
// 在config.js
//本地测试
// const requestUrl = "http://127.0.0.1:8000";
const requestUrl = "http://127.0.0.1:8000";
// 服务器测试
const requestUrl = "https://wx-ed1284f.kimgo.cn";
// const requestUrl = "https://wx-ed1284f.kimgo.cn";
export { requestUrl };