12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- <template>
- <view>
- <view style="line-height: 26px;padding: 32upx;" class="home1" >
- <u-parse :html="content"></u-parse>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- list: [],
- content: '',
- id:''
- }
- },
- onLoad(e) {
- this.id = e.id
- this.taskData(e.id)
- },
- methods: {
- // 获取任务数据
- taskData(e) {
- this.$Request.getT('/app/trainingCenter/TrainingCenter?id='+e).then(res => {
- if(res.code==0){
- this.content = res.data.message
- }
- });
- },
- }
- }
- </script>
- <style>
- page {
- background: #FFFFFF;
- }
- .content {
- width: 100%;
- background: #FFFFFF;
- margin-top: 20rpx;
- padding-bottom: 50rpx;
- padding-top: 20rpx;
- }
- .list_box {
- width: 90%;
- margin: 0 auto;
- display: flex;
- line-height: 45rpx;
- padding-top: 20rpx;
- }
- .list_left {
- flex: 2;
- }
- .name {
- font-size: 26rpx;
- color: #333333;
- font-weight: bold;
- letter-spacing: 2rpx;
- }
- .data {
- color: #999999;
- font-size: 24rpx;
- }
- /* .list_right {
- flex: 1;
- display: flex;
- justify-content: flex-end;
- align-items: center;
- font-size: 31rpx;
- } */
- </style>
|