Compare commits
2 Commits
3463cd1bd8
...
138d104692
| Author | SHA1 | Date |
|---|---|---|
|
|
138d104692 | |
|
|
2e6702a3bf |
|
|
@ -12,7 +12,7 @@
|
||||||
<view class="grid-container">
|
<view class="grid-container">
|
||||||
<view class="card">
|
<view class="card">
|
||||||
<navigator wx:for="{{menuItems}}" wx:key="id" url="{{item.url}}" class="grid-item">
|
<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>
|
<text>{{item.menu_name}}</text>
|
||||||
</navigator>
|
</navigator>
|
||||||
</view>
|
</view>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
// 在config.js
|
// 在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 };
|
export { requestUrl };
|
||||||
|
|
|
||||||
Reference in New Issue