Commit 2fd18c68 authored by 罗超's avatar 罗超

2

parent 64219d78
<template>
<view class="wordPronItem">
<text style="font-size: 20rpx;color:#4c50e7; position: absolute;top:10rpx;left:20rpx">{{type==1?'复习':""}}</text>
<view class="num">
{{cur}}/{{total}}<text style="margin-left: 6rpx;font-size: 20rpxs;">{{type==0?'':"复习"}}</text>
{{cur}}/{{total}}
</view>
<view class="meaning">
{{item.WordWrite}}
......@@ -135,10 +136,12 @@
.wordPronItem {
width: 640rpx;
height: 990rpx;
min-height: 990rpx;
box-shadow: 0rpx 15rpx 80rpx 0rpx #E9E9E9;
border-radius: 24rpx;
margin: 100rpx auto 0;
position: relative;
overflow: hidden;
}
.wordPronItem .num {
......@@ -156,6 +159,8 @@
color: #111111;
margin-bottom: 80rpx;
text-align: center;
/* text-align-last: left; */
word-wrap: break-word;
}
.Japanese {
......@@ -163,7 +168,10 @@
font-weight: bold;
color: #111111;
text-align: center;
/* text-align-last: left; */
margin-bottom: 60rpx;
word-wrap: break-word;
padding: 0 20rpx;
}
.wordPronItem .desc {
......
......@@ -164,16 +164,15 @@
});
},
};
onMounted(() => {
that.getData();
});
let that = methods;
return {
...toRefs(data),
...methods
};
},
onShow() {
this.getData();
}
};
</script>
......
......@@ -110,7 +110,6 @@
if (this.current >= total) {
this.current = total - 1
}
console.log('onShow',this.current)
},
onLoad(options) {
console.log("options", options);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment