123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002 |
- <template>
- <view class="nav">
- <!-- 胶囊 -->
- <mvBar :mysNavConfig="mysNavConfig"></mvBar>
- <view :style="{marginTop:navH}"></view>
- <view class="home">
- <view>
- <uni-search-bar @confirm="search" :focus="true" v-model="searchValue">
- </uni-search-bar>
- </view>
- <view class="commodity" style="margin-top: 3%;">
- <view class="project" v-for="(item,index) in selectionList" :key="index" @tap="toDetail(item)">
- <!-- 主图 -->
- <view class="projectdiagram" :style="{backgroundImage:`url(${item.coverphoto})`}">
- <view class="Mask" v-if="false">
- <image src="https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/home4.png" mode="">
- </image>
- </view>
- <view style="padding-left: 4%;padding-top: 2%;">
- </view>
- </view>
- <view class="projecttext">
- <image :src="item.platform_icon">
- </image>
- <span>{{item.selection_name|ellipsis}}</span>
- </view>
- <!-- 项目信息1 -->
- <view class="projectinfo">
- <view class="projectinfotxt">
- <p>售价</p>
- <p>¥{{item.estimated_cost}}</p>
- </view>
- <view class="projectinfotxt">
- <p>预估赚</p>
- <p style="color: #f70606;">¥{{item.commission}}</p>
- </view>
- <view class="projectinfotxt">
- <p>佣金</p>
- <p>{{item.commission_rate}}%</p>
- </view>
- <view class="projectinfotxt" v-if="item.task_mode == 1">
- <p>额外悬赏</p>
- <p style="color: #f70606;">¥{{item.task_reward}}</p>
- </view>
- </view>
- <!-- 项目信息2 -->
- <view class="projectinfo" style="justify-content: space-between;">
- <view class="projectinfotxt" style="margin: 0 10rpx;">
- <p>余<span style="color: #52b2f0;">{{item.remain_num}}</span>件</p>
- </view>
- <view class="projectinfotag">
- <view class="TitleText" v-if="item.sample_mode == 1">
- <p>免费领</p>
- </view>
- <view class="TitleText" v-else>
- <p>垫付后返</p>
- </view>
- <view class="TitleText" v-if="item.task_mode == 1">
- <p>悬赏</p>
- </view>
- <view class="TitleText" v-else>
- <p>纯佣</p>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- 普通弹窗 公众号-->
- <uni-popup ref="popup4" class="share" background-color="#fff">
- <view class="popup-content" :class="{ 'popup-height': type === 'left' || type === 'right' }">
- <view class="sharepage">
- <view class="projecttext1">
- <image src="https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/project15.png"
- style="width: 80rpx; height: 80rpx;" mode=""></image>
- <span>YoungGee</span>
- </view>
- <view class="" style="margin-top: 5%;">
- <p style='color: #333333;font-size: 28rpx;text-align: center;'>扫码联系</p>
- </view>
- <view class="sharemap">
- <image src="https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/kefu.png"
- style="width: 400rpx;height: 400rpx;" mode=""></image>
- </view>
- </view>
- </view>
- </uni-popup>
- <view class="contact" @click="toggle4('center')">
- <view class="contt">
- <image class="img1"
- src="https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/kefu_20211124192542.png" mode="">
- </image>
- </view>
- </view>
- </view>
- </template>
- <script>
- import mvBar from "@/components/mys_navBar/mysNavBar";
- import request from '@/components/request.js'
- import searchVue from "./search.vue";
- /* 默认首页路径 */
- const homePath = "/pages/pupu/pupudao";
- /* 默认首页图标路径 */
- const homeIconPath = "/static/img/png4.png";
- /* 默认返回图标路径 */
- const backIconPath = "/static/img/png2.png";
- export default {
- props: {
- scrollTop: {
- type: Number,
- default: function() {
- return 0;
- },
- },
- },
- filters: {
- ellipsis(value) {
- if (!value) return "";
- if (value.length > 20) {
- return value.slice(0, 20) + "...";
- }
- return value;
- },
- },
- components: {
- mvBar,
- },
- data() {
- return {
- navH: getApp().globalData.navHeight,
- searchValue: "",
- mysNavConfig: {
- /* 开启单页显示首页图标 */
- isHome: true,
- /* 固定导航 */
- navFixed: true,
- /* 标题 (屏幕中心居中 两边图标中心居中使用slot center1) */
- navTitle: {
- text: "任务搜索",
- color: "",
- fontSize: "32rpx", // px upx rpx
- fontWeight: "normal", // 100 - 700
- },
- btnType: "type2",
- onLeftClick: "",
- /* type2 按钮 */
- type2Config: {
- // 左图标
- leftPath: "/static/img/png2.png",
- // 右图标
- rightPath: "/static/img/png4.png",
- // 圆角
- radius: "40rpx",
- },
- },
- token: '',
- per: 0,
- type4: 'center',
- //轮播图
- img: 'https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/home1.png',
- background: ['color1', 'color2', 'color3'],
- indicatorDots: true,
- autoplay: true,
- interval: 3000,
- duration: 1000,
- list1: [{
- img: 'https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/home1.png',
- name: '/pages/tasksquare/guide'
- },
- {
- img: 'https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/home7.png',
- name: '/pages/tasksquare/cooperation'
- }
- ],
- //弹窗
- type: 'center',
- formData: {
- hobby: [],
- hobby1: [],
- hobby2: [],
- },
- hobby: [],
- hobby1: [{
- text: '产品置换',
- value: 1
- }, {
- text: '固定稿费',
- value: 2
- }, {
- text: '自报价',
- value: 3
- }],
- hobby2: [{
- text: '实体商品寄拍',
- value: 1
- }, {
- text: '虚拟产品测评',
- value: 2
- }, {
- text: '线下探店打卡',
- value: 3
- }],
- iconW: undefined,
- iconH: undefined,
- btnWidth: undefined,
- btnHeight: undefined,
- navBarTop: undefined,
- navBarHeight: undefined,
- navBarLeft: undefined,
- navBarRight: undefined,
- inputHeight: undefined,
- opacity: 0,
- isHome: false,
- homeIconPath: homeIconPath,
- backIconPath: backIconPath,
- img: '../../static/home/home.png',
- // 最多显示页数
- max_page: '',
- tupian: {
- wen: '原创图片',
- lin: 1,
- },
- selectionList: [],
- img456: '../../static/home/home.png',
- platformList: [],
- filtCondition: '',
- };
- },
- computed: {
- isSharePage() {},
- },
- watch: {
- scrollTop(val) {
- if (!this.mysNavConfig.isOpacity) {
- return;
- }
- this.setOpacity(val, this.mysNavConfig.opacityTime);
- },
- },
- created() {},
- onLoad() {},
- async onShow() {
- this.isLoginApi()
- await this.getInfoListApi()
- this.per = 0
- this.getSelectionListApi()
- },
- onReady() {},
- //下拉刷新
- onPullDownRefresh() {
- this.per = 0
- this.getSelectionListApi()
- //停止下拉刷新
- uni.stopPullDownRefresh()
- },
- // 下拉懒加载
- async onReachBottom() {
- ++this.per;
- if (this.per >= this.max_page) {
- uni.showToast({
- title: "已加载全部"
- })
- } else {
- uni.showLoading({
- title: '加载中'
- })
- await this.getSelectionListApi()
- uni.hideLoading();
- }
- },
- methods: {
- async search(res) {
- uni.showToast({
- title: '搜索:' + res.value,
- icon: 'none'
- })
- this.per = 0;
- this.filtCondition = ''
- if (res.value != "")
- this.filtCondition = "&searchvalue" + "=" + res.value
- uni.showLoading({
- title: '加载中'
- });
- this.selectionList = []
- await this.getSelectionListApi()
- uni.hideLoading();
- },
- // 计算结束时间
- thistime(val) {
- // 转换格式
- var beginTime = new Date(val.replace(/-/g, "/"));
- // 当前时间
- var thisTime = new Date();
- // 相减
- var dateMiss = beginTime.getTime() - thisTime.getTime();
- // 天数
- var day = Math.floor(dateMiss / (24 * 3600 * 1000));
- // 减去天数剩下的毫秒数
- var backOne = dateMiss % (24 * 3600 * 1000);
- // 小时数
- var hours = Math.floor(backOne / (3600 * 1000));
- var deadline_time = '',
- deadline_time = day + '天' + hours + '时结束'
- return deadline_time
- },
- toggle4(type) {
- this.type4 = type
- // open 方法传入参数 等同在 uni-popup 组件上绑定 type属性
- this.$refs.popup4.open(type)
- // this.$refs.popup1.close()
- },
- toDetail(item) {
- uni.navigateTo({
- url: '/page_selectionsquare/selectiondetail/selectiondetail?id=' + item.selection_id
- });
- },
- /**
- * @param scrollTop 页面顶部距离
- * @param down 滑动显示效果延时
- */
- setOpacity(scrollTop, down = 60) {
- if (scrollTop > 0) {
- if (scrollTop < down) {
- this.opacity = scrollTop / down;
- }
- if (scrollTop > down) {
- this.opacity = 1;
- }
- } else {
- this.opacity = 0;
- }
- },
- isLoginApi() {
- return this.$https.get('/youngee/c/t/g/is-login')
- .then(res => {
- if (res.data.code === 403) {
- // 登陆已失效
- this.token = ""
- uni.clearStorage();
- } else {
- this.token = uni.getStorageSync('token')
- }
- })
- },
- getInfoListApi() {
- return this.$http.get('/youngee/c/g/get-info-tables')
- .then(res => {
- this.hobby = []
- this.platformList = res.data.data.ThirdPlatform
- let l = this.platformList != null ? this.platformList.length : 0;
- for (var i = 0; i < l; i++) {
- var obj = {}
- obj.text = this.platformList[i].platform_name
- obj.value = this.platformList[i].id
- this.hobby.push(obj)
- }
- })
- },
- getSelectionListApi() {
- return this.$http.get('/youngee/c/g/get-selection-list' +
- "?" +
- "idx" +
- "=" +
- this.per +
- "&cnt" +
- "=" +
- 20 + this.filtCondition
- ).then(res => {
- if (res.data.code === 0) {
- console.log("res: ", res.data.data)
- // 获取res返回数据
- this.max_page = res.data.data.max_page
- this.selectionList = res.data.data.SeletionInfos
- const count = res.data.data.count
- // 数据处理
- for (var i = 0; i < count; i++) {
- // 封面图片
- this.selectionList[i].ProductInfo = JSON.parse(this.selectionList[i].product_snap);
- // 封面图片
- let ProductPhoto = JSON.parse(this.selectionList[i].product_photo_snap);
- for (let j = 0; j < ProductPhoto.length; ++j) {
- if (ProductPhoto[j].Symbol == 1) {
- this.selectionList[i].coverphoto = ProductPhoto[j].PhotoUrl
- }
- }
- for (var j = 0; j < this.platformList.length; j++) {
- if (this.selectionList[i].platform === this.platformList[j].id) {
- this.selectionList[i].platform_icon = this.platformList[j].platform_icon
- }
- }
- // 佣金计算
- this.selectionList[i].commission = this.selectionList[i].commission_rate * this
- .selectionList[i].estimated_cost * 0.01
- this.selectionList[i].commission = this.selectionList[i].commission.toFixed(1)
- }
- }
- });
- },
- },
- };
- </script>
- <style>
- /deep/ .share .uni-popup .uni-popup__wrapper {
- width: 70% !important;
- border-radius: 15rpx !important;
- }
- </style>
- <style lang="scss" scoped>
- .option1 {
- padding: 5rpx 18rpx;
- /deep/.uni-data-checklist .checklist-group .checklist-box .checklist-content {
- width: 100rpx;
- text-align: center;
- }
- }
- .option2 {
- padding: 5rpx 18rpx;
- }
- .option3 {
- padding: 5rpx 18rpx;
- }
- //弹窗
- .sharepage {
- width: 90%;
- margin: 0 auto;
- // position: relative;
- }
- /deep/ .share.uni-popup .uni-popup__wrapper {
- width: 70%;
- border-radius: 15rpx;
- }
- .projecttext1 {
- // padding-top: 5%;
- padding: 0 0 0 1%;
- height: 80rpx;
- margin-top: 7%;
- text-align: center;
- }
- .projecttext1 span {
- color: #333333;
- font-size: 100%;
- font-weight: 550;
- text-indent: 2em;
- }
- .projecttext1 image {
- vertical-align: middle;
- width: 80rpx;
- height: 80rpx;
- display: inline-block;
- padding-right: 14rpx;
- }
- .sharemap {
- margin: 0 auto;
- text-align: center;
- margin-top: 15%;
- margin-bottom: 15%;
- }
- .sharemap image {
- width: 400rpx;
- height: 400rpx;
- }
- .butmin {
- height: 48rpx;
- background-color: #3397FA;
- color: #FFFFFF;
- line-height: 48rpx;
- }
- //弹出层
- /deep/ .uni-data-checklist .checklist-group .checklist-box {
- background-color: #FFFFFF !important;
- border-radius: 20rpx !important;
- padding: 8rpx 30rpx !important;
- border: 0 !important;
- }
- /deep/ .uni-data-checklist .checklist-group .checklist-box .checklist-content .checklist-text {
- font-size: 24rpx;
- color: #333333;
- }
- /deep/ .mini-btn {
- height: 70rpx;
- width: 250rpx;
- line-height: 70rpx;
- margin: 20rpx;
- letter-spacing: 4rpx;
- background-color: #FCCF41;
- }
- /deep/ .mini-btn1 {
- height: 70rpx;
- width: 400rpx;
- line-height: 70rpx;
- margin: 20rpx;
- letter-spacing: 4rpx;
- color: white;
- ;
- }
- /deep/ .uni-data-checklist .checklist-group .checklist-box.is--tag.is-checked {
- background-color: #FCCF41 !important;
- }
- .butto {
- text-align: center;
- }
- //其他
- .nav {
- position: relative;
- }
- .nv_padding {
- height: 88upx;
- background-color: transparent;
- }
- /* 图标默认大小 */
- .nv_icon {
- width: 16px;
- height: 16px;
- }
- .bg_box {
- position: absolute;
- width: 750upx;
- height: 88upx;
- z-index: 10;
- top: 0;
- background-color: transparent;
- /* #ifdef MP */
- box-sizing: border-box;
- /* #endif */
- /* #ifndef APP-PLUS-NVUE */
- background-size: cover;
- background-repeat: no-repeat;
- background-position: center center;
- /* #endif */
- }
- .mys_navBar {
- /* #ifndef APP-PLUS-NVUE */
- display: flex;
- height: 88upx;
- /* #endif */
- // #ifdef MP
- box-sizing: border-box;
- // #endif
- width: 750upx;
- flex-direction: row;
- background-color: transparent;
- position: absolute;
- z-index: 10;
- top: 0;
- }
- .fixed {
- position: fixed;
- }
- /*
- left 按钮
- */
- .btn_type {
- /* #ifndef APP-PLUS-NVUE */
- display: flex;
- /* #endif */
- /* #ifdef APP-PLUS-NVUE */
- margin-left: 16upx;
- /* #endif */
- // #ifndef MP
- align-items: center;
- // #endif
- flex: 1;
- flex-direction: row;
- // background-color: #fff;
- }
- .btn_box {
- /* #ifndef APP-PLUS-NVUE */
- display: flex;
- margin-left: 16upx;
- /* #endif */
- flex-direction: row;
- // #ifndef MP
- align-items: center;
- // #endif
- }
- .btn_back,
- .btn_home {
- /* #ifndef APP-PLUS-NVUE */
- display: flex;
- /* #endif */
- /* #ifndef APP-PLUS-NVUE */
- height: 100%;
- /* #endif */
- /* #ifdef APP-PLUS-NVUE */
- width: 76upx;
- height: 62upx;
- /* #endif */
- flex-direction: row;
- align-items: center;
- justify-content: center;
- flex: 1;
- }
- /* 按钮类型1 */
- .nav_btn_t1 {
- /* #ifndef APP-PLUS-NVUE */
- display: flex;
- /* #endif */
- // #ifdef MP
- box-sizing: border-box;
- // #endif
- flex-direction: row;
- align-items: center;
- border-style: solid;
- border-width: 1px;
- border-color: #C0C0C0;
- // background-color: rgba(0, 0, 0, 0.2);
- background-color: #FFFFFF;
- width: 130upx;
- height: 45upx;
- }
- .line {
- width: 1upx;
- height: 60%;
- /* #ifdef APP-PLUS-NVUE */
- height: 30upx;
- /* #endif */
- background-color: #C0C0C0;
- }
- /*
- 标题
- */
- .title_container {
- /* #ifndef APP-PLUS-NVUE */
- display: flex;
- /* #endif */
- position: absolute;
- left: 375upx;
- bottom: 0;
- transform: translateX(-50%);
- flex-direction: row;
- justify-content: center;
- align-items: center;
- }
- .title_text {
- // flex: 1;
- text-overflow: ellipsis;
- /* #ifndef APP-PLUS-NVUE */
- white-space: nowrap;
- overflow: hidden;
- font-weight: 550;
- /* #endif */
- /* #ifdef APP-PLUS-NVUE */
- lines: 1;
- /* #endif */
- }
- /*
- 左边自定义
- */
- .my_left_box {
- /* #ifndef APP-PLUS-NVUE */
- display: flex;
- /* #endif */
- flex-direction: row;
- align-items: center;
- }
- .my_left_icon {
- /* #ifndef APP-PLUS-NVUE */
- display: flex;
- /* #endif */
- flex-direction: row;
- align-items: center;
- justify-content: center;
- /* #ifndef MP */
- margin-left: 18upx;
- /* #endif */
- }
- .my_left_custom {
- /* #ifndef APP-PLUS-NVUE */
- display: flex;
- /* #endif */
- flex-direction: row;
- align-items: center;
- // justify-content: center;
- }
- /* 文字 */
- .leftText {
- /* #ifndef APP-PLUS-NVUE */
- display: flex;
- /* #endif */
- flex-direction: row;
- align-items: center;
- justify-content: center;
- padding-left: 4upx;
- font-size: 15px;
- }
- /*
- 中间
- */
- .my_custom_box {
- /* #ifndef APP-PLUS-NVUE */
- display: flex;
- /* #endif */
- flex-direction: row;
- align-items: center;
- justify-content: center;
- flex: 1;
- }
- /*
- 搜索框
- */
- .nv_search_box {
- /* #ifndef APP-PLUS-NVUE */
- display: flex;
- /* #endif */
- flex-direction: row;
- align-items: center;
- flex: 1;
- /* #ifndef MP */
- height: 60upx;
- /* #endif */
- background-color: #f8f8f8;
- padding-right: 20upx;
- padding-left: 20upx;
- border-radius: 60upx;
- margin-right: 15upx;
- margin-left: 15upx;
- }
- .nv_input {
- flex: 1;
- padding-left: 16upx;
- font-size: 13px;
- }
- .close {
- width: 50upx;
- /* #ifndef APP-PLUS-NVUE */
- display: flex;
- /* #endif */
- flex-direction: row;
- align-items: center;
- justify-content: center;
- /* #ifndef MP */
- height: 62upx;
- /* #endif */
- }
- /*
- 右边 自定义
- */
- .my_right_icon {
- /* #ifndef APP-PLUS-NVUE */
- display: flex;
- /* #endif */
- flex-direction: row;
- align-items: center;
- justify-content: center;
- /* #ifndef MP */
- // min-width: 70upx;
- /* #endif */
- padding-left: 6px;
- padding-right: 10px;
- }
- .imge image {
- width: 100%;
- height: 260rpx;
- }
- .commodity {
- margin-top: 10rpx;
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- }
- .share {
- text-align: center;
- line-height: 10rpx;
- margin-top: 10rpx;
- }
- .share image {
- vertical-align: middle;
- width: 25rpx;
- height: 25rpx;
- display: inline-block
- }
- .share p {
- display: inline-block;
- font-size: 24rpx;
- color: #333333;
- }
- .introduction {
- width: 100%;
- margin: 10rpx auto 0;
- }
- .rleft p {
- font-size: 18rpx;
- color: #999999;
- }
- .rright p {
- font-size: 18rpx;
- color: #999999;
- }
- .Mask {
- position: absolute;
- background-color: #000000;
- opacity: 0.6;
- width: 100%;
- height: 100%;
- // z-index: 999;
- text-align: center;
- border-radius: 20rpx;
- }
- .Mask image {
- width: 50%;
- height: 52%;
- padding-top: 25%;
- }
- .contt {
- position: relative;
- }
- .contact {
- position: fixed;
- top: 80%;
- right: 13%;
- }
- .img1 {
- width: 84rpx;
- height: 124rpx;
- position: absolute;
- }
- .img2 {
- width: 114rpx;
- height: 40rpx;
- position: absolute;
- top: 130rpx;
- left: -12rpx;
- }
- .swiper {
- height: 300rpx;
- }
- .swiper-item {
- display: block;
- height: 300rpx;
- line-height: 300rpx;
- text-align: center;
- }
- .swiper-list {
- margin-top: 40rpx;
- margin-bottom: 0;
- }
- </style>
- <style lang="scss" scoped>
- .commodity {
- margin-top: 10rpx;
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- }
- .project {
- width: 49%;
- height: 550rpx;
- border-radius: 20rpx;
- margin-bottom: 0%;
- }
- .projectdiagram {
- width: 100%;
- height: 61%;
- background-size: 100% 100%;
- position: relative;
- border-radius: 10rpx;
- ;
- }
- .projecttext {
- // padding-top: 5%;
- padding: 0 0 0 1%;
- // height: 80rpx;
- }
- .projecttext span {
- color: #333333;
- font-size: 25rpx;
- font-weight: 550;
- text-indent: 2em;
- }
- .projecttext image {
- vertical-align: middle;
- width: 30rpx;
- height: 30rpx;
- display: inline-block;
- margin-right: 14rpx;
- }
- .projectinfo {
- display: flex;
- justify-content: space-between;
- padding: 0 10rpx;
- }
- .projectinfotxt {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- }
- .projectinfotxt p {
- color: #767272;
- font-size: 20rpx;
- margin: 5rpx 0;
- }
- .projectinfotag {
- display: flex;
- justify-content: space-around;
- align-items: center;
- }
- .TitleText {
- // height: 30rpx;
- width: 100rpx;
- background-color: #f70606;
- border-radius: 10rpx;
- display: inline-block;
- text-align: center;
- // padding: 0rpx 10rpx 0rpx 10rpx;
- margin-right: 6%;
- line-height: 30rpx;
- margin-top: 0%;
- }
- .TitleText p {
- color: #fff;
- font-size: 16rpx;
- }
- </style>
|