Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
tswj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2022-04-22 17:02:06 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8f7614a20cf1c5de08f384a03a91b30a1a1ff927
8f7614a2
1 parent
09f1aadf
细节调整
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
43 deletions
src/views/client/chooseBook.vue
src/views/client/chooseBook.vue
View file @
8f7614a
...
...
@@ -47,8 +47,8 @@ import { useRoute, useRouter } from 'vue-router'
import axios from '@/utils/axios';
import $ from 'jquery'
import { Toast } from 'vant';
const route = useRoute();
const router = useRouter();
const
$
route = useRoute();
const
$
router = useRouter();
// 自定义按钮颜色样式
const styleObject = reactive({
backgroundColor: '#F4675A',
...
...
@@ -57,7 +57,13 @@ const styleObject = reactive({
})
const items = reactive([])
const onClick = (item) => {
console.warn(item.id);
// 调整书籍详情页
$router.push({
path: '/client/bookDetail',
query: {
id: item.id
}
});
}
const gotoMe = () => {
console.warn('跳转我的地址');
...
...
@@ -128,45 +134,5 @@ export default {
right: 8rem;
}
}
.group4 {
width: 160px;
height: 15px;
margin-left: 83px;
}
.layer1 {
width: 15px;
height: 15px;
background-color: rgba(244, 103, 90, 1);
border-radius: 50%;
}
.layer2 {
width: 15px;
height: 15px;
background-color: rgba(244, 103, 90, 1);
border-radius: 50%;
}
.group18 {
z-index: 69;
position: absolute;
left: 113px;
top: 129px;
width: 5px;
height: 44px;
border-radius: 0 0 2.5px 2.5px;
background-color: rgba(255, 212, 167, 1);
}
.group19 {
z-index: 70;
position: absolute;
left: 258px;
top: 129px;
width: 5px;
height: 44px;
border-radius: 0 0 2.5px 2.5px;
background-color: rgba(255, 212, 167, 1);
}
}
</style>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment