12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- <template>
- <div class="page-exam-item-result-box">
- <van-nav-bar title="考试" />
- <div class="exam-item-result-div">
- <div class="exam-item-result-title">本次考试成绩</div>
- <div class="exam-item-result-grade">{{ grades }}</div>
- <van-button
- class="exam-item-detial-button"
- type="primary"
- color="#0088e9"
- @click="handleBackFun"
- >返回</van-button
- >
- </div>
- </div>
- </template>
- <script>
- export default {
- name: "page-exam-item-result",
- components: {},
- data() {
- return {
- grades: 0
- };
- },
- created() {
- this.grades = this.$route.params.grades || 0;
- this.setLanXinNavigator();
- },
- activated() {
- this.setLanXinNavigator();
- },
- mounted() {},
- methods: {
- // 设置蓝信navigator
- setLanXinNavigator() {
- lx.ui.setNavigationBarTitle({
- title: "考试"
- });
- },
- // 操作:返回
- handleBackFun() {
- this.$router.back();
- }
- }
- };
- </script>
- <style lang="scss" scoped>
- @import "~@/styles/mixin";
- .page-exam-item-result-box {
- width: 100%;
- height: 100%;
- overflow-y: auto;
- overflow-x: hidden;
- font-size: 0.6rem;
- .exam-item-result-div {
- margin: 0.5rem 0.5rem;
- border: 1px solid #e4e8eb;
- background-color: #fff;
- border-radius: 4px;
- padding: 0.5rem 0.5rem;
- .exam-item-result-title {
- font-size: 0.7rem;
- text-align: center;
- }
- .exam-item-result-grade {
- font-size: 1.5rem;
- text-align: center;
- margin-top: 0.5rem;
- }
- .exam-item-detial-button {
- width: 100%;
- height: auto;
- margin-top: 0.5rem;
- padding: 0.5rem 0.5rem;
- font-size: 0.65rem;
- }
- }
- }
- </style>
|