日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

工作108:swiper使用

發布時間:2023/12/9 编程问答 32 豆豆
生活随笔 收集整理的這篇文章主要介紹了 工作108:swiper使用 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
<!--首頁管理--> <template><div><el-card><h1>等待處理</h1><div style="width: 100%;height: 200px"><swiper ref="mySwiper" ><swiper-slide v-for="(item,index) in task"><el-button style="float: right" type="primary" @click="ListClick">查看更多</el-button><h1>訂單名稱:{{item.name}}</h1><p>創建時間:{{item.created_at}}</p><p>賬號:{{item.name}}</p><p>狀態:{{item.status_name}}</p><el-button type="primary" style="float: right" @click="ListClick">審核</el-button><!-- Add Pagination --></swiper-slide><hr><div class="swiper-pagination" slot="pagination"></div></swiper></div></el-card><el-card><h1 style="float: left">我的訂單</h1><el-button style="float: right" type="primary" @click="ListClick" >訂單列表</el-button><ul style="display: flex;justify-content: center"><li style="float: left;list-style: none"><p>待審核:</p><h1>{{task_status.completed}}</h1></li><li style="float: left;list-style: none"><p>待修改:</p><h1>{{task_status.release}}</h1></li><li style="float: left;list-style: none"><p>進行中:</p><h1>{{task_status.returned}}</h1></li><li style="float: left;list-style: none"><p>待結算:</p><h1>{{task_status.underway}}</h1></li><li style="float: left;list-style: none"><p>已完成:</p><h1>{{task_status.wait_confirm}}</h1></li><li style="float: left;list-style: none"><p>已取消:</p><h1>{{task_status.wait_relevance}}</h1></li></ul><!-- <div style="float: left"><img src="./geyao.png" style="width: 40px;height: 40px" alt=""><p>hi暖視頻</p></div><div style="float: left"><img src="./geyao.png" style="width: 40px;height: 40px" alt=""><p>hi暖視頻</p></div><div style="float: left;"><img src="./geyao.png" style="width: 40px;height: 40px" alt=""><p>hi暖視頻</p></div>--></el-card><el-card><h1 style="float: left">我的訂單</h1><el-button style="float: right" type="primary" @click="TaskClick">任務列表</el-button><ul style="display: flex;justify-content: center"><li style="float: left;list-style: none"><p>待審核:</p><h1>{{task_status.completed}}</h1></li><li style="float: left;list-style: none"><p>待修改:</p><h1>{{task_status.release}}</h1></li><li style="float: left;list-style: none"><p>進行中:</p><h1>{{task_status.returned}}</h1></li><li style="float: left;list-style: none"><p>待結算:</p><h1>{{task_status.underway}}</h1></li><li style="float: left;list-style: none"><p>已完成:</p><h1>{{task_status.wait_confirm}}</h1></li><li style="float: left;list-style: none"><p>已取消:</p><h1>{{task_status.wait_relevance}}</h1></li></ul><!-- <div style="float: left"><img src="./geyao.png" style="width: 40px;height: 40px" alt=""><p>hi暖視頻</p></div><div style="float: left"><img src="./geyao.png" style="width: 40px;height: 40px" alt=""><p>hi暖視頻</p></div><div style="float: left;"><img src="./geyao.png" style="width: 40px;height: 40px" alt=""><p>hi暖視頻</p></div>--></el-card></div> </template><script> import { Swiper, SwiperSlide, directive } from 'vue-awesome-swiper' // import style (>= Swiper 6.x) import 'swiper/swiper-bundle.css' // import style (<= Swiper 5.x) import 'swiper/swiper.scss' import {getAction} from "@/api";export default {name: "Home",components: {Swiper,SwiperSlide},directives: {swiper: directive},data(){return{task:[],task_status:{}}},methods:{ListClick(){this.$router.push('/order')},TaskClick(){this.$router.push('/task')}},created() {getAction("/home/business").then(res=>{console.log(res)this.task=res.data.taskthis.task_status=res.data.task_status})} }; </script> <style scoped></style>

?

總結

以上是生活随笔為你收集整理的工作108:swiper使用的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。