feat: 更换图标
|
|
@ -9,7 +9,7 @@ export default defineAppConfig({
|
|||
],
|
||||
tabBar: {
|
||||
color: '#999999',
|
||||
selectedColor: '#007AFF',
|
||||
selectedColor: '#ea9518',
|
||||
backgroundColor: '#FFFFFF',
|
||||
borderStyle: 'black',
|
||||
list: [
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 6.6 KiB |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 6.9 KiB |
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.2 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
|
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 7.6 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.5 KiB |
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB |
|
|
@ -1,8 +1,8 @@
|
|||
export default definePageConfig({
|
||||
navigationBarTitleText: '历史记录',
|
||||
navigationBarBackgroundColor: '#2c3e50',
|
||||
navigationBarBackgroundColor: '#ea9518',
|
||||
navigationBarTextStyle: 'white',
|
||||
backgroundColorTop: '#2c3e50',
|
||||
backgroundColorBottom: '#34495e',
|
||||
backgroundColor: '#2c3e50'
|
||||
backgroundColorTop: '#ea9518',
|
||||
backgroundColorBottom: '#ea9518',
|
||||
backgroundColor: '#ea9518'
|
||||
})
|
||||
|
|
@ -89,12 +89,6 @@ export default function History() {
|
|||
) : (
|
||||
records.map((record) => (
|
||||
<View key={record.id} className='history-item'>
|
||||
<View className='item-thumbnail'>
|
||||
<Text className='thumbnail-icon'>
|
||||
{record.type === 'image-to-video' ? '🎬' : '🖼️'}
|
||||
</Text>
|
||||
</View>
|
||||
|
||||
<View className='item-content'>
|
||||
<View className='item-header'>
|
||||
<Text className='item-title'>{record.templateName}</Text>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
export default definePageConfig({
|
||||
navigationBarTitleText: '首页',
|
||||
navigationBarBackgroundColor: '#2c3e50',
|
||||
navigationBarBackgroundColor: '#ea9518',
|
||||
navigationBarTextStyle: 'white',
|
||||
backgroundColorTop: '#2c3e50',
|
||||
backgroundColorBottom: '#34495e',
|
||||
backgroundColor: '#2c3e50'
|
||||
backgroundColorTop: '#ea9518',
|
||||
backgroundColorBottom: '#ea9518',
|
||||
backgroundColor: '#ea9518'
|
||||
})
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
export default definePageConfig({
|
||||
navigationBarTitleText: '图片预览',
|
||||
navigationBarBackgroundColor: '#2c3e50',
|
||||
navigationBarBackgroundColor: '#ea9518',
|
||||
navigationBarTextStyle: 'white',
|
||||
backgroundColorTop: '#2c3e50',
|
||||
backgroundColorBottom: '#34495e',
|
||||
backgroundColor: '#2c3e50'
|
||||
backgroundColorTop: '#ea9518',
|
||||
backgroundColorBottom: '#ea9518',
|
||||
backgroundColor: '#ea9518'
|
||||
})
|
||||
|
|
@ -99,7 +99,8 @@ export class SdkServer {
|
|||
|
||||
const response = await Taro.request({
|
||||
...requestConfig,
|
||||
dataType: 'json'
|
||||
dataType: 'json',
|
||||
mode: `cors`
|
||||
});
|
||||
|
||||
console.log(`SDK Server response:`, {
|
||||
|
|
@ -108,7 +109,7 @@ export class SdkServer {
|
|||
header: response.header
|
||||
});
|
||||
|
||||
if (response.statusCode === 200) {
|
||||
if (response.statusCode === 200 || response.statusCode === 201) {
|
||||
const apiResponse = response.data as ApiResponse<T>;
|
||||
|
||||
// 检查API响应状态
|
||||
|
|
|
|||