qingcheng-xiaochengxu/pages/xiangqing/xiangqing.wxml
2025-05-15 09:40:36 +08:00

103 lines
4.2 KiB
Plaintext

<view class="flex-col page">
<view class="mt-34 flex-col group">
<view class="flex-row relative">
<image
class="image_2"
src="{{projectImage}}"
mode="aspectFill"
/>
<text class="self-start font text_2">{{projectName}}</text>
<view class="flex-col justify-start items-start group_2 pos">
<text class="font_2 text_4">{{projectDescription}}</text>
<view class="flex-col justify-start items-center text-wrapper pos_2" bind:tap="mingxi">
<text class="font_2 text_3">结算明细</text>
</view>
</view>
</view>
<view class="flex-row items-baseline group_3 mt-7">
<text class="text_5">最高价</text>
<text class="text_6 ml-3">¥{{projectPrice}}</text>
</view>
</view>
<view class="mt-34 flex-col">
<view class="flex-col group_4">
<view class="flex-row justify-between self-stretch group_5">
<view>
<text class="font_3 text_7" bindtap="onSelect"
data-key="detail"
class="{{ selected === 'detail' ? 'active' : '' }}" >项目详情</text>
<view wx:if="{{selected=='detail'}}" class="self-start section_2" style="margin-top: 10rpx;"></view>
</view>
<view>
<text class="font_3 text_8"
bindtap="onSelect"
data-key="code"
class="{{ selected === 'code' ? 'active' : '' }}" >我的推广码</text>
<view wx:if="{{selected=='code'}}" class="self-start section_2" style="margin-top: 10rpx;"></view>
</view>
</view>
</view>
<view wx:if="{{selected=='detail'}}" class="flex-col mt-19">
<view class="flex-col group_6">
<view class="mt-18 flex-col section_4">
<text class="self-start font_3 text_100 color" >结算说明:</text>
<view style="margin-top: 30rpx;">
<rich-text nodes="{{settlementDesc}}"></rich-text>
</view>
</view>
<view class="mt-18 flex-col section_5">
<text class="self-start font_3 text_12 color">项目说明:</text>
<rich-text style="margin-top: 30rpx;" nodes="{{projectDesc}}"></rich-text>
</view>
<view class="mt-18 flex-col section_6">
<text class="self-start font_3 text_15 color">项目流程:</text>
<rich-text style="margin-top: 30rpx;" nodes="{{projectFlow}}"></rich-text>
</view>
</view>
<view class="mt-18 flex-row">
<view class="flex-col justify-start items-center text-wrapper_2" bind:tap="back">
<text class="font_5 text_16">再想想</text>
</view>
<view class="flex-col justify-start items-center text-wrapper_3" bind:tap="jiedan">
<text class="font_5 text_17">申请推广码</text>
</view>
</view>
</view>
<!-- 无数据部分 -->
<view wx:if="{{selected == 'code' && promoCodeApplyVOList.length == 0}}" class="box">
<image class="imagesize" src="/image/4ec3ad48669184342e84e3641589c19b.png" mode="aspectFill"/>
<text>暂无数据</text>
</view>
<!-- 二维码部分 -->
<view class="mabox" wx:if="{{selected == 'code' && promoCodeApplyVOList.length > 0}}">
<view class="messagebox" wx:for="{{promoCodeApplyVOList}}">
<view class="title">
<text style="padding: 0 0 0 20px; color: #ffffff;">审核通过</text>
</view>
<view class="erweima">
<view class="zuobox">
<view style="padding: 10px;">
<text>{{item.salespersonName}}</text>
<text style="margin-left: 15rpx;">{{item.salespersonPhone}}</text>
</view>
<view style="padding: 10px;">
<text>任务名称:{{item.projectName}}</text>
</view>
<view class="jiexuan">
<view style="background-color: #FC7E09; width: 80px;display: flex;justify-content: center; align-items: center;">
<text style="color: #E33C64;">结算明细</text>
</view>
</view>
</view>
<view class="youbox">
<image class="imagesize1" src="{{item.projectImage}}" mode="aspectFill"/>
<text style="margin-top: 10rpx;">查看推广码</text>
</view>
</view>
</view>
</view>
</view>
</view>