| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <template>
- <view class="flex-common-css iPhone-bottom">
- <Nav title="实习岗位" leftColor="#fff" bgckgroundBox='transparent' titleColor="#fff"></Nav>
- <image class="bg" src="@/static/img/index/sxgw.png" mode=""></image>
- <image class="code-img" :src="codeImg" mode="aspectFit"></image>
- <image class="but-img" src="@/static/img/index/bcdxc.png" mode=""></image>
- </view>
- </template>
- <script>
- import {
- commonPracticeCode
- } from "@/api/common.js"
- export default {
- components: {},
- data() {
- return {
- codeImg: ''
- };
- },
- onLoad(data) {},
- mounted() {
- this.commonPracticeCode()
- },
- methods: {
- commonPracticeCode() {
- commonPracticeCode().then((res) => {
- if(res.code == 1) {
- this.codeImg = res.data.url
- }
- })
- },
- scrolltolower() {
- console.log('触底');
- },
- },
- }
- </script>
- <style lang="scss" scoped>
- .bg {
- width: 100%;
- height: 100vh;
- position: fixed;
- left: 0;
- top: 0;
- }
- .but-img {
- width: 670rpx;
- height: 88rpx;
- position: absolute;
- bottom: 36rpx;
- left: 40rpx;
- }
- .code-img{
- width: 340rpx;
- height: 340rpx;
- position: absolute;
- top: 488rpx;
- left: 204rpx;
- border-radius: 20rpx;
- }
- </style>
|