leiyun hace 1 mes
padre
commit
35108e3e3b
Se han modificado 29 ficheros con 16 adiciones y 25 borrados
  1. +1
    -1
      pages/profile/profile.vue
  2. +1
    -1
      pages/tool/ai-name.vue
  3. +3
    -3
      pages/tool/anime-avatar.vue
  4. +1
    -1
      pages/tool/id-photo.vue
  5. +1
    -1
      pages/tool/old-photo.vue
  6. +1
    -1
      pages/tool/portrait-photo.vue
  7. +8
    -14
      pages/toolbox/toolbox.vue
  8. +0
    -3
      static/icons/bolt.svg
  9. BIN
     
  10. BIN
     
  11. BIN
     
  12. BIN
     
  13. BIN
     
  14. BIN
     
  15. BIN
     
  16. BIN
     
  17. BIN
     
  18. BIN
     
  19. BIN
     
  20. BIN
     
  21. BIN
     
  22. BIN
     
  23. BIN
     
  24. BIN
     
  25. BIN
     
  26. BIN
     
  27. BIN
     
  28. BIN
     
  29. BIN
     

+ 1
- 1
pages/profile/profile.vue Ver fichero

@@ -5,7 +5,7 @@
<scroll-view class="page-scroll" scroll-y>
<view class="profile-content">
<view class="balance-card" :class="{ 'guest-card': !userStore.isLogin }">
<image class="balance-texture" src="/static/profile/balance_texture.png" mode="aspectFit" />
<image class="balance-texture" src="https://cdn.aionline.cc/ai/profile/balance_texture.png" mode="aspectFit" />
<view v-if="userStore.isLogin" class="balance-copy">
<text class="hello">{{ `Hi,${userStore.nickname || 'AI在线用户'}!` }}</text>
<text class="balance-label">点数余额</text>


+ 1
- 1
pages/tool/ai-name.vue Ver fichero

@@ -195,7 +195,7 @@
<view class="buttons">
<view class="history-btn" @click="goHistory">历史记录</view>
<view class="submit-btn" :class="{ disabled: submitting }" @click="submit">
<image v-if="!submitting" class="submit-icon" src="/static/icons/bolt.svg" mode="aspectFit" />
<image v-if="!submitting" class="submit-icon" src="https://cdn.aionline.cc/ai/icons/bolt.svg" mode="aspectFit" />
<text>{{ submitting ? '生成中...' : submitText }}</text>
</view>
</view>


+ 3
- 3
pages/tool/anime-avatar.vue Ver fichero

@@ -171,7 +171,7 @@
<view class="buttons">
<view class="history-btn" @click="goHistory">历史记录</view>
<view class="submit-btn" :class="{ disabled: submitting }" @click="submit">
<image v-if="!submitting" class="submit-icon" src="/static/icons/bolt.svg" mode="aspectFit" />
<image v-if="!submitting" class="submit-icon" src="https://cdn.aionline.cc/ai/icons/bolt.svg" mode="aspectFit" />
<text>{{ submitting ? '生成中...' : submitText }}</text>
</view>
</view>
@@ -193,7 +193,7 @@ const ANIME_BILLING_MODEL = 'tencent_anime'

const appDetail = ref({})
const demoList = ref([])
const styleList = ref([{ value: '201', name: '默认', model: 2, pic: '/static/toolbox/home_card_avatar.png' }])
const styleList = ref([{ value: '201', name: '默认', model: 2, pic: 'https://cdn.aionline.cc/ai/toolbox/home_card_avatar.png' }])
const previewImage = ref('')
const uploading = ref(false)
const submitting = ref(false)
@@ -289,7 +289,7 @@ async function loadDemo() {
}
}
if (!demoList.value.length) {
demoList.value = [{ original: '/static/toolbox/home_card_avatar.png', anime: '/static/toolbox/home_card_avatar.png' }]
demoList.value = [{ original: 'https://cdn.aionline.cc/ai/toolbox/home_card_avatar.png', anime: 'https://cdn.aionline.cc/ai/toolbox/home_card_avatar.png' }]
}
} catch (e) {}
}


+ 1
- 1
pages/tool/id-photo.vue Ver fichero

@@ -272,7 +272,7 @@
<image
v-if="!creating && !rerendering && !result"
class="submit-icon"
src="/static/icons/bolt.svg"
src="https://cdn.aionline.cc/ai/icons/bolt.svg"
mode="aspectFit"
/>
<text>{{ primaryText }}</text>


