fix: msg
This commit is contained in:
@@ -26,7 +26,7 @@
|
|||||||
<textarea
|
<textarea
|
||||||
v-model="formData.content"
|
v-model="formData.content"
|
||||||
class="textarea"
|
class="textarea"
|
||||||
placeholder="请输入您的反馈意见,我们将为您不断改进..."
|
placeholder="请输入您的反馈意见,我们将为您不断改进"
|
||||||
placeholder-class="placeholder"
|
placeholder-class="placeholder"
|
||||||
maxlength="200"
|
maxlength="200"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -115,7 +115,7 @@
|
|||||||
:key="i"
|
:key="i"
|
||||||
class="tpl-card title-card"
|
class="tpl-card title-card"
|
||||||
:class="{ selected: title?.id === currentTitle?.id }"
|
:class="{ selected: title?.id === currentTitle?.id }"
|
||||||
@tap="currentTitle = title"
|
@tap="selectTitle(title)"
|
||||||
>
|
>
|
||||||
<image :src="title.imageUrl" class="title-cover" mode="aspectFit" />
|
<image :src="title.imageUrl" class="title-cover" mode="aspectFit" />
|
||||||
<view v-if="title?.id === currentTitle?.id" class="tpl-check">✔</view>
|
<view v-if="title?.id === currentTitle?.id" class="tpl-check">✔</view>
|
||||||
@@ -160,11 +160,6 @@
|
|||||||
/>
|
/>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 下一步引导 -->
|
|
||||||
<view class="next-step-tip" @tap="openTool('title')">
|
|
||||||
<text>选好标题了,去选模板</text>
|
|
||||||
<uni-icons type="arrow-right" size="14" color="#ff3b30"></uni-icons>
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 模板区 -->
|
<!-- 模板区 -->
|
||||||
@@ -195,11 +190,7 @@
|
|||||||
>没有更多了</view
|
>没有更多了</view
|
||||||
>
|
>
|
||||||
</view>
|
</view>
|
||||||
<!-- 下一步引导 -->
|
|
||||||
<view class="next-step-tip" @tap="openTool('title')">
|
|
||||||
<text>选好模板了,去选标题</text>
|
|
||||||
<uni-icons type="arrow-right" size="14" color="#ff3b30"></uni-icons>
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 文字编辑 -->
|
<!-- 文字编辑 -->
|
||||||
@@ -307,12 +298,6 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 下一步引导 -->
|
|
||||||
<view class="next-step-tip" @tap="openTool('position')">
|
|
||||||
<text>文字改好了,去调位置</text>
|
|
||||||
<uni-icons type="arrow-right" size="14" color="#ff3b30"></uni-icons>
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 位置调整 -->
|
<!-- 位置调整 -->
|
||||||
@@ -757,6 +742,16 @@ const currentTemplate = ref(templates.value[0]);
|
|||||||
|
|
||||||
const applyTemplate = (tpl) => {
|
const applyTemplate = (tpl) => {
|
||||||
currentTemplate.value = tpl;
|
currentTemplate.value = tpl;
|
||||||
|
closePanel();
|
||||||
|
};
|
||||||
|
|
||||||
|
const selectTitle = (title) => {
|
||||||
|
if (currentTitle.value?.id === title?.id) {
|
||||||
|
currentTitle.value = null;
|
||||||
|
} else {
|
||||||
|
currentTitle.value = title;
|
||||||
|
closePanel();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const pickImage = () => {
|
const pickImage = () => {
|
||||||
@@ -1381,23 +1376,6 @@ function drawRoundRect(ctx, x, y, w, h, r, color) {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 下一步引导 */
|
|
||||||
.next-step-tip {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
padding: 20rpx 0;
|
|
||||||
margin: 10rpx 24rpx 20rpx;
|
|
||||||
background: #fff6f5;
|
|
||||||
border-radius: 12rpx;
|
|
||||||
color: #ff3b30;
|
|
||||||
font-size: 24rpx;
|
|
||||||
font-weight: 500;
|
|
||||||
}
|
|
||||||
.next-step-tip text {
|
|
||||||
margin-right: 8rpx;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 模板区 */
|
/* 模板区 */
|
||||||
.section {
|
.section {
|
||||||
padding: 12rpx 24rpx 0;
|
padding: 12rpx 24rpx 0;
|
||||||
|
|||||||
@@ -135,11 +135,10 @@
|
|||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { ref, computed, onMounted } from "vue";
|
import { ref, computed, onMounted } from "vue";
|
||||||
import { wxLogin } from "@/utils/login.js";
|
|
||||||
import { getPlatformProvider, getBavBarHeight } from "@/utils/system";
|
|
||||||
import { useUserStore } from "@/stores/user";
|
import { useUserStore } from "@/stores/user";
|
||||||
import { apiLogin } from "@/api/auth.js";
|
import {
|
||||||
|
onShareAppMessage,
|
||||||
|
} from "@dcloudio/uni-app";
|
||||||
import LoginPopup from "@/components/LoginPopup/LoginPopup.vue";
|
import LoginPopup from "@/components/LoginPopup/LoginPopup.vue";
|
||||||
|
|
||||||
const userStore = useUserStore();
|
const userStore = useUserStore();
|
||||||
@@ -167,6 +166,13 @@ onMounted(() => {
|
|||||||
navBarHeight.value = 44;
|
navBarHeight.value = 44;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
onShareAppMessage( () => {
|
||||||
|
return {
|
||||||
|
title: "新年好运已送达 🎊|祝福卡·头像·壁纸",
|
||||||
|
path: "/pages/index/index",
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
const handleUserClick = () => {
|
const handleUserClick = () => {
|
||||||
if (!isLoggedIn.value) {
|
if (!isLoggedIn.value) {
|
||||||
loginPopupRef.value.open();
|
loginPopupRef.value.open();
|
||||||
|
|||||||
Reference in New Issue
Block a user