Browse Source

style: 🎨 样式修改

pull/7/head
姜鑫 2 years ago
parent
commit
3a6867b25f
  1. 2
      public/static/offline/JSON/getConfig.json
  2. 2
      public/static/offline/JSON/getDevCoordinateByIP.json
  3. 19
      src/components/ListItem/ListItem.vue

2
public/static/offline/JSON/getConfig.json

@ -7,7 +7,7 @@
"entryCode": "QD3QZd7_rr0jkDYR2qtc7",
"title": "配置文件",
"content": {
"interfaceUrl": "https://project-iot.test.1000my.com/api",
"interfaceUrl": "https://iot.1000my.com/api",
"mobileNav": "https://qianmu-iot.1000my.com/SuZhou_JinDi_Square-szjds_react-test/index.html#/",
"handWriteUrl": "http://saas.1000my.com:8014/words"
}

2
public/static/offline/JSON/getDevCoordinateByIP.json

@ -17,7 +17,7 @@
"mac": "30B49EC47D5E",
"location": "51",
"angle": "0",
"projectCode": "project-200",
"projectCode": "project-ao3xebi-o6mwtgswdr-jfa",
"regionCode": "",
"lensCoordinate": "",
"orientationCoordinate": "",

19
src/components/ListItem/ListItem.vue

@ -1,21 +1,23 @@
<template>
<div class="relative flex flex-wrap space-x-6 rounded-xl bg-white pl-6 pr-[6px] pt-6 shadow-[3px_3px_0_0px_rgba(0,0,0,0.1)]">
<div class="flex-1 justify-between">
<div class="mb-2 flex items-center gap-x-2.5 text-justify text-16 font-normal leading-4.5 text-black/40">
<div
class="custom relative grid grid-cols-2 flex-wrap gap-x-6 rounded-xl bg-white pl-6 pr-[6px] pt-6 shadow-[3px_3px_0_0px_rgba(0,0,0,0.1)]"
>
<div class="flex-1">
<div class="mb-2 flex items-center gap-x-2.5 text-justify text-16 leading-4.5 text-black/40">
<img src="../../assets/images/q.svg" class="size-7" alt="" />
{{ formatTime(customer.createTime) }}
</div>
<ScrollView class="relative h-[356px]" :list="customer.content">
<div class="whitespace-normal pr-3.5 text-justify !text-24 font-normal leading-normal text-black/50">{{ customer.content }}</div>
<div class="pr-3.5 text-justify !text-24 text-black/50">{{ customer.content }}</div>
</ScrollView>
</div>
<div class="flex-1">
<div class="mb-2 flex items-center gap-x-2.5 text-justify text-16 font-normal leading-4.5 text-black/40">
<div class="mb-2 flex items-center gap-x-2.5 text-justify text-16 leading-4.5 text-black/40">
<img src="../../assets/images/a.svg" class="size-7" alt="" />
{{ formatTime(customer.replyTime) }}
</div>
<ScrollView class="relative h-[356px]" observe-image :list="customer.disposeDes">
<div class="whitespace-normal pr-3.5 text-justify !text-24 font-normal leading-normal text-[#333333]">
<div class="pr-3.5 text-justify !text-24 text-[#333333]">
<div v-html="customer.disposeDes"></div>
<div class="flex items-center pt-4 text-20">
总经理:{{ customer.managerSignature }}
@ -48,3 +50,8 @@ function formatTime(time: string) {
return `${year}-${month}-${day} ${hour}:${minute}`
}
</script>
<style>
.custom * {
font-size: 24px !important;
}
</style>

Loading…
Cancel
Save