作者 王智

bug

@@ -141,6 +141,14 @@ Page({ @@ -141,6 +141,14 @@ Page({
141 141
142 } 142 }
143 }) 143 })
  144 + setTimeout(function () {
  145 + wx.navigateTo({
  146 + url: '/pages/Online_regulations/Online_regulations',
  147 + })
  148 + }, 1000)
  149 +
  150 +
  151 +
144 } 152 }
145 } 153 }
146 154
@@ -19,7 +19,7 @@ @@ -19,7 +19,7 @@
19 </view> 19 </view>
20 <view class="shengqin"> 20 <view class="shengqin">
21 <button bindtap="getcomfirm">确认</button> 21 <button bindtap="getcomfirm">确认</button>
22 - <button style="background: #cfcfcf;" wx:if="">已答题</button> 22 + <!-- <button style="background: #cfcfcf;" wx:if="">已答题</button> -->
23 </view> 23 </view>
24 24
25 <!-- 答案 --> 25 <!-- 答案 -->
@@ -11,8 +11,10 @@ @@ -11,8 +11,10 @@
11 </view> 11 </view>
12 12
13 13
14 -<view class="answer" bindtap="getanswer">  
15 - <view hover-class="none" wx:if="{{list}}">去答题</view> 14 +<view class="answer" >
  15 + <view hover-class="none" bindtap="getanswer" wx:if="{{list.user_status==0}}">去答题</view>
  16 + <button style="background: #cfcfcf;" wx:if="{{list.user_status==1}}">已答题</button>
  17 +
16 </view> 18 </view>
17 <button open-type="share"> 19 <button open-type="share">
18 <view class="btn-item" style="background: url('/imgs/shares.png') no-repeat center;background-size: cover;" 20 <view class="btn-item" style="background: url('/imgs/shares.png') no-repeat center;background-size: cover;"
@@ -48,6 +48,16 @@ @@ -48,6 +48,16 @@
48 border-radius: 22px; 48 border-radius: 22px;
49 box-shadow: 0px 9px 19px 0px rgba(0, 116, 45, 0.42); 49 box-shadow: 0px 9px 19px 0px rgba(0, 116, 45, 0.42);
50 } 50 }
  51 +
  52 +.answer button {
  53 + width: 622rpx;
  54 + height: 88rpx;
  55 + color: #ffffff;
  56 + border-radius: 22px;
  57 + /* background: linear-gradient(130deg, #2ed26e 13%, #05983e 98%); */
  58 + /* box-shadow: 0px 9px 19px 0px rgba(0, 116, 45, 0.42); */
  59 +
  60 +}
51 /* 分享 */ 61 /* 分享 */
52 .btn-item { 62 .btn-item {
53 width: 100rpx; 63 width: 100rpx;