123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138 |
- <template>
- <div
- class="help"
- >
- <button
- class="close"
- @click="$emit('close')"
- >
- <img
- src="@/assets/images/btn-close.png"
- alt=""
- draggable="false"
- >
- </button>
- <h1>操作指引</h1>
- <ul>
- <li>
- <img
- src="@/assets/images/rotate.png"
- alt=""
- draggable="false"
- >
- <h2>旋转</h2>
- <span>鼠标左键</span>
- </li>
- <li>
- <img
- src="@/assets/images/scale.png"
- alt=""
- draggable="false"
- >
- <h2>缩放</h2>
- <span>鼠标中键</span>
- </li>
- <li>
- <img
- src="@/assets/images/translate.png"
- alt=""
- draggable="false"
- >
- <h2>平移</h2>
- <span>鼠标右键</span>
- </li>
- <li>
- <img
- src="@/assets/images/reset.png"
- alt=""
- draggable="false"
- >
- <h2>复原</h2>
- <span>鼠标左键 × 2</span>
- </li>
- <li>
- <img
- src="@/assets/images/light-source-rotate.png"
- alt=""
- draggable="false"
- >
- <h2>光影旋转</h2>
- <span>SHIFT+鼠标左键</span>
- </li>
- </ul>
- </div>
- </template>
- <script>
- export default {
- emits: ['close'],
- }
- </script>
- <style lang="less" scoped>
- .help {
- position: absolute;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- z-index: 2;
- display: flex;
- justify-content: center;
- align-items: center;
- flex-direction: column;
- padding-left: 235px;
- padding-right: 235px;
- background: rgba(0, 0, 0, 0.7);
- > button.close {
- position: absolute;
- top: 55px;
- right: 55px;
- width: 62px;
- height: 62px;
- > img {
- width: 100%;
- height: 100%;
- }
- }
- > h1 {
- margin-bottom: 105px;
- font-size: 38px;
- font-weight: 400;
- color: #FFFFFF;
- letter-spacing: 7px;
- white-space: pre;
- }
- > ul {
- width: 100%;
- justify-content: space-evenly;
- display: flex;
- align-items: center;
- > li {
- flex: 0 0 auto;
- width: 180px;
- display: flex;
- flex-direction: column;
- align-items: center;
- user-select: none;
- > img {
- width: 69px;
- height: 69px;
- margin-bottom: 27px;
- }
- > h2 {
- font-size: 27px;
- font-weight: 400;
- color: #FFFFFF;
- margin-bottom: 1px;
- margin-bottom: 10px;
- }
- > span {
- font-size: 20px;
- font-weight: 400;
- color: #FFFFFF;
- }
- }
- }
- }
- </style>
|