修改2025.9.23
This commit is contained in:
@@ -10,8 +10,11 @@
|
|||||||
"window": {
|
"window": {
|
||||||
"navigationBarTextStyle": "black",
|
"navigationBarTextStyle": "black",
|
||||||
"navigationBarTitleText": "",
|
"navigationBarTitleText": "",
|
||||||
"navigationBarBackgroundColor": "#f5f7fa"
|
"navigationBarBackgroundColor": "#f5f7fa",
|
||||||
|
"darkmode": false
|
||||||
},
|
},
|
||||||
"componentFramework": "glass-easel",
|
"componentFramework": "glass-easel",
|
||||||
"lazyCodeLoading": "requiredComponents"
|
"lazyCodeLoading": "requiredComponents",
|
||||||
|
"darkmode": false
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
// app.ts
|
// app.ts
|
||||||
|
|
||||||
App<IAppOption>({
|
App<IAppOption>({
|
||||||
globalData: {
|
globalData: {
|
||||||
token: "",
|
token: "",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
const env = wx.getAccountInfoSync().miniProgram.envVersion; // 获取当前环境(develop/trial/release)
|
const env = wx.getAccountInfoSync().miniProgram.envVersion; // 获取当前环境(develop/trial/release)
|
||||||
const config = {
|
const config = {
|
||||||
develop: { apiBaseUrl: 'http://localhost:9096' }, // 开发环境(本地调试)
|
develop: { apiBaseUrl: 'http://192.168.5.5:9096' }, // 开发环境(本地调试)
|
||||||
trial: { apiBaseUrl: 'https://test-api.example.com' }, // 体验版(测试环境)
|
trial: { apiBaseUrl: 'https://test-api.example.com' }, // 体验版(测试环境)
|
||||||
release: { apiBaseUrl: 'https://api.example.com' } // 正式版(生产环境)
|
release: { apiBaseUrl: 'https://api.example.com' } // 正式版(生产环境)
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
"t-grid-item": "tdesign-miniprogram/grid-item/grid-item",
|
"t-grid-item": "tdesign-miniprogram/grid-item/grid-item",
|
||||||
"t-avatar": "tdesign-miniprogram/avatar/avatar",
|
"t-avatar": "tdesign-miniprogram/avatar/avatar",
|
||||||
"t-avatar-group": "tdesign-miniprogram/avatar-group/avatar-group",
|
"t-avatar-group": "tdesign-miniprogram/avatar-group/avatar-group",
|
||||||
"t-toast": "tdesign-miniprogram/toast/toast"
|
"t-toast": "tdesign-miniprogram/toast/toast",
|
||||||
|
"t-divider": "tdesign-miniprogram/divider/divider"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -4,6 +4,7 @@
|
|||||||
<a class="avatar-font" bind:tap="userlogin">{{hasToken ? (username || '用户中心') : '点击登录/注册'}}</a>
|
<a class="avatar-font" bind:tap="userlogin">{{hasToken ? (username || '用户中心') : '点击登录/注册'}}</a>
|
||||||
<t-toast id="t-toast" />
|
<t-toast id="t-toast" />
|
||||||
</view>
|
</view>
|
||||||
|
<t-divider />
|
||||||
<view class="block" class="server1">
|
<view class="block" class="server1">
|
||||||
<t-grid column="{{4}}" theme="card" >
|
<t-grid column="{{4}}" theme="card" >
|
||||||
<t-grid-item t-class-image="image" text="标题文字" image="{{img1}}" />
|
<t-grid-item t-class-image="image" text="标题文字" image="{{img1}}" />
|
||||||
|
|||||||
Reference in New Issue
Block a user