123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188 |
- <template>
- <view class="main">
- <statusBar :item="navBarData"></statusBar>
- <uni-card :is-shadow="false">
- <view class="uni-body">
- <view class="card">
- <!-- <img src="../../static/jys/jys.png" alt="" class="image" /> -->
- <image class="image" src="../../static/jys/jys.png" mode=""></image>
- <view class="text">
- <!-- <view class="text_title">
- <text class="manage">类型</text>
- <text class="t1">这里是教研室名22222称</text>
- </view> -->
- <view class="text_title">
- <view class="manage bqZ-font">类型</view>
- <view class="t1 bmTit-font">这里是教研室名这里是教研室名这里是教研室名这里是教研室名</view>
- </view>
- <view class="">
- 负责人:xxx
- </view>
- <view class="">
- 教研室标签:
- </view>
- </view>
- </view>
- </view>
- </uni-card>
- <uni-card :is-shadow="false">
- <view class="uni-body">
- <view class="card2">
- <view class="hdxx">
- <view class="hd btn-font">活动信息</view>
- <view class="textcolor">
- <view class="name fz-font">
- 姓名:
- <text class="name1 fz-font">李某某</text>
- </view>
- <view class="name fz-font">
- 联系方式:
- <text class="lx1 fz-font">172xxxxx5678</text>
- </view>
- <view class="name fz-font">
- 单位:
- <text class="dw1 fz-font">xx实验中学学校</text>
- </view>
- </view>
- </view>
- </view>
- </view>
- </uni-card>
- <view class="buttons">
- <view class="button-container">
- <button @click="button1Action" class="btn1 sZw-font">清空填写信息</button>
- <!-- <text class="button-spacing"></text> -->
- <!-- 添加间距 -->
- <button @click="button2Action" class="btn2 sZw-font">申请加入</button>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- navBarData: {
- title: '教研室报名',
- btn: 1
- }
- };
- },
- methods: {
- button1Action() {
- // 这里添加按钮1点击后触发的动作
- console.log('Button 1 clicked');
- },
- button2Action() {
- // 这里添加按钮2点击后触发的动作
- console.log('Button 2 clicked');
- }
- }
- };
- </script>
- <style lang="scss" scoped>
- .main {
- .card {
- display: flex;
- justify-content: flex-start;
- .image {
- flex-shrink: 0;
- width: 160rpx;
- height: 160rpx;
- border-radius: 4px;
- }
- .text {
- margin-left: 10px; // 增加一点空间
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- // line-height: 35px; // 根据你的需求调整,使/文本与图片保持
- .text_title {
- display: flex;
- // align-items: center;
- .manage {
- // flex-shrink: 0;
- padding:0 10rpx;
- // font-size: 25rpx;
- // width: 40rpx;
- // height: 24rpx;
- display: flex;
- align-items: center;
- min-width: 50rpx;
- color: #00b2b6;
- border: 1px solid #00b2b6;
- border-radius: 3px;
- margin-right: 10rpx;
- }
- .t1 {
- // font-size: 35rpx;
- color: black;
- width: 350rpx;
- font-weight: 550;
- overflow:hidden;
- text-overflow:ellipsis;
- white-space:nowrap;
- }
- }
- }
- }
- .hdxx {
- .hd {
- color: black;
- // font-size: 18px;
- font-weight: 400px;
- line-height: 42px;
- }
- .textcolor {
- color: #999999;
- line-height: 42px;
- .name {
- display: flex;
- justify-content: space-between;
- margin-bottom: 20rpx;
- }
- }
- }
- .buttons {
- background-color: white;
- position: fixed;
- bottom: 0;
- left: 0;
- width: 100%;
- display: flex;
- justify-content: space-around;
- box-sizing: border-box;
- padding: 30rpx 0;
- padding-bottom: 50rpx;
- // font-size: 30rpx;
- .button-container {
- width: 100%;
- display: flex;
- justify-content: space-around;
- .btn1{
- width: 45%;
- border: 1px solid #666666;
- border-radius: 50px;
- height: 70rpx;
- line-height: 70rpx;
- // font-size: 35rpx;
- color: #666666;
- }
- .btn2{
- width: 45%;
- background-color: #0056a8;
- border-radius: 50px;
- height: 70rpx;
- line-height: 70rpx;
- // font-size: 35rpx;
- color: #ffffff;
- }
- }
-
- }
- }
- </style>
|