From edf97cb2bfe110123a6dacc1cd8c52ce400ff1db Mon Sep 17 00:00:00 2001 From: Tcsm <1377977403@qq.com> Date: 星期三, 19 七月 2023 00:46:03 +0800 Subject: [PATCH] 新增个人记事本展示和详情页 --- ruoyi-ui/src/views/self/show.vue | 28 +++++++++++++++++++++++----- 1 files changed, 23 insertions(+), 5 deletions(-) diff --git a/ruoyi-ui/src/views/self/show.vue b/ruoyi-ui/src/views/self/show.vue index 0e56f35..2219953 100644 --- a/ruoyi-ui/src/views/self/show.vue +++ b/ruoyi-ui/src/views/self/show.vue @@ -6,7 +6,16 @@ class="el-icon-top" ></el-button> </el-backtop> - <h1 style="font-size:21px;padding-top:30px">涓汉绠�鍘�</h1> + <h1 style="font-size:21px;padding-top:30px;display: flex;justify-content: space-between;align-items: center;"> + <span>涓汉绠�鍘�</span> + <div style="display: flex; align-items: center;"> + <el-button size="mini" type="text" @click="toMemo" v-hasPermi="['person:information:memo']"> + <div class="form" ><el-icon style="padding-right:110px;"></el-icon> + <span class="text" style="width: 69px;height: 26px;font-size: 16px; + font-family: Microsoft YaHei-Regular, Microsoft YaHei; color: #EBA4AA;">涓汉璁颁簨鏈�</span></div> + </el-button> + </div> + </h1> <el-divider /> <!-- 鍩烘湰淇℃伅--> <h2 style="font-size:16px">鍩烘湰淇℃伅</h2> @@ -108,9 +117,11 @@ <el-col :span="6" :data="individualList"> <div class="block" :model="individualList" > <el-col v-model="individualList.img" prop="img"> - <el-avatar shape="square" :size=200 > + <el-avatar shape="square" style="width: 200px;height: 150px;" > <el-image :src="'http://47.93.189.255:8080/'+ individualList.img" + :fit="fit" + style="width: 100%;height: 100%;" ></el-image> </el-avatar> <!-- <el-upload--> @@ -623,11 +634,10 @@ </el-input> </el-form-item> <el-form-item label="寮�濮嬫棩鏈�" prop="startTime"> - <el-input v-model="formDat.startTime" placeholder="璇疯緭鍏ュ紑濮嬫棩鏈�" clearable :style="{width: '100%'}" ></el-input> + <el-input v-model="formDat.startTime" type='date' placeholder='閫夋嫨鏃ユ湡' clearable :style="{width: '100%'}" ></el-input> </el-form-item> <el-form-item label="缁撴潫鏃ユ湡" prop="endTime"> - <el-input v-model="formDat.endTime" placeholder="璇疯緭鍏ョ粨鏉熸棩鏈�" clearable :style="{width: '100%'}" > - </el-input> + <el-input v-model="formDat.endTime" type='date' placeholder='閫夋嫨鏃ユ湡' clearable :style="{width: '100%'}" ></el-input> </el-form-item> </el-form> <h4 class="form-header"> </h4> @@ -1227,6 +1237,10 @@ // this.title = "娣诲姞涓汉淇℃伅"; // }, + //涓汉璁颁簨鏈� + toMemo(){ + this.$router.push("/self/self/memo/" + this.individualList.userId); + }, /** 鏌ョ湅璇︾粏淇℃伅 */ handleCheck(row){ @@ -1550,4 +1564,8 @@ background:center no-repeat url('../../assets/icons/add1.png') ; margin-left: 71vw; } +.form{ + background:center/11% no-repeat url('../../assets/icons/form.png') ; + +} </style> -- Gitblit v1.9.1