167 lines
7.9 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<block wx:if="{{showModal}}">
<view class="mask"></view>
<view class="relative">
<view class="modalDlg">
<!-- <view bindtap="loginClose" class="closeBox">
<image src="/images/guasn.png" />
</view> -->
<image src="/images/tc_bg.jpg" />
<text>一附院职工账号绑定</text>
<input type="text" class="modalInput" bindinput="bindIdCard" placeholder="请输入您的身份证号进行绑定" />
<view class="bao" bindtap="checkIdCard">确定</view>
</view>
</view>
</block>
<view catchtouchmove="{{shouquan==1?'dabvsb':''}}">
<view class="container">
<view class="addToSmallProgramClass" wx:if="{{showAddMeBtn&&guide_add_applet}}">
<view class="center_text_div_class">
<text>点击</text>
<image class="more" src="/images/add_to_min_program_more.png"></image>
<text>{{guide_add_applet}}</text>
</view>
<view style="width: 37rpx;height: 43rpx;position: absolute;top: 50%;transform: translateY(-50%);right: 123rpx;">
<image class="arrow" src="/images/add_to_min_program_arrow.png"></image>
</view>
<image bindtap="onClickAddToMinProgramCloseBtn" class="as-close" src="/images/add_to_min_program_close.png"></image>
</view>
<view class="top_2 flex-row">
<!-- style="width:100%;height:55vh;padding-top:0rpx;overflow:hidden;z-index: -1;" -->
<ec-canvas id="mychart-dom-area" canvas-id="mychart-area" ec="{{ ec }}"></ec-canvas>
<view style="height: 400rpx;width: 100%;"></view>
</view>
<view bindtap="goDuiHuan" class="lightUp flex-row" style="text-align: center;position: fixed; bottom: 33%; left: 20%; transform: translate(-50%, -50%); z-index: 300;" wx:if="{{ step >= indexData.step && indexData.dhnum == 0}}">
<view class="lightImage_1 flex-row justify-between">
<image class="innerDian" referrerpolicy="no-referrer" src="/images/dianzan.png" />
<view class="lightUpText">点亮城市</view>
</view>
<view style="margin-top: 10rpx;font-size: 30rpx;color: #ffffff;">{{step}}</view>
</view>
<view bindtap="goDuiHuanDis" class="lightUp_no flex-row" style="text-align: center;position: fixed; bottom: 33%; left: 20%; transform: translate(-50%, -50%); z-index: 300;" wx:else>
<view class="lightImage_1 flex-row justify-between">
<image class="innerDian" referrerpolicy="no-referrer" src="/images/dianzan.png" />
<view class="lightUpText">点亮城市</view>
</view>
<view style="margin-top: 10rpx;font-size: 30rpx;color: #ffffff;">{{step}}</view>
</view>
<!-- <cover-view class="lightUp flex-row" bindtap="goDuiHuan">
<cover-view class="lightImage_1 flex-row justify-between">
<cover-image class="innerDian" referrerpolicy="no-referrer" src="/images/dianzan.png"/>
<cover-view class="lightUpText">点亮城市</cover-view>
</cover-view>
</cover-view> -->
<!-- <ec-canvas id="mychart-dom-area" canvas-id="mychart-area" ec="{{ ec }}" ></ec-canvas> -->
<view style="position:fixed;bottom:0;width:100%;z-index:199;border-radius:40rpx 40rpx 0 0;background-color:rgb(233, 227, 227);padding: 20rpx;" class=" i-flex-col i-flex-alc">
<view class="relative i-flex-col i-flex-alc ">
<!-- <view class="step">{{step}}</view> -->
<!-- <view class="i-flex-col i-flex-alc item-container">
<block wx:if="{{ step >= indexData.step && indexData.dhnum == 0}}">
<view bindtap="goDuiHuan" data-step="{{step}}" class="dhlc i-flex-col i-flex-alc">
<text class="text" data-step="{{step}}">点亮城市</text>
<text class="num1" data-step="{{step}}">GO</text>
</view>
</block>
<block wx:else>
<view class="dhlc i-flex-col i-flex-alc " bindtap="goDuiHuanDis" style="background-color: #959595" >
<text class="text">点亮城市</text>
<text class="num1">GO</text>
</view>
</block>
</view> -->
</view>
<view class="i-flex i-flex-wrap item-container">
<!-- <view class="item-city" bindtap="goInfo"> -->
<view class="item-city" bindtap="goInfo">
<image class="locationImage" src="https://minipro.luochunlvshi.com/uploads/image/1/innerLocation.png"></image>
<!-- <view class="item-locationText pt20" bindtap="goInfo"> -->
<view class="item-locationText pt20" bindtap="goInfo">
<!-- 上一版定义的点亮城市的方法目前为了更好的查看更改后的效果暂时使用goSuccess方法
<view class="item-locationText pt20" bindtap="goDuiHuanDis"> -->
<view class="f-30 col-7" style="color: rgba(50, 50, 50, 1);">点亮城市</view>
<view class="f-24 col-7" style="color: rgba(153, 153, 153, 1);">点击查看</view>
<!-- <text class="iconfont icon-xiangyoujiantou col-7"></text> -->
</view>
</view>
<view class="item-canlendar" bindtap="goRili">
<image class="canlendarImage" src="https://minipro.luochunlvshi.com/uploads/image/1/innerCalendar.png"></image>
<view class="item-canlendarText pt20">
<view class="f-30 col-7" style="color: rgba(50, 50, 50, 1);">点亮日历</view>
<view class="f-24 col-7" style="color: rgba(153, 153, 153, 1);">点击查看</view>
<!-- <text class="iconfont icon-xiangyoujiantou col-7"></text> -->
</view>
</view>
<!-- <view class="i-flex i-flex-alc item pt20" bindtap="goRili">
<text class="f-26 col-7">点亮日历</text>
<text class="iconfont icon-xiangyoujiantou col-7"></text>
</view> -->
</view>
<view class="item-container">
<view class="i-flex i-flex-spb i-flex-wrap item-containerFir">
<view class="i-flex-col i-flex-alc item">
<text class="bottomRed">{{indexData.citydays}}</text>
<text class="top">累计点亮</text>
</view>
<view class="i-flex-col i-flex-alc item">
<text class="bottom">{{indexData.signdays}}</text>
<text class="top">累计天数</text>
</view>
<view class="i-flex-col i-flex-alc item">
<text class="bottom">{{indexData.rank}}</text>
<text class="top">我的排名</text>
</view>
</view>
<view class="i-flex i-flex-spb i-flex-wrap item-containerFir">
<view class="i-flex-col i-flex-alc item">
<text class="bottomRed">{{indexData.now}}</text>
<text class="top" bindtap="goInfo">当前城市</text>
</view>
<view class="i-flex-col i-flex-alc item">
<text class="bottom">{{indexData.next}}</text>
<text class="top">下个城市</text>
</view>
<view class="i-flex-col i-flex-alc item">
<text class="bottom">{{indexData.step}}1</text>
<text class="top">兑换比例</text>
</view>
</view>
</view>
</view>
</view>
<view catchtouchmove="true" class="denglu" wx:if="{{shouquan==1}}">
<view class="denglu_ong">
<image class="imhyua" src="/images/deng.png"></image>
<text>使用微信授权后才能更好的为您服务哦</text>
<button bindgetuserinfo="getUserProfile" class="register" openType="getUserInfo" type="primary">
立即授权
</button>
</view>
</view>
</view>
<!-- 点亮成功 -->
<view class="ruleZhezhao {{show == 1 ? 'isRuleShow':'isRuleHide'}}">
<view class='ruleZhezhaoContent'>
<image src='https://minipro.luochunlvshi.com/uploads/image/qiandao.png' class='backSuccess'></image>
<image bindtap="guanbilsig" class="guanf" src="/images/guan.png"></image>
<image class="successCity" src="https://minipro.luochunlvshi.com/uploads/image/1/innerLocation.png"></image>
<text class="successTime">{{today}}点亮这座城市</text>
</view>
</view>
<image bindtap="guanzhu" class="dianji" src="{{imageSet.index_gz_btn}}"></image>
<image bindtap="xiao" catchtouchmove="true" class="{{follow==0?'none':'quan'}}" src="{{imageSet.index_gz_gzh}}"></image>