2025-07-29 10:46:37 +08:00
|
|
|
|
<script setup>
|
2025-10-11 09:06:56 +08:00
|
|
|
|
import { ref, onMounted, computed } from "vue";
|
2025-11-04 14:18:44 +08:00
|
|
|
|
import { onLoad, onShareAppMessage, onShareTimeline } from "@dcloudio/uni-app";
|
2025-07-30 09:55:15 +08:00
|
|
|
|
import Container from "@/components/Container.vue";
|
2025-08-05 11:51:09 +08:00
|
|
|
|
import BowTargetEdit from "@/components/BowTargetEdit.vue";
|
2025-07-30 09:55:15 +08:00
|
|
|
|
import ScreenHint2 from "@/components/ScreenHint2.vue";
|
2025-10-11 09:06:56 +08:00
|
|
|
|
import RingBarChart from "@/components/RingBarChart.vue";
|
2025-07-30 09:55:15 +08:00
|
|
|
|
|
2025-11-04 11:54:22 +08:00
|
|
|
|
import { getPointBookDetailAPI, addNoteAPI } from "@/apis";
|
2025-08-04 17:54:59 +08:00
|
|
|
|
|
2025-07-30 09:55:15 +08:00
|
|
|
|
const selectedIndex = ref(0);
|
|
|
|
|
|
const showTip = ref(false);
|
|
|
|
|
|
const showTip2 = ref(false);
|
2025-11-04 11:54:22 +08:00
|
|
|
|
const showTip3 = ref(false);
|
2025-08-05 11:51:09 +08:00
|
|
|
|
const groups = ref([]);
|
|
|
|
|
|
const data = ref({});
|
2025-10-11 09:06:56 +08:00
|
|
|
|
const targetId = ref(0);
|
2025-08-05 11:51:09 +08:00
|
|
|
|
const targetSrc = ref("");
|
|
|
|
|
|
const arrows = ref([]);
|
2025-11-04 11:54:22 +08:00
|
|
|
|
const notes = ref("");
|
|
|
|
|
|
const draftNotes = ref("");
|
|
|
|
|
|
const recordId = ref("");
|
2025-07-30 09:55:15 +08:00
|
|
|
|
|
|
|
|
|
|
const openTip = (index) => {
|
|
|
|
|
|
if (index === 1) showTip.value = true;
|
|
|
|
|
|
else if (index === 2) showTip2.value = true;
|
2025-11-04 11:54:22 +08:00
|
|
|
|
else if (index === 3) showTip3.value = true;
|
2025-07-30 09:55:15 +08:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
const closeTip = () => {
|
|
|
|
|
|
showTip.value = false;
|
|
|
|
|
|
showTip2.value = false;
|
2025-11-04 11:54:22 +08:00
|
|
|
|
showTip3.value = false;
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
const saveNote = async () => {
|
|
|
|
|
|
notes.value = draftNotes.value;
|
|
|
|
|
|
draftNotes.value = "";
|
|
|
|
|
|
showTip3.value = false;
|
|
|
|
|
|
if (recordId.value) {
|
|
|
|
|
|
await addNoteAPI(recordId.value, notes.value);
|
|
|
|
|
|
}
|
2025-07-30 09:55:15 +08:00
|
|
|
|
};
|
2025-08-05 11:51:09 +08:00
|
|
|
|
|
|
|
|
|
|
const onSelect = (index) => {
|
|
|
|
|
|
selectedIndex.value = index;
|
|
|
|
|
|
data.value = groups.value[index];
|
|
|
|
|
|
arrows.value = groups.value[index].list.filter((item) => item.x && item.y);
|
|
|
|
|
|
};
|
|
|
|
|
|
|
2025-08-05 15:58:43 +08:00
|
|
|
|
const goBack = () => {
|
2025-09-27 10:09:02 +08:00
|
|
|
|
const pages = getCurrentPages();
|
|
|
|
|
|
const currentPage = pages[pages.length - 2];
|
2025-09-24 21:05:06 +08:00
|
|
|
|
uni.navigateBack({
|
2025-09-27 10:09:02 +08:00
|
|
|
|
delta: currentPage.route === "pages/point-book" ? 1 : 2,
|
2025-09-24 21:05:06 +08:00
|
|
|
|
});
|
2025-08-05 15:58:43 +08:00
|
|
|
|
};
|
|
|
|
|
|
|
2025-10-11 09:06:56 +08:00
|
|
|
|
const ringRates = computed(() => {
|
|
|
|
|
|
const rates = new Array(12).fill(0);
|
|
|
|
|
|
arrows.value.forEach((item) => {
|
|
|
|
|
|
if (item.ring === -1) rates[11] += 1;
|
|
|
|
|
|
else rates[item.ring] += 1;
|
|
|
|
|
|
});
|
|
|
|
|
|
return rates.map((r) => r / arrows.value.length);
|
|
|
|
|
|
});
|
|
|
|
|
|
|
2025-08-05 11:51:09 +08:00
|
|
|
|
onLoad(async (options) => {
|
|
|
|
|
|
if (options.id) {
|
2025-11-04 14:18:44 +08:00
|
|
|
|
const result = await getPointBookDetailAPI(options.id || 194);
|
2025-11-04 11:54:22 +08:00
|
|
|
|
recordId.value = result.id;
|
|
|
|
|
|
notes.value = result.remark || "";
|
2025-08-05 11:51:09 +08:00
|
|
|
|
const config = uni.getStorageSync("point-book-config");
|
|
|
|
|
|
config.targetOption.some((item) => {
|
|
|
|
|
|
if (item.id === result.targetType) {
|
2025-08-19 16:48:33 +08:00
|
|
|
|
targetId.value = item.id;
|
2025-08-05 11:51:09 +08:00
|
|
|
|
targetSrc.value = item.icon;
|
|
|
|
|
|
}
|
|
|
|
|
|
});
|
|
|
|
|
|
if (result.groups) {
|
|
|
|
|
|
groups.value = result.groups;
|
|
|
|
|
|
data.value = result.groups[0];
|
2025-10-11 09:06:56 +08:00
|
|
|
|
arrows.value = result.groups[0].list;
|
2025-08-05 11:51:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
});
|
2025-11-04 14:18:44 +08:00
|
|
|
|
|
|
|
|
|
|
onShareAppMessage(() => {
|
|
|
|
|
|
return {
|
|
|
|
|
|
title: "射箭打卡,今日又精进了一些~",
|
|
|
|
|
|
path: "/pages/point-book-detail?id=" + recordId.value,
|
|
|
|
|
|
imageUrl:
|
|
|
|
|
|
"https://static.shelingxingqiu.com/attachment/2025-09-12/dcqoz26q0268wxmzjg.png",
|
|
|
|
|
|
};
|
|
|
|
|
|
});
|
|
|
|
|
|
onShareTimeline(() => {
|
|
|
|
|
|
return {
|
|
|
|
|
|
title: "射箭打卡,今日又精进了一些~",
|
|
|
|
|
|
query: "from=timeline",
|
|
|
|
|
|
imageUrl:
|
|
|
|
|
|
"https://static.shelingxingqiu.com/attachment/2025-09-12/dcqoz26q0268wxmzjg.png",
|
|
|
|
|
|
};
|
|
|
|
|
|
});
|
2025-07-29 10:46:37 +08:00
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<template>
|
2025-09-24 21:05:06 +08:00
|
|
|
|
<Container
|
|
|
|
|
|
:bgType="2"
|
|
|
|
|
|
bgColor="#F5F5F5"
|
|
|
|
|
|
:whiteBackArrow="false"
|
|
|
|
|
|
title="分析"
|
|
|
|
|
|
:onBack="goBack"
|
|
|
|
|
|
>
|
2025-07-30 09:55:15 +08:00
|
|
|
|
<view class="container">
|
2025-11-04 14:18:44 +08:00
|
|
|
|
<!-- <view class="tab-bar">
|
2025-07-30 09:55:15 +08:00
|
|
|
|
<view
|
2025-08-05 11:51:09 +08:00
|
|
|
|
v-for="(_, index) in groups"
|
2025-07-30 09:55:15 +08:00
|
|
|
|
:key="index"
|
2025-08-05 11:51:09 +08:00
|
|
|
|
@click="onSelect(index)"
|
2025-08-06 18:36:30 +08:00
|
|
|
|
:style="{ borderColor: selectedIndex === index ? '#FED847' : '#fff' }"
|
2025-07-30 09:55:15 +08:00
|
|
|
|
>
|
|
|
|
|
|
<text
|
|
|
|
|
|
:style="{
|
2025-08-06 18:36:30 +08:00
|
|
|
|
color: selectedIndex === index ? '#000' : '#333',
|
2025-07-30 09:55:15 +08:00
|
|
|
|
fontSize: selectedIndex === index ? '15px' : '13px',
|
|
|
|
|
|
letterSpacing: index !== 0 ? '2px' : '0',
|
|
|
|
|
|
}"
|
|
|
|
|
|
>{{ index === 0 ? "全部" : `第${index}组` }}</text
|
|
|
|
|
|
>
|
|
|
|
|
|
</view>
|
2025-11-04 14:18:44 +08:00
|
|
|
|
</view> -->
|
2025-07-30 09:55:15 +08:00
|
|
|
|
<view class="detail-data">
|
|
|
|
|
|
<view>
|
|
|
|
|
|
<view
|
|
|
|
|
|
:style="{ display: 'flex', alignItems: 'center' }"
|
|
|
|
|
|
@click="() => openTip(1)"
|
|
|
|
|
|
>
|
|
|
|
|
|
<text>落点稳定性</text>
|
|
|
|
|
|
<image
|
|
|
|
|
|
src="../static/s-question-mark.png"
|
|
|
|
|
|
mode="widthFix"
|
|
|
|
|
|
class="question-mark"
|
|
|
|
|
|
/>
|
|
|
|
|
|
</view>
|
2025-08-05 11:51:09 +08:00
|
|
|
|
<text>{{ Number((data.stability || 0).toFixed(2)) }}</text>
|
2025-07-30 09:55:15 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
<view>
|
|
|
|
|
|
<view>黄心率</view>
|
2025-08-05 11:51:09 +08:00
|
|
|
|
<text>{{ Number((data.yellowRate * 100).toFixed(2)) }}%</text>
|
2025-07-30 09:55:15 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
<view>
|
|
|
|
|
|
<view>10环数</view>
|
2025-08-05 11:51:09 +08:00
|
|
|
|
<text>{{ data.tenRings }}</text>
|
2025-07-30 09:55:15 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
<view>
|
|
|
|
|
|
<view>平均环数</view>
|
2025-08-05 11:51:09 +08:00
|
|
|
|
<text>{{ Number((data.averageRing || 0).toFixed(2)) }}</text>
|
2025-07-30 09:55:15 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
<view>
|
|
|
|
|
|
<view>总环数</view>
|
2025-08-05 11:51:09 +08:00
|
|
|
|
<text>{{ data.userTotalRing }}/{{ data.totalRing }}</text>
|
2025-07-30 09:55:15 +08:00
|
|
|
|
</view>
|
2025-11-04 11:54:22 +08:00
|
|
|
|
<button hover-class="none" @click="() => openTip(3)">
|
|
|
|
|
|
<image src="../static/edit.png" mode="widthFix" />
|
|
|
|
|
|
<text>备注</text>
|
|
|
|
|
|
</button>
|
2025-07-30 09:55:15 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
<view class="title-bar">
|
|
|
|
|
|
<view />
|
|
|
|
|
|
<text>落点分布</text>
|
2025-11-04 14:18:44 +08:00
|
|
|
|
<!-- <button hover-class="none" @click="() => openTip(2)">
|
2025-07-30 09:55:15 +08:00
|
|
|
|
<image
|
|
|
|
|
|
src="../static/s-question-mark.png"
|
|
|
|
|
|
mode="widthFix"
|
|
|
|
|
|
class="question-mark"
|
|
|
|
|
|
/>
|
2025-11-04 14:18:44 +08:00
|
|
|
|
</button> -->
|
2025-07-30 09:55:15 +08:00
|
|
|
|
</view>
|
2025-10-21 15:13:22 +08:00
|
|
|
|
<view :style="{ transform: 'translateY(-45rpx)' }">
|
|
|
|
|
|
<BowTargetEdit
|
|
|
|
|
|
:id="targetId"
|
|
|
|
|
|
:src="targetSrc"
|
|
|
|
|
|
:arrows="arrows.filter((item) => item.x && item.y)"
|
|
|
|
|
|
:editMode="false"
|
|
|
|
|
|
/>
|
2025-10-11 09:06:56 +08:00
|
|
|
|
</view>
|
2025-11-04 14:18:44 +08:00
|
|
|
|
<view :style="{ transform: 'translateY(-60rpx)' }">
|
|
|
|
|
|
<!-- <view class="title-bar">
|
2025-10-21 15:13:22 +08:00
|
|
|
|
<view />
|
|
|
|
|
|
<text>环值分布</text>
|
2025-11-04 14:18:44 +08:00
|
|
|
|
</view> -->
|
2025-10-21 15:13:22 +08:00
|
|
|
|
<view :style="{ padding: '0 30rpx' }">
|
|
|
|
|
|
<RingBarChart :data="ringRates" />
|
|
|
|
|
|
</view>
|
2025-11-04 14:18:44 +08:00
|
|
|
|
<!-- <view class="title-bar" :style="{ marginTop: '30rpx' }">
|
2025-10-21 15:13:22 +08:00
|
|
|
|
<view />
|
|
|
|
|
|
<text>{{
|
|
|
|
|
|
selectedIndex === 0 ? "每组环数" : `第${selectedIndex}组环数`
|
2025-10-11 09:06:56 +08:00
|
|
|
|
}}</text>
|
2025-11-04 14:18:44 +08:00
|
|
|
|
</view> -->
|
2025-10-21 15:13:22 +08:00
|
|
|
|
<view class="ring-text-groups">
|
|
|
|
|
|
<view v-for="(item, index) in groups" :key="index">
|
2025-11-04 11:54:22 +08:00
|
|
|
|
<view v-if="selectedIndex === 0 && index !== 0">
|
|
|
|
|
|
<text>{{ index }}:</text>
|
|
|
|
|
|
<text>{{
|
|
|
|
|
|
item.list.reduce((acc, cur) => acc + cur.ring, 0)
|
|
|
|
|
|
}}</text>
|
|
|
|
|
|
<text>环</text>
|
|
|
|
|
|
</view>
|
2025-10-21 15:13:22 +08:00
|
|
|
|
<view
|
|
|
|
|
|
v-if="
|
|
|
|
|
|
(selectedIndex === 0 && index !== 0) ||
|
|
|
|
|
|
(selectedIndex !== 0 && index === selectedIndex)
|
|
|
|
|
|
"
|
2025-11-04 11:54:22 +08:00
|
|
|
|
:style="{
|
|
|
|
|
|
marginLeft: selectedIndex === 0 && index !== 0 ? '20rpx' : '0',
|
|
|
|
|
|
}"
|
2025-10-11 09:06:56 +08:00
|
|
|
|
>
|
2025-10-21 15:13:22 +08:00
|
|
|
|
<text
|
|
|
|
|
|
v-for="(arrow, index2) in item.list"
|
|
|
|
|
|
:key="index2"
|
|
|
|
|
|
:style="{
|
|
|
|
|
|
color:
|
|
|
|
|
|
arrow.ring === 0 || arrow.ring === 10 ? '#FFA118' : '#666',
|
|
|
|
|
|
}"
|
|
|
|
|
|
>
|
|
|
|
|
|
{{
|
2025-11-04 11:54:22 +08:00
|
|
|
|
arrow.ring === 0 ? "X" : arrow.ring === -1 ? "M" : arrow.ring
|
2025-10-21 15:13:22 +08:00
|
|
|
|
}}
|
|
|
|
|
|
</text>
|
|
|
|
|
|
</view>
|
2025-10-11 09:06:56 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
2025-11-04 14:18:44 +08:00
|
|
|
|
<view class="btns">
|
|
|
|
|
|
<button hover-class="none" @click="goBack">关闭</button>
|
|
|
|
|
|
<button hover-class="none" @click="share">分享</button>
|
2025-10-21 15:13:22 +08:00
|
|
|
|
</view>
|
2025-08-05 15:58:43 +08:00
|
|
|
|
</view>
|
2025-11-04 11:54:22 +08:00
|
|
|
|
<ScreenHint2
|
|
|
|
|
|
:show="showTip || showTip2 || showTip3"
|
|
|
|
|
|
:onClose="!notes && showTip3 ? null : closeTip"
|
|
|
|
|
|
>
|
2025-07-30 09:55:15 +08:00
|
|
|
|
<view class="tip-content">
|
|
|
|
|
|
<block v-if="showTip">
|
|
|
|
|
|
<text>落点稳定性说明</text>
|
|
|
|
|
|
<text
|
2025-08-20 16:04:17 +08:00
|
|
|
|
>通过计算每支箭与其他箭的平均距离衡一量射箭的稳定性,数字越小则说明射箭越稳定。该数据只能在用户标记落点的情况下生成。</text
|
2025-07-30 09:55:15 +08:00
|
|
|
|
>
|
|
|
|
|
|
</block>
|
|
|
|
|
|
<block v-if="showTip2">
|
|
|
|
|
|
<text>落点分布说明</text>
|
2025-08-20 16:04:17 +08:00
|
|
|
|
<text>展示用户某次练习中射箭的点位</text>
|
2025-07-30 09:55:15 +08:00
|
|
|
|
</block>
|
2025-11-04 11:54:22 +08:00
|
|
|
|
<block v-if="showTip3">
|
|
|
|
|
|
<text>笔记</text>
|
|
|
|
|
|
<text v-if="notes">{{ notes }}</text>
|
|
|
|
|
|
<textarea
|
|
|
|
|
|
v-if="!notes"
|
|
|
|
|
|
v-model="draftNotes"
|
|
|
|
|
|
rows="4"
|
|
|
|
|
|
class="notes-input"
|
|
|
|
|
|
placeholder="写下本次射箭的补充信息与心得"
|
|
|
|
|
|
placeholder-style="color: #ccc;"
|
|
|
|
|
|
/>
|
|
|
|
|
|
<view v-if="!notes">
|
|
|
|
|
|
<button hover-class="none" @click="showTip3 = false">取消</button>
|
|
|
|
|
|
<button hover-class="none" @click="saveNote">保存备注</button>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</block>
|
2025-07-30 09:55:15 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</ScreenHint2>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</Container>
|
2025-07-29 10:46:37 +08:00
|
|
|
|
</template>
|
|
|
|
|
|
|
2025-07-30 09:55:15 +08:00
|
|
|
|
<style scoped>
|
|
|
|
|
|
.container {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
}
|
|
|
|
|
|
.tab-bar {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
width: clac(100% - 20px);
|
|
|
|
|
|
overflow-x: auto;
|
|
|
|
|
|
padding: 0 10px;
|
2025-08-07 11:04:12 +08:00
|
|
|
|
margin-top: 10px;
|
2025-07-30 09:55:15 +08:00
|
|
|
|
}
|
|
|
|
|
|
.tab-bar::-webkit-scrollbar {
|
|
|
|
|
|
width: 0;
|
|
|
|
|
|
height: 0;
|
|
|
|
|
|
color: transparent;
|
|
|
|
|
|
}
|
|
|
|
|
|
.tab-bar > view {
|
2025-08-06 18:36:30 +08:00
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
border: 2px solid #fff;
|
2025-07-30 09:55:15 +08:00
|
|
|
|
border-radius: 10px;
|
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
|
width: 24vw;
|
2025-10-21 15:13:22 +08:00
|
|
|
|
height: 80rpx;
|
2025-07-30 09:55:15 +08:00
|
|
|
|
text-align: center;
|
|
|
|
|
|
margin: 5px;
|
|
|
|
|
|
margin-top: 0;
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
flex: 0 0 auto;
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
}
|
|
|
|
|
|
.tab-bar > view > text {
|
2025-10-21 15:13:22 +08:00
|
|
|
|
line-height: 80rpx;
|
2025-07-30 09:55:15 +08:00
|
|
|
|
transition: all 0.2s ease;
|
|
|
|
|
|
}
|
|
|
|
|
|
.tab-bar > view > image {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
width: 14px;
|
|
|
|
|
|
height: 4px;
|
|
|
|
|
|
left: calc(50% - 7px);
|
|
|
|
|
|
transition: all 0.3s ease;
|
|
|
|
|
|
}
|
|
|
|
|
|
.detail-data {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
|
|
|
column-gap: 3vw;
|
2025-10-21 15:13:22 +08:00
|
|
|
|
margin: 10rpx 30rpx;
|
2025-11-04 14:18:44 +08:00
|
|
|
|
margin-top: 20rpx;
|
2025-07-30 09:55:15 +08:00
|
|
|
|
}
|
2025-11-04 11:54:22 +08:00
|
|
|
|
.detail-data > view,
|
|
|
|
|
|
.detail-data > button {
|
2025-07-30 09:55:15 +08:00
|
|
|
|
border-radius: 10px;
|
|
|
|
|
|
background-color: #fff;
|
2025-10-11 09:06:56 +08:00
|
|
|
|
margin-bottom: 20rpx;
|
2025-10-21 15:13:22 +08:00
|
|
|
|
padding: 15rpx 24rpx;
|
2025-07-30 09:55:15 +08:00
|
|
|
|
}
|
|
|
|
|
|
.detail-data > view > view {
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
color: #999;
|
2025-10-21 15:13:22 +08:00
|
|
|
|
margin-bottom: 6rpx;
|
2025-10-11 09:06:56 +08:00
|
|
|
|
}
|
|
|
|
|
|
.detail-data > view > view > text {
|
|
|
|
|
|
word-break: keep-all;
|
2025-07-30 09:55:15 +08:00
|
|
|
|
}
|
2025-08-05 15:58:43 +08:00
|
|
|
|
.detail-data > view > text {
|
|
|
|
|
|
font-weight: 500;
|
2025-09-22 14:55:00 +08:00
|
|
|
|
color: #000;
|
2025-08-05 15:58:43 +08:00
|
|
|
|
}
|
2025-11-04 11:54:22 +08:00
|
|
|
|
.detail-data > button {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
|
color: #999999;
|
|
|
|
|
|
}
|
|
|
|
|
|
.detail-data > button > image {
|
|
|
|
|
|
width: 28rpx;
|
|
|
|
|
|
height: 28rpx;
|
|
|
|
|
|
margin-right: 10rpx;
|
|
|
|
|
|
margin-left: 20rpx;
|
|
|
|
|
|
}
|
2025-07-30 09:55:15 +08:00
|
|
|
|
.question-mark {
|
2025-10-11 09:06:56 +08:00
|
|
|
|
width: 28rpx;
|
|
|
|
|
|
height: 28rpx;
|
2025-07-30 09:55:15 +08:00
|
|
|
|
margin-left: 3px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.title-bar {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
color: #999;
|
2025-10-21 15:13:22 +08:00
|
|
|
|
position: relative;
|
|
|
|
|
|
z-index: 10;
|
2025-07-30 09:55:15 +08:00
|
|
|
|
}
|
|
|
|
|
|
.title-bar > view:first-child {
|
2025-10-11 09:06:56 +08:00
|
|
|
|
width: 8rpx;
|
|
|
|
|
|
height: 28rpx;
|
2025-07-30 09:55:15 +08:00
|
|
|
|
border-radius: 10px;
|
|
|
|
|
|
background-color: #fed847;
|
|
|
|
|
|
margin-right: 7px;
|
|
|
|
|
|
margin-left: 15px;
|
|
|
|
|
|
}
|
2025-10-11 09:06:56 +08:00
|
|
|
|
.title-bar > button {
|
|
|
|
|
|
height: 34rpx;
|
2025-07-30 09:55:15 +08:00
|
|
|
|
}
|
|
|
|
|
|
.tip-content {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
padding: 25px;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
2025-10-21 15:13:22 +08:00
|
|
|
|
color: #000;
|
2025-07-30 09:55:15 +08:00
|
|
|
|
}
|
|
|
|
|
|
.tip-content > text {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
}
|
|
|
|
|
|
.tip-content > text:first-child {
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
}
|
|
|
|
|
|
.tip-content > text:last-child {
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
margin-top: 20px;
|
|
|
|
|
|
opacity: 0.8;
|
|
|
|
|
|
}
|
2025-11-04 11:54:22 +08:00
|
|
|
|
.tip-content > view {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
}
|
|
|
|
|
|
.tip-content > view > input {
|
|
|
|
|
|
width: 80%;
|
|
|
|
|
|
height: 44px;
|
|
|
|
|
|
border-radius: 22px;
|
|
|
|
|
|
border: 1px solid #eeeeee;
|
|
|
|
|
|
padding: 0 12px;
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
color: #000;
|
|
|
|
|
|
}
|
|
|
|
|
|
.tip-content > view > button {
|
|
|
|
|
|
width: 48%;
|
|
|
|
|
|
background: linear-gradient(180deg, #fbfbfb 0%, #f5f5f5 100%);
|
|
|
|
|
|
border-radius: 22px;
|
|
|
|
|
|
border: 1px solid #eeeeee;
|
|
|
|
|
|
padding: 12px 0;
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
color: #000;
|
|
|
|
|
|
}
|
|
|
|
|
|
.tip-content > view > button:last-child {
|
|
|
|
|
|
background: #fed847;
|
|
|
|
|
|
}
|
2025-10-11 09:06:56 +08:00
|
|
|
|
.ring-text-groups {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
padding: 20rpx;
|
|
|
|
|
|
padding-top: 30rpx;
|
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
|
color: #999999;
|
|
|
|
|
|
}
|
|
|
|
|
|
.ring-text-groups > view {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
}
|
2025-11-04 11:54:22 +08:00
|
|
|
|
.ring-text-groups > view > view:first-child:nth-last-child(2) {
|
2025-10-11 09:06:56 +08:00
|
|
|
|
width: 82rpx;
|
|
|
|
|
|
text-align: center;
|
2025-11-04 11:54:22 +08:00
|
|
|
|
font-size: 20rpx;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
color: #999;
|
|
|
|
|
|
}
|
|
|
|
|
|
.ring-text-groups > view > view:first-child:nth-last-child(2) > text {
|
|
|
|
|
|
line-height: 30rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
.ring-text-groups
|
|
|
|
|
|
> view
|
|
|
|
|
|
> view:first-child:nth-last-child(2)
|
|
|
|
|
|
> text:nth-child(2) {
|
|
|
|
|
|
font-size: 40rpx;
|
|
|
|
|
|
color: #666;
|
|
|
|
|
|
margin-right: 6rpx;
|
2025-11-04 14:18:44 +08:00
|
|
|
|
margin-top: -5rpx;
|
2025-10-11 09:06:56 +08:00
|
|
|
|
}
|
2025-11-04 11:54:22 +08:00
|
|
|
|
.ring-text-groups > view > view:last-child {
|
2025-10-11 09:06:56 +08:00
|
|
|
|
flex: 1;
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
grid-template-columns: repeat(6, auto);
|
|
|
|
|
|
grid-gap: 10rpx;
|
|
|
|
|
|
margin-bottom: 30rpx;
|
|
|
|
|
|
}
|
2025-11-04 11:54:22 +08:00
|
|
|
|
.ring-text-groups > view > view:last-child > text {
|
2025-10-21 15:13:22 +08:00
|
|
|
|
width: 1fr;
|
2025-10-11 09:06:56 +08:00
|
|
|
|
text-align: center;
|
|
|
|
|
|
margin-bottom: 10rpx;
|
|
|
|
|
|
}
|
2025-11-04 11:54:22 +08:00
|
|
|
|
.notes-input {
|
|
|
|
|
|
width: calc(100% - 40rpx);
|
|
|
|
|
|
margin: 25rpx 0;
|
|
|
|
|
|
border: 1px solid #eee;
|
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
|
padding: 5px;
|
|
|
|
|
|
color: #000;
|
|
|
|
|
|
padding: 20rpx;
|
|
|
|
|
|
}
|
2025-11-04 14:18:44 +08:00
|
|
|
|
.btns {
|
|
|
|
|
|
margin-bottom: 40rpx;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
}
|
|
|
|
|
|
.btns > button {
|
|
|
|
|
|
width: 336rpx;
|
|
|
|
|
|
height: 84rpx;
|
|
|
|
|
|
line-height: 84rpx;
|
|
|
|
|
|
background: linear-gradient(180deg, #fbfbfb 0%, #f5f5f5 100%), #ffffff;
|
|
|
|
|
|
border-radius: 44rpx;
|
|
|
|
|
|
border: 2rpx solid #eeeeee;
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
font-size: 30rpx;
|
|
|
|
|
|
color: #000000;
|
|
|
|
|
|
margin: 0 10rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
.btns > button:last-child {
|
|
|
|
|
|
background: #fed847;
|
|
|
|
|
|
}
|
2025-07-30 09:55:15 +08:00
|
|
|
|
</style>
|