Sfoglia il codice sorgente

Merge branch 'master' into dev

master
HolyKnightIX 1 anno fa
parent
commit
3c038c893f
7 ha cambiato i file con 59 aggiunte e 10 eliminazioni
  1. BIN
      src/assets/img/homeImg.jpg
  2. BIN
      src/assets/img/homeImg.png
  3. +1
    -1
      src/pages/closeStyle/goCreatePhoto.vue
  4. +27
    -3
      src/pages/index/index.vue
  5. +4
    -4
      src/pages/login/index.vue
  6. +1
    -1
      src/pages/lookPhoto/index.vue
  7. +26
    -1
      src/pages/uploadPhoto/uploadPhoto.vue

BIN
src/assets/img/homeImg.jpg Vedi File

Prima Dopo
Larghezza: 720  |  Altezza: 1373  |  Dimensione: 128 KiB

BIN
src/assets/img/homeImg.png Vedi File

Prima Dopo
Larghezza: 750  |  Altezza: 1430  |  Dimensione: 205 KiB

+ 1
- 1
src/pages/closeStyle/goCreatePhoto.vue Vedi File

@@ -2,7 +2,7 @@
<view class="page">
<!-- 毛玻璃 -->
<view class="glass">
<image src="../../assets/img/homeImg.png" mode="scaleToFill" />
<image src="../../assets/img/homeImg.jpg" mode="scaleToFill" />
</view>
<view class="showImgBox imgContenBox"
><image :src="styleData.coverImg"


+ 27
- 3
src/pages/index/index.vue Vedi File

@@ -5,7 +5,7 @@
<!-- 毛玻璃 -->
<view class="glass">
<image src="../../assets/img/homeImg.png" mode="scaleToFill" />
<image src="../../assets/img/homeImg.jpg" mode="scaleToFill" />
</view>
<!-- 头像 -->
<view class="avatarBox">
@@ -212,7 +212,13 @@
<script setup>
//#region 导入
import dayjs from "dayjs";
import { onLoad, onShow } from "@dcloudio/uni-app";
import {
onLoad,
onShareAppMessage,
onShareTimeline,
onAddToFavorites,
onShow,
} from "@dcloudio/uni-app";
import { ref, reactive, computed, inject } from "vue";
// import App from "../../App.vue";
import {
@@ -506,8 +512,26 @@ onShow(() => {
}
});
//#endregion ---------------------------
// 分享到朋友圈
// onShareTimeline((res) => {
// return {
// title: "邃芒智像",
// };
// });
// 收藏
// onAddToFavorites((res) => {
// return {
// title: "邃芒智像",
// };
// });
//#endregion ---------------------------
onShareAppMessage((res) => {
return {
title: "邃芒智像",
};
});
//#region
//#endregion ---------------------------


+ 4
- 4
src/pages/login/index.vue Vedi File

@@ -1,7 +1,7 @@
<template>
<view :class="pageClass">
<!-- mode="aspectFit" -->
<image class="bgImg" src="../../assets/img/homeImg.png" />
<image class="bgImg" src="../../assets/img/homeImg.jpg" />
<!-- 视频,已废弃 -->
<view v-show="false" class="videoBox">
<!-- <video
@@ -26,7 +26,7 @@
id="getPhoneNumber"
@click="toCreate"
>
开始制作我的数字分身
开始制作我的数字写真
</button>
<button
v-if="checkboxValue[0]"
@@ -36,9 +36,9 @@
id="getPhoneNumber"
@getphonenumber="toCreate"
>
开始制作我的数字分身
开始制作我的数字写真
</button>
<!-- <view class="bottomBtn" @click="toCreate"> 开始制作我的数字分身 </view> -->
<!-- <view class="bottomBtn" @click="toCreate"> 开始制作我的数字写真 </view> -->
<u-checkbox-group
v-model="checkboxValue"
placement="row"


+ 1
- 1
src/pages/lookPhoto/index.vue Vedi File

@@ -255,7 +255,7 @@ async function photoSupper() {
console.log(res);
uni.hideLoading();
uni.showToast({
title: "高清处理请求成功,请重稍后",
title: "高清处理请求成功,请稍等",
icon: "none",
});


+ 26
- 1
src/pages/uploadPhoto/uploadPhoto.vue Vedi File

@@ -86,7 +86,13 @@
<script setup>
//#region 导入
import { ref, reactive, nextTick } from "vue";
import { onLoad, onShow } from "@dcloudio/uni-app";
import {
onLoad,
onShareAppMessage,
onShareTimeline,
onAddToFavorites,
onShow,
} from "@dcloudio/uni-app";
import { loginApi } from "../../api/login";
import { addImageApi } from "../../api/uploadphoto.js";
import { userInfoModules } from "@/store/modules/userInfo";
@@ -419,6 +425,25 @@ onShow(() => {
});
//#endregion ---------------------
onShareAppMessage((res) => {
return {
title: "邃芒智像",
};
});
// 分享到朋友圈
onShareTimeline((res) => {
return {
title: "邃芒智像",
};
});
// 收藏
onAddToFavorites((res) => {
return {
title: "邃芒智像",
};
});
//#region 公共方法
function goOtherPage(url) {


Caricamento…
Annulla
Salva