+ 1
- 1
pages/tool/old-photo.vue Ver fichero

@@ -129,7 +129,7 @@
<view class="buttons">
<view class="history-btn" @click="goHistory">历史记录</view>
<view class="submit-btn" :class="{ disabled: submitDisabled }" @click="submit">
<image class="submit-icon" src="/static/icons/bolt.svg" mode="aspectFit" />
<image class="submit-icon" src="https://cdn.aionline.cc/ai/icons/bolt.svg" mode="aspectFit" />
<text>{{ submitText }}</text>
</view>
</view>


+ 1
- 1
pages/tool/portrait-photo.vue Ver fichero

@@ -218,7 +218,7 @@
<view class="buttons">
<view class="history-btn" @click="goHistory">生成记录</view>
<view class="submit-btn" :class="{ disabled: submitDisabled }" @click="submit">
<image class="submit-icon" src="/static/icons/bolt.svg" mode="aspectFit" />
<image class="submit-icon" src="https://cdn.aionline.cc/ai/icons/bolt.svg" mode="aspectFit" />
<text>{{ submitText }}</text>
</view>
</view>


+ 8
- 14
pages/toolbox/toolbox.vue Ver fichero

@@ -10,7 +10,7 @@
@refresherrefresh="onRefresh"
>
<view class="toolbox-content">
<swiper class="hero" circular autoplay :interval="4000" @change="onBannerChange">
<swiper v-if="banners.length" class="hero" circular autoplay :interval="4000" @change="onBannerChange">
<swiper-item v-for="(banner, i) in banners" :key="i" @click="onTool(banner)">
<image class="hero-img" :src="banner.image" mode="aspectFill" />
</swiper-item>
@@ -56,28 +56,22 @@ import { useApp } from '@/utils/useApp.js'
const { toast } = useApp()
const refreshing = ref(false)
const bannerIndex = ref(0)
const AI_CDN_BASE = 'https://cdn.aionline.cc/ai'

const defaultBanners = [
{
image: '/static/toolbox/home_banner_note17.png',
title: 'Note 17 系列',
link_type: 'none',
type: ''
}
]
const defaultBanners = []

const defaultRecommends = [
{
name: 'AI动漫头像',
title: 'AI动漫头像',
image: '/static/toolbox/home_card_avatar.png',
image: `${AI_CDN_BASE}/toolbox/home_card_avatar.png`,
link_type: 'app',
type: 'anime-avatar'
},
{
name: 'AI取名',
title: 'AI取名',
image: '/static/toolbox/home_card_name.png',
image: `${AI_CDN_BASE}/toolbox/home_card_name.png`,
link_type: 'app',
type: 'ai-name'
}
@@ -85,7 +79,7 @@ const defaultRecommends = [

const defaultApps = [
{
icon: '/static/toolbox/tool_id_photo.png',
icon: `${AI_CDN_BASE}/toolbox/tool_id_photo.png`,
name: 'AI证件照/签证照',
title: 'AI证件照/签证照',
desc: '各类规格证件照、免冠照、换底色换正装',
@@ -94,7 +88,7 @@ const defaultApps = [
type: 'id-photo'
},
{
icon: '/static/toolbox/tool_portrait.png',
icon: `${AI_CDN_BASE}/toolbox/tool_portrait.png`,
name: 'AI形象照/职业照/写真',
title: 'AI形象照/职业照/写真',
desc: '上传自拍生成职业照、艺术写真、古风',
@@ -103,7 +97,7 @@ const defaultApps = [
type: 'portrait-photo'
},
{
icon: '/static/toolbox/tool_id_photo.png',
icon: `${AI_CDN_BASE}/toolbox/tool_id_photo.png`,
name: '老照片上色',
title: '老照片上色',
desc: '模糊破损老照片修复、黑白照片自然上色',


+ 0
- 3
static/icons/bolt.svg Ver fichero

@@ -1,3 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M1.652 6.074 7.342.197c.377-.39 1.032-.063.947.473L7.68 4.484a.556.556 0 0 0 .618.639l1.573-.196a.556.556 0 0 1 .466.939L4.61 11.745c-.38.39-1.035.058-.946-.479l.633-3.806a.556.556 0 0 0-.616-.642l-1.561.194a.556.556 0 0 1-.468-.938"/>
</svg>






















Cargando…
Cancelar
Guardar