作者 王智

页面修改

1 -// pages/Online_regulations/Online_regulations.js 1 +const app = getApp()
2 Page({ 2 Page({
3 3
4 /** 4 /**
@@ -7,35 +7,63 @@ Page({ @@ -7,35 +7,63 @@ Page({
7 data: { 7 data: {
8 8
9 }, 9 },
  10 + onLoad: function (options) {
10 11
  12 + },
11 13
12 - getStudycontent() { 14 + onReady: function () {
13 15
14 - wx.navigateTo({  
15 - url: '/pages/getStudycontent/getStudycontent',  
16 - })  
17 }, 16 },
18 - /**  
19 - * 生命周期函数--监听页面加载  
20 - */  
21 - onLoad: function (options) {  
22 - 17 + onShow: function () {
  18 + let that = this;
  19 + that.getList()
23 }, 20 },
  21 + // 列表
24 22
25 - /**  
26 - * 生命周期函数--监听页面初次渲染完成  
27 - */  
28 - onReady: function () { 23 + getList() {
  24 +
  25 + let that = this;
  26 + let url = '/index/second/tranOnlineList';
  27 + let head = {
  28 + 'XX-Token': wx.getStorageSync('token')
  29 + }
  30 +
  31 + app.post(url, '', head).then((res) => {
  32 + // console.log(res)
  33 + that.setData({
  34 + list: res
  35 + })
29 36
  37 + }).catch((err) => {
  38 +
  39 + })
30 }, 40 },
31 41
32 - /**  
33 - * 生命周期函数--监听页面显示  
34 - */  
35 - onShow: function () { 42 +
  43 + // 前往答题
  44 + getStudycontent(e) {
  45 +
  46 + let that = this;
  47 + let url = '/index/second/checkTranStatus';
  48 + let head = {
  49 + 'XX-Token': wx.getStorageSync('token')
  50 + }
  51 +
  52 + app.post(url, '', head).then((res) => {
  53 +
  54 + var id = e.currentTarget.dataset.id
  55 + wx.navigateTo({
  56 + url: '/pages/getStudycontent/getStudycontent?id=' + id,
  57 + })
  58 +
  59 + }).catch((err) => {
  60 +
  61 + })
  62 +
36 63
37 }, 64 },
38 65
  66 +
39 /** 67 /**
40 * 生命周期函数--监听页面隐藏 68 * 生命周期函数--监听页面隐藏
41 */ 69 */
1 <!--在线培训--> 1 <!--在线培训-->
2 -<view class="myanswer" bindtap="getStudycontent"> 2 +<view class="myanswer" bindtap="getStudycontent" wx:for="{{list.data}}" data-id="{{item.id}}">
3 3
4 - <image src="/imgs/active1.png"></image>  
5 - <view class="myanswer_right" >  
6 - <view class="myanswer_name" >  
7 - 如何做一个志愿者,如何做一个负责人心的志愿者 4 + <image src="{{item.pic}}"></image>
  5 + <view class="myanswer_right">
  6 + <view class="myanswer_name">
  7 + {{item.title}}
8 </view> 8 </view>
9 9
10 <view class="myanswer_num"> 10 <view class="myanswer_num">
11 <view> 11 <view>
12 - 10道题 12 + {{item.num}}道题
13 </view> 13 </view>
14 - <view class="myanswer_end"> 14 + <view class="myanswer_end" wx:if="{{item.user_status==0}}">
15 前往答题 15 前往答题
16 - <image src="/imgs/more_gray1.png"></image> 16 + <image src="/imgs/more_blue1.png"></image>
17 </view> 17 </view>
  18 + <view class="myanswer_end green" wx:if="{{item.user_status==1}}">
  19 + 完成答题
  20 + <image src="/imgs/more1.png"></image>
  21 + </view>
  22 +
18 </view> 23 </view>
19 24
20 </view> 25 </view>
@@ -20,6 +20,7 @@ page{ @@ -20,6 +20,7 @@ page{
20 } 20 }
21 21
22 .myanswer_right { 22 .myanswer_right {
  23 + width: 434rpx;
23 display: flex; 24 display: flex;
24 flex-direction: column; 25 flex-direction: column;
25 justify-content: space-between; 26 justify-content: space-between;
@@ -44,6 +45,12 @@ page{ @@ -44,6 +45,12 @@ page{
44 color: #54A7FB; 45 color: #54A7FB;
45 46
46 } 47 }
  48 + .green{
  49 +
  50 + color:#21AE58
  51 + ;
  52 +
  53 + }
47 .myanswer_end image{ 54 .myanswer_end image{
48 55
49 margin-left: 5rpx; 56 margin-left: 5rpx;
@@ -13,7 +13,7 @@ Page({ @@ -13,7 +13,7 @@ Page({
13 'XX-Token': wx.getStorageSync('token') 13 'XX-Token': wx.getStorageSync('token')
14 } 14 }
15 let params = { 15 let params = {
16 - city: '北京' 16 + city: '天津'
17 } 17 }
18 18
19 app.post(url,params, head).then((res) => { 19 app.post(url,params, head).then((res) => {
1 -// pages/getStudycontent/answer/answer.js 1 +const app = getApp();
2 Page({ 2 Page({
3 3
4 - /**  
5 - * 页面的初始数据  
6 - */  
7 - data: {  
8 4
  5 + data: {
  6 + id: '',
  7 + list: '',
  8 + answers:[]
9 }, 9 },
10 10
11 - /**  
12 - * 生命周期函数--监听页面加载  
13 - */  
14 onLoad: function (options) { 11 onLoad: function (options) {
  12 + // console.log(options)
  13 + this.setData({
  14 + id: options.id
  15 + })
  16 + },
  17 + onReady: function () {
15 18
16 }, 19 },
  20 + onShow: function () {
  21 + let that = this;
  22 + that.getlist();
17 23
18 - /**  
19 - * 生命周期函数--监听页面初次渲染完成  
20 - */  
21 - onReady: function () { 24 + },
  25 + // 题
  26 + getlist() {
  27 +
  28 + let that = this;
  29 + let url = '/index/second/getClassQuestion';
  30 + let head = {
  31 + 'XX-Token': wx.getStorageSync('token')
  32 + }
  33 + let params = {
  34 + class_id: that.data.id
  35 + }
  36 + app.post(url, params, head).then((res) => {
  37 + console.log(res)
  38 + that.setData({
  39 + list: res
  40 +
  41 + })
  42 + }).catch((err) => {
  43 +
  44 + })
22 45
23 }, 46 },
  47 + radioChange(e){
  48 + let tempAnswer = e.detail.value.split(',');
  49 + this.data.answers[tempAnswer[1]] = tempAnswer[0];
  50 + this.setData({
  51 + answers: this.data.answers
  52 + })
  53 +
  54 + },
  55 +
  56 + // 确认
  57 + getcomfirm() {
  58 +
  59 + let that = this;
  60 + let url = '/index/second/commitAnswer';
  61 + let head = {
  62 + 'XX-Token': wx.getStorageSync('token')
  63 + }
  64 + let params = {
  65 + class_id: that.data.id,
  66 + }
  67 + app.post(url, params, head).then((res) => {
  68 + if (res.code == 40000) {
  69 + wx.showModal({
  70 + title: '提示',
  71 + content: '很遗憾你没有获得学时',
  72 + confirmText: '重新答题',
  73 + cancelText: '查看答案',
  74 + success(res) {
  75 + if (res.confirm) {
  76 +
  77 + wx.navigateTo({
  78 + url: '/pages/getStudycontent/answer/answer',
  79 + })
  80 +
  81 + console.log('用户点击确定')
  82 + } else if (res.cancel) {
  83 +
  84 + wx.navigateTo({
  85 + url: '/pages/getStudycontent/answer/answer',
  86 + })
  87 +
  88 + console.log('用户点击取消')
  89 + }
  90 + }
  91 + })
  92 +
  93 +
  94 + } else {
  95 + wx.showModal({
  96 + title: '提示',
  97 + content: '恭喜',
  98 + showCancel: false,
  99 + success: function (res) {
  100 +
  101 + }
  102 + })
  103 + }
  104 +
  105 +
  106 + }).catch((err) => {
  107 +
  108 + })
24 109
25 - /**  
26 - * 生命周期函数--监听页面显示  
27 - */  
28 - onShow: function () {  
29 110
30 }, 111 },
31 112
32 - /**  
33 - * 生命周期函数--监听页面隐藏  
34 - */ 113 +
35 onHide: function () { 114 onHide: function () {
36 115
37 }, 116 },
38 117
39 - /**  
40 - * 生命周期函数--监听页面卸载  
41 - */ 118 +
42 onUnload: function () { 119 onUnload: function () {
43 120
44 }, 121 },
1 -<view class="answer">  
2 - <view class="answer_left {{index<10?0+index:index}}" >01</view> 1 +<view class="answer" wx:for="{{list}}" wx:for-index="index">
  2 + <view class="answer_left" wx:if="{{item.id<9}}" >0{{item.id}}</view>
  3 + <view class="answer_left" wx:else >{{item.id}}</view>
3 <view class="answer_right"> 4 <view class="answer_right">
4 - <view class="answer_question">成为一个合格的志愿者最重要的品质是什么?</view>  
5 - <radio-group>  
6 - <view class="flexs"> 5 + <view class="answer_question">{{item.title}}</view>
  6 + <radio-group bindchange="radioChange">
  7 + <view class="flexs" wx:for="{{item.options_array}}" wx:for-index="idx" wx:for-item="second">
7 <view class="answer_answer"> 8 <view class="answer_answer">
8 - <radio>有一颗高尚的心</radio> 9 + <radio value="{{second+','+index}}" checked='' >{{second}}</radio>
9 </view> 10 </view>
10 - <view class="answer_answer"> 11 + <!-- <view class="answer_answer">
11 <radio>有一颗高尚的心</radio> 12 <radio>有一颗高尚的心</radio>
12 </view> 13 </view>
13 <view class="answer_answer"> 14 <view class="answer_answer">
@@ -15,12 +16,12 @@ @@ -15,12 +16,12 @@
15 </view> 16 </view>
16 <view class="answer_answer"> 17 <view class="answer_answer">
17 <radio>有一颗高尚的心</radio> 18 <radio>有一颗高尚的心</radio>
18 - </view> 19 + </view> -->
19 </view> 20 </view>
20 </radio-group> 21 </radio-group>
21 22
22 </view> 23 </view>
23 </view> 24 </view>
24 <view class="shengqin"> 25 <view class="shengqin">
25 - <button bindtap="getshengqin" >确认</button> 26 + <button bindtap="getcomfirm" >确认</button>
26 </view> 27 </view>
@@ -81,11 +81,6 @@ radio .wx-radio-input.wx-radio-input-checked::before { @@ -81,11 +81,6 @@ radio .wx-radio-input.wx-radio-input-checked::before {
81 } 81 }
82 82
83 83
84 -  
85 -  
86 -  
87 -  
88 -  
89 /* */ 84 /* */
90 .shengqin { 85 .shengqin {
91 height: 122rpx; 86 height: 122rpx;
1 -// pages/getStudycontent/getStudycontent.js 1 +const app = getApp()
  2 +
2 Page({ 3 Page({
3 4
4 /** 5 /**
5 * 页面的初始数据 6 * 页面的初始数据
6 */ 7 */
7 data: { 8 data: {
  9 + id: '',
  10 + list: ''
  11 + },
  12 + onLoad: function (options) {
  13 + // console.log(options)
  14 + this.setData({
  15 + id: options.id
  16 + })
  17 + },
  18 +
  19 + onReady: function () {
8 20
9 }, 21 },
  22 +
  23 + onShow: function () {
  24 + let that = this;
  25 + that.getlist();
  26 +
  27 +
  28 + },
  29 +
  30 + // 答题
10 getanswer() { 31 getanswer() {
  32 + let that = this
  33 + var id = that.data.id
  34 + console.log(id)
11 wx.navigateTo({ 35 wx.navigateTo({
12 - url: '/pages/getStudycontent/answer/answer', 36 + url: '/pages/getStudycontent/answer/answer?id='+id,
13 }) 37 })
14 38
15 }, 39 },
16 - /**  
17 - * 生命周期函数--监听页面加载  
18 - */  
19 - onLoad: function (options) { 40 + // 内容
  41 + getlist() {
20 42
21 - }, 43 + let that = this;
  44 + let url = '/index/second/getClassInfo';
  45 + let head = {
  46 + 'XX-Token': wx.getStorageSync('token')
  47 + }
  48 + let params = {
  49 + id: that.data.id
  50 + }
  51 + app.post(url, params, head).then((res) => {
  52 + console.log(res)
  53 + that.setData({
  54 + list: res
22 55
23 - /**  
24 - * 生命周期函数--监听页面初次渲染完成  
25 - */  
26 - onReady: function () { 56 + })
  57 + }).catch((err) => {
  58 +
  59 + })
27 60
28 }, 61 },
29 62
30 - /**  
31 - * 生命周期函数--监听页面显示  
32 - */  
33 - onShow: function () {  
34 63
35 - },  
36 64
37 - /**  
38 - * 生命周期函数--监听页面隐藏  
39 - */ 65 +
  66 +
  67 +
  68 +
  69 +
  70 +
40 onHide: function () { 71 onHide: function () {
41 72
42 }, 73 },
1 <!--pages/getStudycontent/getStudycontent.wxml--> 1 <!--pages/getStudycontent/getStudycontent.wxml-->
2 2
  3 +
  4 +
3 <view class="answer_text"> 5 <view class="answer_text">
4 - <text-rich>  
5 - 很快适应了当地生活,但对于一个国际中文教学的“新手”来说,走上真正的讲台才是我接下来面临的挑战,不过惊喜也在悄然发生。 造访的第一个学校是Maštolend儿园,第一眼就爱上了这群可爱的孩子们。大班的孩子集体唱《你好歌》  
6 - </text-rich> 6 +
  7 + <view class="answer_title">
  8 + {{list.title}}
  9 + </view>
  10 + <view class="answer_author">
  11 + <image src="/imgs/zhiyuan3.png"></image> {{list.author}}
  12 + <image style="margin-left:64rpx" src="/imgs/zhiyuan4.png"></image> {{list.work_time}}
  13 + </view>
  14 + <rich-text nodes="{{list.content}}"></rich-text>
7 </view> 15 </view>
8 <view class="answer" bindtap="getanswer"> 16 <view class="answer" bindtap="getanswer">
9 <button hover-class="none">去答题</button> 17 <button hover-class="none">去答题</button>
  1 +.answer_title {
  2 +
  3 + font-size: 36rpx;
  4 + color: black;
  5 +}
  6 +
  7 +.answer_author {
  8 + display: flex;
  9 + align-items: center;
  10 + margin: 24rpx 0;
  11 +
  12 +}
  13 +
  14 +.answer_author image {
  15 + width: 30rpx;
  16 + height: 30rpx;
  17 + background: #666666;
  18 + margin-right: 8rpx;
  19 +}
  20 +
1 .answer_text { 21 .answer_text {
2 padding: 24rpx 32rpx; 22 padding: 24rpx 32rpx;
3 font-size: 28rpx; 23 font-size: 28rpx;
1 <view class="guanlitiaoli"> 1 <view class="guanlitiaoli">
2 <rich-text nodes="{{list.content}}"> 2 <rich-text nodes="{{list.content}}">
3 -  
4 </rich-text> 3 </rich-text>
5 </view> 4 </view>
6 5
1 const app = getApp() 1 const app = getApp()
2 - 2 +var util = require('../../../utils/util.js');
3 Page({ 3 Page({
4 4
5 /** 5 /**
@@ -12,14 +12,11 @@ Page({ @@ -12,14 +12,11 @@ Page({
12 longitude: '' 12 longitude: ''
13 }, 13 },
14 14
15 -  
16 -  
17 onLoad: function (options) { 15 onLoad: function (options) {
18 // console.log(options) 16 // console.log(options)
19 this.setData({ 17 this.setData({
20 id: options.id 18 id: options.id
21 }) 19 })
22 -  
23 }, 20 },
24 onReady: function () { 21 onReady: function () {
25 22
@@ -28,7 +25,7 @@ Page({ @@ -28,7 +25,7 @@ Page({
28 onShow: function () { 25 onShow: function () {
29 let that = this; 26 let that = this;
30 that.getList(); 27 that.getList();
31 - 28 + // 获取经纬度
32 wx.getLocation({ 29 wx.getLocation({
33 success: function (res) { 30 success: function (res) {
34 console.log(res); 31 console.log(res);
@@ -38,6 +35,9 @@ Page({ @@ -38,6 +35,9 @@ Page({
38 }) 35 })
39 }, 36 },
40 }) 37 })
  38 +
  39 +
  40 +
41 }, 41 },
42 42
43 43
@@ -68,7 +68,6 @@ Page({ @@ -68,7 +68,6 @@ Page({
68 68
69 // 打卡 69 // 打卡
70 getpunch() { 70 getpunch() {
71 - // var t=this  
72 71
73 let that = this; 72 let that = this;
74 let url = '/index/second/startClock'; 73 let url = '/index/second/startClock';
@@ -95,6 +94,13 @@ Page({ @@ -95,6 +94,13 @@ Page({
95 }, 94 },
96 95
97 96
  97 +
  98 +
  99 +
  100 +
  101 +
  102 +
  103 +
98 // 提示 104 // 提示
99 click: function (e) { 105 click: function (e) {
100 this.setData({ 106 this.setData({
@@ -9,19 +9,27 @@ @@ -9,19 +9,27 @@
9 9
10 <view class="myactivity_wrap"> 10 <view class="myactivity_wrap">
11 <view class="myactivity_starttime"> 11 <view class="myactivity_starttime">
12 - <view>上岗打卡09:00</view>  
13 - <view>未打卡</view> 12 + <view>上岗打卡{{list.start_clock_time}}</view>
  13 + <view class="state" wx:if="{{list.status==0}}">未打卡</view>
  14 + <view class="state" wx:if="{{list.status==1}}">已开始</view>
  15 + <view class="state" wx:if="{{list.status==2}}">完成打开</view>
  16 + <view class="state" wx:if="{{list.status==3}}">未完成</view>
14 </view> 17 </view>
15 <view class="myactivity_starttime"> 18 <view class="myactivity_starttime">
16 - <view>下岗打卡09:00</view>  
17 - <view>未打卡</view> 19 + <view>下岗打卡{{list.end_clock_time}}</view>
  20 + <view class="state" wx:if="{{list.status==0}}">未打卡</view>
  21 + <view class="state" wx:if="{{list.status==1}}">已开始</view>
  22 + <view class="state" wx:if="{{list.status==2}}">完成打开</view>
  23 + <view class="state" wx:if="{{list.status==3}}">未完成</view>
18 </view> 24 </view>
19 </view> 25 </view>
20 <view class="myactivity_start" bindtap="getpunch"> 26 <view class="myactivity_start" bindtap="getpunch">
21 - <view >上岗打卡</view> 27 + <view>上岗打卡</view>
22 <view>12:00</view> 28 <view>12:00</view>
23 </view> 29 </view>
24 30
  31 + <view></view>
  32 +
25 </view> 33 </view>
26 <!-- 提示 --> 34 <!-- 提示 -->
27 <view class="tishi_wrap" hidden="{{hiddenName}}"> 35 <view class="tishi_wrap" hidden="{{hiddenName}}">
@@ -32,5 +40,5 @@ @@ -32,5 +40,5 @@
32 </view> 40 </view>
33 <image bindtap="click" style="width:20rpx;height:20rpx;" src="/imgs/tishiclear.png"></image> 41 <image bindtap="click" style="width:20rpx;height:20rpx;" src="/imgs/tishiclear.png"></image>
34 </view> 42 </view>
35 - <view class="tishi_text">活动地址:和平区位置,请在距地址500米内打卡</view> 43 + <view class="tishi_text">活动地址:{{list.address}},请在距地址500米内打卡</view>
36 </view> 44 </view>
@@ -31,6 +31,12 @@ page { @@ -31,6 +31,12 @@ page {
31 box-sizing: border-box; 31 box-sizing: border-box;
32 } 32 }
33 33
  34 +.myactivity_starttime .state {
  35 + font-size: 24rpx;
  36 + color: #7B828B;
  37 +}
  38 +
  39 +
34 .myactivity_start { 40 .myactivity_start {
35 margin: 168rpx 202rpx; 41 margin: 168rpx 202rpx;
36 width: 282rpx; 42 width: 282rpx;
@@ -26,14 +26,14 @@ Page({ @@ -26,14 +26,14 @@ Page({
26 // }) 26 // })
27 // }, 27 // },
28 28
29 -// //加入理由  
30 -// textareaIn: function (e) {  
31 -// this.setData({  
32 -// textareaNum: e.detail.cursor,  
33 -// join_reason: e.detail.value 29 + //汇报
  30 + textareaIn: function (e) {
  31 + this.setData({
  32 + textareaNum: e.detail.cursor,
  33 + join_reason: e.detail.value
34 34
35 -// })  
36 -// }, 35 + })
  36 + },
37 // submit(e) { 37 // submit(e) {
38 // let that = this; 38 // let that = this;
39 39
1 { 1 {
2 - "usingComponents": {} 2 + "usingComponents": {},
  3 + "navigationBarTitleText": "工作汇报"
3 } 4 }
1 <!--微信号 --> 1 <!--微信号 -->
2 <view class='apply_item'> 2 <view class='apply_item'>
3 - <view>微信号</view> 3 + <view>姓名</view>
4 <view class='apply_item_input'> 4 <view class='apply_item_input'>
5 - <input placeholder='请输入微信号码' placeholder-class='input_p' bindinput='setwechat' value='{{wechat}}' 5 + <input placeholder='请输入姓名' placeholder-class='input_p' bindinput='setwechat' value='{{wechat}}'
6 disabled="{{page_type}}"></input> 6 disabled="{{page_type}}"></input>
7 </view> 7 </view>
8 </view> 8 </view>
@@ -11,19 +11,19 @@ @@ -11,19 +11,19 @@
11 </view> 11 </view>
12 <!--手机号码 --> 12 <!--手机号码 -->
13 <view class='apply_item'> 13 <view class='apply_item'>
14 - <view>手机号码</view> 14 + <view>工作内容</view>
15 <view class='apply_item_input'> 15 <view class='apply_item_input'>
16 - <input placeholder='请输入手机号码' type='number' placeholder-class='input_p' bindinput='setmove_phone'  
17 - value='{{move_phone}}' disabled="{{page_type}}" maxlength="11"></input> 16 + <input placeholder='请输入工作内容' placeholder-class='input_p' bindinput='setmove_phone'
  17 + value='{{move_phone}}' disabled="{{page_type}}"></input>
18 </view> 18 </view>
19 </view> 19 </view>
20 <view class="line"> 20 <view class="line">
21 <view></view> 21 <view></view>
22 </view> 22 </view>
23 <view class='apply_item'> 23 <view class='apply_item'>
24 - <view>手机号码</view> 24 + <view>参加日期</view>
25 <view class='apply_item_input'> 25 <view class='apply_item_input'>
26 - <input placeholder='请输入手机号码' type='number' placeholder-class='input_p' bindinput='setmove_phone' 26 + <input placeholder='请输入参加日期' placeholder-class='input_p' bindinput='setmove_phone'
27 value='{{move_phone}}' disabled="{{page_type}}" maxlength="11"></input> 27 value='{{move_phone}}' disabled="{{page_type}}" maxlength="11"></input>
28 </view> 28 </view>
29 </view> 29 </view>
@@ -31,22 +31,19 @@ @@ -31,22 +31,19 @@
31 <view></view> 31 <view></view>
32 </view> 32 </view>
33 <view class='apply_item'> 33 <view class='apply_item'>
34 - <view>手机号码</view> 34 + <view>参加时间</view>
35 <view class='apply_item_input'> 35 <view class='apply_item_input'>
36 - <input placeholder='请输入手机号码' type='number' placeholder-class='input_p' bindinput='setmove_phone' 36 + <input placeholder='请输入参加时间' placeholder-class='input_p' bindinput='setmove_phone'
37 value='{{move_phone}}' disabled="{{page_type}}" maxlength="11"></input> 37 value='{{move_phone}}' disabled="{{page_type}}" maxlength="11"></input>
38 </view> 38 </view>
39 </view> 39 </view>
40 40
41 -  
42 -  
43 -  
44 - 41 +<view class="listforms"></view>
45 <!-- 感想汇报 --> 42 <!-- 感想汇报 -->
46 <view class="doc-listform"> 43 <view class="doc-listform">
47 <view> 感想汇报</view> 44 <view> 感想汇报</view>
48 <textarea show-confirm-bar="" placeholder="请输入内容,内容最多为500字" maxlength="500" bindinput="textareaIn" value='{{join_reason}}'> 45 <textarea show-confirm-bar="" placeholder="请输入内容,内容最多为500字" maxlength="500" bindinput="textareaIn" value='{{join_reason}}'>
49 - <view style="position:absolute;bottom:20rpx;right:0rpx;color:gray;"><text style="color:#000;">{{textareaNum}}</text> / 100</view> 46 + <view style="position:absolute;bottom:20rpx;right:0rpx;color:gray;"><text style="color:#000;">{{textareaNum}}</text> / 500</view>
50 </textarea> 47 </textarea>
51 </view> 48 </view>
52 49
1 /* @import "../../apply//apply.wxss"; */ 1 /* @import "../../apply//apply.wxss"; */
2 -page { 2 +/* page {
3 background-color: rgb(240, 240, 240); 3 background-color: rgb(240, 240, 240);
4 -} 4 +} */
5 5
6 .apply_item { 6 .apply_item {
7 color: #333; 7 color: #333;
@@ -57,18 +57,21 @@ page { @@ -57,18 +57,21 @@ page {
57 57
58 /* */ 58 /* */
59 .doc-listform { 59 .doc-listform {
60 - margin-top: 30rpx;  
61 padding: 0 32rpx; 60 padding: 0 32rpx;
62 padding-top: 16rpx; 61 padding-top: 16rpx;
63 background-color: #ffffff; 62 background-color: #ffffff;
64 position: relative; 63 position: relative;
65 64
66 } 65 }
67 - 66 +.listforms{
  67 + height: 15rpx;
  68 + background-color: #eeeeee;
  69 +}
68 textarea { 70 textarea {
69 font-size: 28rpx; 71 font-size: 28rpx;
70 margin-top: 20rpx; 72 margin-top: 20rpx;
71 width: auto; 73 width: auto;
  74 + border: 2rpx solid #eeeeee;
72 } 75 }
73 /* 提示 */ 76 /* 提示 */
74 .tishi_wrap { 77 .tishi_wrap {
@@ -228,6 +228,27 @@ @@ -228,6 +228,27 @@
228 "pathName": "pages/getStudycontent/answer/answer", 228 "pathName": "pages/getStudycontent/answer/answer",
229 "query": "", 229 "query": "",
230 "scene": null 230 "scene": null
  231 + },
  232 + {
  233 + "id": 23,
  234 + "name": "在线培训",
  235 + "pathName": "pages/Online_regulations/Online_regulations",
  236 + "query": "",
  237 + "scene": null
  238 + },
  239 + {
  240 + "id": 24,
  241 + "name": "学习内容",
  242 + "pathName": "pages/getStudycontent/getStudycontent",
  243 + "query": "",
  244 + "scene": null
  245 + },
  246 + {
  247 + "id": -1,
  248 + "name": "dati ",
  249 + "pathName": "pages/getStudycontent/answer/answer",
  250 + "query": "id=1",
  251 + "scene": null
231 } 252 }
232 ] 253 ]
233 } 254 }