From 266c7278841d2cbae5e9ab969ffd2efae1d0dda5 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期五, 06 九月 2024 10:08:55 +0800 Subject: [PATCH] renwu --- packageBookService/pages/bookServices/detail/components/learnResource/learnResource.wxml | 28 +++++++++++++++++----------- 1 files changed, 17 insertions(+), 11 deletions(-) diff --git a/packageBookService/pages/bookServices/detail/components/learnResource/learnResource.wxml b/packageBookService/pages/bookServices/detail/components/learnResource/learnResource.wxml index 4dde643..ae932ee 100644 --- a/packageBookService/pages/bookServices/detail/components/learnResource/learnResource.wxml +++ b/packageBookService/pages/bookServices/detail/components/learnResource/learnResource.wxml @@ -1,15 +1,21 @@ <!--pages/bookServices/detail/components/learnResource/learnResource.wxml--> -<view class="learnResource" theme="primary"> - <t-button loading="{{receive}}" class="btn" theme="primary" style="height: 72rpx; font-size: 28rpx; " t-class="external-class" bind:tap="getFreeResource"> - <t-image src=" /static/images/bookService/detail/yijianlingqu.png"></t-image> - <text>棰嗗彇鏌ョ湅</text> +<view class="learnResource" theme="primary" style="justify-content: {{!isshowDrawBtn ? 'flex-end' : ''}};"> + <t-button wx:if="{{isshowDrawBtn}}" loading="{{receive}}" class="btn" theme="primary" style="height: 72rpx; font-size: 28rpx" t-class="external-class" bind:tap="getFreeResource"> + <view slot="content" class="btn-content"> + <image src=" /static/images/bookService/detail/yijianlingqu.png" /> + <text>棰嗗彇鏌ョ湅</text> + </view> </t-button> - <t-button loading="{{buy}}" class="btn" theme="primary" style="height: 72rpx; font-size: 28rpx;" bind:tap="allAddShoppiingCar"> - <t-image src="/static/images/bookService/detail/yijiangoumai.png"></t-image> - 涓�閿喘涔� + <t-button loading="{{buy}}" class="btn" theme="primary" bind:tap="goBuyResource" style="height: 72rpx; font-size: 28rpx;margin: {{!isshowDrawBtn ? '0 20rpx' : ''}}"> + <view slot="content" class="btn-content"> + <image src="/static/images/bookService/detail/yijiangoumai.png" /> + <text>璧勬簮璐拱</text> + </view> </t-button> - <t-button class="btn" theme="primary" style="height: 72rpx; font-size: 28rpx;" wx:if="{{false}}"> - <t-image src="/static/images/bookService/detail/renwudan锛廼con.png"></t-image> - 瀛︿範浠诲姟鍗� - </t-button> + <!-- <t-button class="btn" theme="primary" style="height: 72rpx; font-size: 28rpx;margin:0 20rpx" bind:tap="goLearnTask"> + <view slot="content" class="btn-content"> + <image src="/static/images/bookService/detail/renwudan锛廼con.png" /> + <text>瀛︿範浠诲姟鍗�</text> + </view> + </t-button> --> </view> \ No newline at end of file -- Gitblit v1.9.1