123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481 |
- <template>
- <view class="flex-col justify-start page">
- <cu-custom isBack="true" bgColor="#000000"><view slot="content" style="color: #FFFFFF">UU睡眠</view></cu-custom>
- <view class="flex-col justify-start section">
-
- <view class="flex-col section_2 space-y-32">
- <view class="flex-col">
- <text class="self-start font_1 text_2">心率异常提醒</text>
- <view class="flex-col section_6 view space-y-10">
- <view class="flex-row justify-between self-start equal-division">
- <view class="flex-row items-end space-x-4 items-center">
- <switch checked color="#1E09DE" style="transform:scale(0.7)"/>
- <text class="font_2">短信提醒</text>
- </view>
- <view class="flex-row items-end space-x-4 items-center">
- <switch color="#1E09DE" style="transform:scale(0.7)"/>
- <text class="font_2">电话语音</text>
- </view>
- </view>
- <view class="flex-col">
- <view class="flex-row justify-between items-center list-item" :key="i" v-for="(item, i) in list1">
- <text class="font_2 text_3">心率过速提醒值</text>
- <view class="flex-row items-center group_3 space-x-6">
- <text class="font_3">110</text>
- <text class="font_4">次/分钟</text>
- <image
- class="shrink-0 image_7"
- src="../../static/iconRight.png"
- />
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="flex-col group_5 space-y-14">
- <text class="self-start font_1">呼吸率异常提醒</text>
- <view class="flex-col section_6 space-y-10">
- <view class="flex-row justify-between self-start equal-division">
- <view class="flex-row items-end space-x-4 items-center">
- <switch checked color="#1E09DE" style="transform:scale(0.7)"/>
- <text class="font_2">短信提醒</text>
- </view>
- <view class="flex-row items-end space-x-4 items-center">
- <switch checked color="#1E09DE" style="transform:scale(0.7)"/>
- <text class="font_2">电话语音</text>
- </view>
- </view>
- <view class="flex-col">
- <view class="flex-row justify-between items-center list-item" :key="i" v-for="(item, i) in list2">
- <text class="font_2 text_3">呼吸率过速提醒值</text>
- <view class="flex-row items-center space-x-6">
- <text class="font_3">110</text>
- <text class="font_4">次/分钟</text>
- <image
- class="shrink-0 image_7"
- src="../../static/iconRight.png"
- />
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="flex-col group_5">
- <view class="flex-row items-center group_6 space-x-30">
- <text class="font_1">离床预警提醒</text>
- <text class="font_5 text_4">注:离床预警生效需要用户在床超过1小时。</text>
- </view>
- <view class="flex-col section_7 space-y-24">
- <view class="flex-row justify-between self-start equal-division">
- <view class="flex-row items-end space-x-4 items-center">
- <switch checked color="#1E09DE" style="transform:scale(0.7)"/>
- <text class="font_2">短信提醒</text>
- </view>
- <view class="flex-row items-end space-x-4 items-center">
- <switch color="#1E09DE" style="transform:scale(0.7)"/>
- <text class="font_2">电话语音</text>
- </view>
- </view>
- <view class="flex-col group_7">
- <view class="flex-row justify-between items-center group_8">
- <text class="font_2 text_3">离床预警区间</text>
- <view class="flex-row items-center group_9 space-x-20">
- <text class="font_3">22:00 - 6:00</text>
- <image
- class="shrink-0 image_7"
- src="../../static/iconRight.png"
- />
- </view>
- </view>
- <view class="flex-row justify-between items-center group_10">
- <text class="font_2 text_3">离床未归提醒</text>
- <view class="flex-row items-center group_11 space-x-8">
- <text class="font_3">60</text>
- <text class="font_4">分钟</text>
- <image
- class="shrink-0 image_7"
- src="../../static/iconRight.png"
- />
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="flex-col group_5 space-y-14">
- <text class="self-start font_1">紧急求助开关</text>
- <view class="flex-col justify-start items-start section_8">
- <view class="flex-row space-x-6">
- <view class="flex-row items-center equal-division-item space-x-4">
- <switch checked color="#1E09DE" style="transform:scale(0.7)"/>
- <text class="font_2">短信提醒</text>
- </view>
- <view class="flex-row items-center equal-division-item space-x-4">
- <switch checked color="#1E09DE" style="transform:scale(0.7)"/>
- <text class="font_2">电话语音</text>
- </view>
- </view>
- </view>
- </view>
- <view class="flex-col group_5 space-y-20">
- <view class="flex-col space-y-12">
- <text class="self-start font_1 text_5">语音短信提示手机号码设置</text>
- <view class="flex-col space-y-4">
- <text class="font_5 text_6">
- 注:设置提醒手机号需注册“小云睡眠”小程序领取短信语言套餐包,才能发送短信语音提醒。
- </text>
- <view class="flex-col section_9">
- <view class="flex-row justify-between items-center list-item">
- <text class="font_2 text_8">号码1</text>
- <view class="flex-row items-center space-x-8">
- <input class="uni-input" placeholder-style="color:rgba(255, 255, 255, 0.5);text-align:right" type="number" placeholder="输入手机号码" />
- </view>
- </view>
- <view class="flex-row justify-center items-center list-item space-x-6">
- <image
- class="image_9"
- src="https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/649415135a7e3f0310661c1e/649415b654fe0000116ae544/16878800827365047681.png"
- />
- <text class="font_2">添加手机号码</text>
- </view>
- </view>
- </view>
- </view>
- <view class="flex-col justify-start items-center self-center button"><text class="text_9">保存设置</text></view>
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- list1: [null, null],
- list2: [null, null]
- }
- },
- methods: {
-
- }
- }
- </script>
- <style lang="scss" scoped>
- .page {
- background-color: #000000;
- width: 100%;
- overflow-y: auto;
- overflow-x: hidden;
- height: 100%;
-
- .section{
- background-image: url('https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/649415135a7e3f0310661c1e/649415b654fe0000116ae544/16878800827323657149.png');
- background-size: 100% 100%;
- background-repeat: no-repeat;
- .section_2 {
- padding-bottom: 1.25rem;
- background-image: linear-gradient(180deg, #1e1ef7f2 0%, #1dbff79c 100%);
- backdrop-filter: blur(0.19rem);
- .section_3 {
- padding: 1.13rem 0.44rem 0.38rem;
- background-color: #ffffff4d;
- .group {
- padding: 0 0.5rem;
- .image {
- width: 1.06rem;
- height: 0.69rem;
- }
- .image_2 {
- width: 0.94rem;
- height: 0.69rem;
- }
- .image_3 {
- width: 1.5rem;
- height: 0.72rem;
- }
- }
- .space-x-6-reverse {
- & > view:not(:last-child),
- & > text:not(:last-child),
- & > image:not(:last-child) {
- margin-right: 0.38rem;
- }
- }
- .group_2 {
- padding: 0.63rem 0 0.38rem;
- .text {
- font-size: 1.16rem;
- line-height: 1.06rem;
- }
- .section_4 {
- padding: 0.38rem 0.75rem;
- background-color: #ffffff99;
- border-radius: 1rem;
- border: solid 0.031rem #00000014;
- .image-wrapper {
- width: 1.19rem;
- .image_5 {
- width: 1.19rem;
- height: 0.44rem;
- }
- .image_4 {
- width: 1.13rem;
- height: 1.06rem;
- }
- }
- .section_5 {
- background-color: #00000033;
- width: 0.063rem;
- height: 1.16rem;
- }
- }
- .space-x-11 {
- & > view:not(:first-child),
- & > text:not(:first-child),
- & > image:not(:first-child) {
- margin-left: 0.69rem;
- }
- }
- .pos {
- position: absolute;
- right: 0;
- top: 50%;
- transform: translateY(-50%);
- }
- }
- }
- .space-y-22 {
- & > view:not(:first-child),
- & > text:not(:first-child),
- & > image:not(:first-child) {
- margin-top: 1.38rem;
- }
- }
- .font_1 {
- font-size: 1.13rem;
- font-family: PingFangSC;
- line-height: 1.03rem;
- color: #ffffff;
- }
- .text_2 {
- margin-left: 1.25rem;
- margin-top: 1.38rem;
- }
- .section_6 {
- padding: 0.94rem 0.63rem 0.13rem;
- background-color: #ffffff33;
- border-radius: 1rem;
- }
- .view {
- margin: 0.88rem 1.25rem 0;
- }
- .space-y-10 {
- & > view:not(:first-child),
- & > text:not(:first-child),
- & > image:not(:first-child) {
- margin-top: 0.63rem;
- }
- }
- .group_5 {
- padding: 0 1.25rem;
- .group_6 {
- padding-bottom: 0.88rem;
- .text_4 {
- line-height: 0.59rem;
- }
- }
- .space-x-30 {
- & > view:not(:first-child),
- & > text:not(:first-child),
- & > image:not(:first-child) {
- margin-left: 0.3rem;
- }
- }
- .section_7 {
- padding: 0.94rem 0.63rem 0;
- background-color: #ffffff33;
- border-radius: 1rem;
- .group_7 {
- border-bottom: solid 0.063rem #ffffff1a;
- .group_8 {
- padding-bottom: 0.88rem;
- border-bottom: solid 0.063rem #ffffff1a;
- .group_9 {
- margin-right: 0.19rem;
- }
- .space-x-20 {
- & > view:not(:first-child),
- & > text:not(:first-child),
- & > image:not(:first-child) {
- margin-left: 1.25rem;
- }
- }
- }
- .group_10 {
- padding: 0.88rem 0;
- .group_11 {
- margin-right: 0.19rem;
- }
- }
- }
- }
- .space-y-24 {
- & > view:not(:first-child),
- & > text:not(:first-child),
- & > image:not(:first-child) {
- margin-top: 1.5rem;
- }
- }
- .section_8 {
- padding: 0.63rem 0;
- background-color: #ffffff33;
- border-radius: 1rem;
- }
- .space-y-12 {
- & > view:not(:first-child),
- & > text:not(:first-child),
- & > image:not(:first-child) {
- margin-top: 0.75rem;
- }
- .text_5 {
- line-height: 1.06rem;
- }
- .space-y-4 {
- & > view:not(:first-child),
- & > text:not(:first-child),
- & > image:not(:first-child) {
- margin-top: 0.55rem;
- }
- .text_6 {
- line-height: 0.75rem;
- }
- .section_9 {
- padding: 0 0.63rem;
- background-color: #ffffff33;
- border-radius: 1rem;
- }
- }
- }
- .font_5 {
- font-size: 0.63rem;
- font-family: PingFangSC;
- color: #120399;
- }
- .space-x-8 {
- & > view:not(:first-child),
- & > text:not(:first-child),
- & > image:not(:first-child) {
- margin-left: 0.5rem;
- }
- .text_7 {
- color: #ffffff80;
- }
- .image_8 {
- width: 1.13rem;
- height: 1.13rem;
- }
- }
- .button {
- padding: 0.5rem 0;
- background-image: linear-gradient(90deg, #5611f780 0%, #1e1ef7f2 100%);
- border-radius: 1rem;
- width: 8.69rem;
- .text_9 {
- color: #ffffff;
- font-size: 1rem;
- font-family: PingFangSC;
- line-height: 0.94rem;
- }
- }
- }
- .space-y-14 {
- & > view:not(:first-child),
- & > text:not(:first-child),
- & > image:not(:first-child) {
- margin-top: 0.88rem;
- }
- }
- .equal-division {
- width: 12.5rem;
- }
- .font_2 {
- font-size: 0.88rem;
- font-family: PingFangSC;
- line-height: 0.81rem;
- color: #ffffff;
- }
- .text_3 {
- opacity: 0.8;
- }
- .font_3 {
- font-size: 1.13rem;
- font-family: PingFangSC;
- line-height: 0.81rem;
- color: #ffffff;
- }
- .image_7 {
- width: 0.38rem;
- height: 0.69rem;
- }
- .font_4 {
- font-size: 0.75rem;
- font-family: PingFangSC;
- line-height: 0.69rem;
- color: #ffffff;
- }
- .space-x-6 {
- & > view:not(:first-child),
- & > text:not(:first-child),
- & > image:not(:first-child) {
- margin-left: 0.38rem;
- }
- .equal-division-item {
- padding: 0.25rem 0.63rem;
- width: 6.84rem;
- }
- }
- .space-x-4 {
- & > view:not(:first-child),
- & > text:not(:first-child),
- & > image:not(:first-child) {
- margin-left: 0.25rem;
- }
- }
- .image_6 {
- width: 1.38rem;
- height: 0.88rem;
- }
- .space-y-20 {
- & > view:not(:first-child),
- & > text:not(:first-child),
- & > image:not(:first-child) {
- margin-top: 1.25rem;
- }
- }
- .list-item {
- padding: 0.88rem 0;
- border-bottom: solid 0.063rem #ffffff1a;
- .group_3 {
- margin-right: 0.19rem;
- }
- .text_8 {
- line-height: 0.78rem;
- }
- .image_9 {
- width: 0.88rem;
- height: 0.88rem;
- }
- }
- }
- .space-y-32 {
- & > view:not(:first-child),
- & > text:not(:first-child),
- & > image:not(:first-child) {
- margin-top: 2rem;
- }
- }
- }
- }
- </style>
|