Bläddra i källkod

修改是否直播映射关系

yufei
余菲 1 år sedan
förälder
incheckning
c77e2ebb63
3 ändrade filer med 3 tillägg och 3 borttagningar
  1. +1
    -1
      environments.js
  2. +1
    -1
      package_A/page/TaskDetail/index.js
  3. +1
    -1
      package_A/page/TaskDetail/index.wxml

+ 1
- 1
environments.js Visa fil

release: "https://pilot-miniprogram.t-aaron.com/pilot/miniprogram" release: "https://pilot-miniprogram.t-aaron.com/pilot/miniprogram"
} }
const __request_oidc_url__ = { const __request_oidc_url__ = {
// develop: "https://oidc.t-aaron.com",
develop: "https://login-test.t-aaron.com", develop: "https://login-test.t-aaron.com",
// develop: "https://oidc.test.t-aaron.com",
trial: "https://login-test.t-aaron.com", trial: "https://login-test.t-aaron.com",
release: "https://oidc.t-aaron.com" release: "https://oidc.t-aaron.com"
} }

+ 1
- 1
package_A/page/TaskDetail/index.js Visa fil

this.setData({pointList}) this.setData({pointList})
// 表单动态展示 // 表单动态展示
let formRules = this.data.formRules let formRules = this.data.formRules
if(dataSource.isLive === 0) {
if(dataSource.isLive === 2) {
formRules = Object.assign({}, baseRules) formRules = Object.assign({}, baseRules)
} else { } else {
form.cloudBoxId = dataSource.cloudBoxId form.cloudBoxId = dataSource.cloudBoxId

+ 1
- 1
package_A/page/TaskDetail/index.wxml Visa fil

<view class="message_list"> <view class="message_list">
<view class="message_item" wx:for="{{messageList}}" wx:key="index"> <view class="message_item" wx:for="{{messageList}}" wx:key="index">
<image style="width: 28rpx;height: 28rpx;margin-right: 20rpx;" src="{{'../../../assets/img/'+item.icon+'.png'}}"></image> <image style="width: 28rpx;height: 28rpx;margin-right: 20rpx;" src="{{'../../../assets/img/'+item.icon+'.png'}}"></image>
<text>{{item.label}}:<text wx:if="{{item.value === 'isLive'}}">{{dataSource[item.value] === 0 ? '否' : '是'}}</text><text wx:else>{{dataSource[item.value] || ''}}</text></text>
<text>{{item.label}}:<text wx:if="{{item.value === 'isLive'}}">{{dataSource[item.value] === 2 ? '否' : '是'}}</text><text wx:else>{{dataSource[item.value] || ''}}</text></text>
</view> </view>
</view> </view>
</view> </view>

Laddar…
Avbryt
Spara