修改分享

This commit is contained in:
张凯 2025-05-13 14:58:32 +08:00
parent 7a1962f746
commit b5602f098c

View File

@ -6,8 +6,8 @@
</view> </view>
<view class="box flex justify-start flex-column align-items" :class="overlay ? 'no-scroll' : ''"> <view class="box flex justify-start flex-column align-items" :class="overlay ? 'no-scroll' : ''">
<view class="swiper"> <view class="swiper">
<u-swiper :list="detail.images" indicator indicatorActiveColor="#323232" indicatorMode="dot" :indicator-style="{ bottom: '60rpx',zIndex: 999}" <u-swiper :list="detail.images" indicator indicatorActiveColor="#323232" indicatorMode="dot"
:height="height_sw" circular></u-swiper> :indicator-style="{ bottom: '60rpx', zIndex: 999 }" :height="height_sw" circular></u-swiper>
</view> </view>
<view class="con-center w-100 flex justify-center flex-column align-items flex-start"> <view class="con-center w-100 flex justify-center flex-column align-items flex-start">
@ -26,56 +26,52 @@
</view> </view>
<view class="first-box flex flex-start flex-column justify-start"> <view class="first-box flex flex-start flex-column justify-start">
<view class="flex align-items"> <view class="flex align-items">
<span class="first-name">{{detail.title}}</span> <span class="first-name">{{ detail.title }}</span>
</view> </view>
<span class="first-image flex align-items" style="margin-top: 25rpx;width: 100%;"> <span class="first-image flex align-items" style="margin-top: 25rpx;width: 100%;">
<image :src="detail.user.avatar" mode="" class="icon-size" style="width: 36rpx;height: 36rpx;"></image> <image :src="detail.user.avatar" mode="" class="icon-size" style="width: 36rpx;height: 36rpx;">
</image>
<span style="color: #9C9C9C ;width: 32%;">{{ detail.user.nickname }}</span> <span style="color: #9C9C9C ;width: 32%;">{{ detail.user.nickname }}</span>
<span class="flex justify-center align-items xieyi"> <span class="flex justify-center align-items xieyi">
<image src="/static/detail/baohu.png" mode="" style="width: 28rpx;height: 28rpx;margin-right: 0;" ></image> <image src="/static/detail/baohu.png" mode=""
<span class="white-space" style="width: 90rpx;text-align: center;">{{ detail.refund_info.title }}</span> style="width: 28rpx;height: 28rpx;margin-right: 0;"></image>
<image src="/static/detail/zidong.png" mode="" style="width: 20rpx;height: 20rpx;margin-right: 0;" ></image> <span class="white-space" style="width: 90rpx;text-align: center;">{{
detail.refund_info.title }}</span>
<image src="/static/detail/zidong.png" mode=""
style="width: 20rpx;height: 20rpx;margin-right: 0;"></image>
</span> </span>
</span> </span>
<span class="first-image flex align-items" style="margin-top: 20rpx;"> <span class="first-image flex align-items" style="margin-top: 20rpx;">
<image src="../../static/center/Alarm.png" mode="" class="icon-size"></image> <image src="../../static/center/Alarm.png" mode="" class="icon-size"></image>
<span>{{formattedTime.formattedTime}}</span> <span>{{ formattedTime.formattedTime }}</span>
</span> </span>
<span class="line"></span> <span class="line"></span>
<span class="first-image flex align-items" <span class="first-image flex align-items"
@click.stop="toMap(detail.latitude,detail.longitude,detail.address_detail)"> @click.stop="toMap(detail.latitude, detail.longitude, detail.address_detail)">
<image src="/static/center/address.png" mode="" class="icon-size"></image> <image src="/static/center/address.png" mode="" class="icon-size"></image>
<span>{{detail.address_detail}}</span> <span>{{ detail.address_detail }}</span>
<image src="/static/detail/daohang.png" class="icon-size" style="width: 50rpx; height: 50rpx;"></image> <image src="/static/detail/daohang.png" class="icon-size" style="width: 50rpx; height: 50rpx;">
</image>
</span> </span>
<span class="line"></span> <span class="line"></span>
<view class="second-box flex align-items space-between"> <view class="second-box flex align-items space-between">
<view class="flex align-items"> <view class="flex align-items">
<u-avatar-group :urls="detail.join_info.users" <u-avatar-group :urls="detail.join_info.users" keyName="avatar" size="30" gap="0.3"
keyName="avatar" size="30" gap="0.3" :maxCount="3"></u-avatar-group> :maxCount="3"></u-avatar-group>
<image <image src="/static/index/dian.png"
src="/static/index/dian.png" :class="detail.join_info.users && detail.join_info.users.length > 0 ? '' : 'smalld'"
:class="detail.join_info.users && detail.join_info.users.length > 0 ? '' :'smalld'" style="width: 60rpx;height: 60rpx;margin-left:-20rpx;z-index: 1;"></image>
style="width: 60rpx;height: 60rpx;margin-left:-20rpx;z-index: 1;"
></image>
</view> </view>
<span class="number">{{detail.join_info.people_number}}/{{detail.join_info.stock >= 10000 ? '9999+' : detail.join_info.stock}} <span class="number">{{ detail.join_info.people_number }}/{{ detail.join_info.stock >= 10000 ?
'9999+' : detail.join_info.stock}}
人数</span> 人数</span>
<view class="value_slide"> <view class="value_slide">
<u-slider <u-slider v-model="value_slide" showValue min="0" max="100" blockSize="12"
v-model="value_slide" inactiveColor="#EBEBEB" activeColor="#BBFC5B" disabled></u-slider>
showValue
min="0"
max="100"
blockSize="12"
inactiveColor="#EBEBEB"
activeColor="#BBFC5B"
disabled
></u-slider>
</view> </view>
</view> </view>
</view> </view>
@ -92,7 +88,8 @@
<view class="v_html"> <view class="v_html">
<rich-text :nodes="detail.content"></rich-text> <rich-text :nodes="detail.content"></rich-text>
</view> </view>
<image mode="widthFix" class="imgs" v-for="(item,index) in detail.images" :key="index" :src="item"></image> <image mode="widthFix" class="imgs" v-for="(item, index) in detail.images" :key="index" :src="item">
</image>
</view> </view>
</view> </view>
@ -143,22 +140,22 @@
</view> </view>
<!-- <span class="line"></span> --> <!-- <span class="line"></span> -->
<view class="times flex align-items justify-center" style="flex-wrap: wrap;"> <view class="times flex align-items justify-center" style="flex-wrap: wrap;">
<span class="selectTime flex justify-center align-items" v-for="(item,index) in timeList" <span class="selectTime flex justify-center align-items" v-for="(item, index) in timeList"
:key="index" :class="{ selected: timeSelected(item) }" @click="selectTime(item)"> :key="index" :class="{ selected: timeSelected(item) }" @click="selectTime(item)">
{{item.name}}</span> {{ item.name }}</span>
</view> </view>
</view> </view>
</u-popup> </u-popup>
<!-- 购买弹窗 --> <!-- 购买弹窗 -->
<u-popup :show="buyShow" mode="center" :round="10" :zIndex="99999" :custom-style="popupStyle" @close="buyClose" <u-popup :show="buyShow" mode="center" :round="10" :zIndex="99999" :custom-style="popupStyle"
@open="buyOpen" :safeAreaInsetBottom="false" :closeable="true"> @close="buyClose" @open="buyOpen" :safeAreaInsetBottom="false" :closeable="true">
<view class="popupBox flex justify-start align-items flex-column"> <view class="popupBox flex justify-start align-items flex-column">
<view class="pop-header flex align-items flex-column flex-start"> <view class="pop-header flex align-items flex-column flex-start">
<span class="name white-space">{{detail.title}}</span> <span class="name white-space">{{ detail.title }}</span>
<span class="price"> <span class="price">
<span v-if="detail.feel == 0">{{detail.price}}</span> <span v-if="detail.feel == 0">{{ detail.price }}</span>
<span v-if="detail.feel == 1">公益</span> <span v-if="detail.feel == 1">公益</span>
</span> </span>
<!-- <image src="../../static/center/buy.png" mode="" style="width: 168rpx; height: 48rpx;"> <!-- <image src="../../static/center/buy.png" mode="" style="width: 168rpx; height: 48rpx;">
@ -167,11 +164,11 @@
<view class="popup flex-column"> <view class="popup flex-column">
<span class="first-image flex align-items" style="margin: 16rpx 0;"> <span class="first-image flex align-items" style="margin: 16rpx 0;">
<image src="../../static/center/Alarm.png" mode="" class="icon-size"></image> <image src="../../static/center/Alarm.png" mode="" class="icon-size"></image>
<span>{{formattedTime.formattedTime}} (共计{{formattedTimeList.length}})</span> <span>{{ formattedTime.formattedTime }} (共计{{ formattedTimeList.length }})</span>
</span> </span>
<span class="first-image flex align-items"> <span class="first-image flex align-items">
<image src="../../static/center/address.png" mode="" class="icon-size"></image> <image src="../../static/center/address.png" mode="" class="icon-size"></image>
<span>{{detail.address_detail}}</span> <span>{{ detail.address_detail }}</span>
</span> </span>
<!-- <image :src="detail.headimage" mode="" style="width: 200rpx; height: 140rpx;"></image> <!-- <image :src="detail.headimage" mode="" style="width: 200rpx; height: 140rpx;"></image>
<view class="popur-right flex flex-column"> <view class="popur-right flex flex-column">
@ -206,7 +203,7 @@
<view ref="painter" class="title_top"> <view ref="painter" class="title_top">
<view class="toutop"> <view class="toutop">
<image class="toutu" :src="detail.user.avatar" /> <image class="toutu" :src="detail.user.avatar" />
<view class="toututt">{{detail.user.nickname}}的邀请</view> <view class="toututt">{{ detail.user.nickname }}的邀请</view>
</view> </view>
<view class="center_con"> <view class="center_con">
<image v-if="detail.images" :src="detail.images[0]" class="cenimg" /> <image v-if="detail.images" :src="detail.images[0]" class="cenimg" />
@ -214,12 +211,13 @@
<view> <view>
<view class="c1t1">{{ formattedTitle }}</view> <view class="c1t1">{{ formattedTitle }}</view>
<view class="c2t2">{{ detail.price }}</view> <view class="c2t2">{{ detail.price }}</view>
<view class="c3t3">地址{{ detail.address }}</view> <view class="c3t3 white-space">地址{{ detail.address }}</view>
</view> </view>
<view style="background-color: #ffffff;border-radius: 18rpx;"> <view style="background-color: #ffffff;border-radius: 18rpx;">
<l-painter> <l-painter>
<l-painter-view css="margin:20rpx;"> <l-painter-view css="margin:20rpx;">
<l-painter-qrcode css="width: 160rpx; height: 160rpx;margin:0 auto;" :text="qrUrl"></l-painter-qrcode> <l-painter-qrcode css="width: 160rpx; height: 160rpx;margin:0 auto;"
:text="qrUrl"></l-painter-qrcode>
</l-painter-view> </l-painter-view>
</l-painter> </l-painter>
</view> </view>
@ -236,9 +234,8 @@
<span> </span> <span> </span>
</button> </button>
</view> </view>
<canvas <canvas canvas-id="myCanvas"
canvas-id="myCanvas" style="position: absolute;top:256rpx;left: 48rpx; width: 661rpx;height:1075rpx; visibility: hidden;z-index: 10;">
style="position: absolute;top:256rpx;left: 48rpx; width: 661rpx;height:1075rpx; visibility: hidden;">
</canvas> </canvas>
</u-overlay> </u-overlay>
@ -247,12 +244,12 @@
</template> </template>
<script> <script>
import dayjs from 'dayjs'; import dayjs from 'dayjs';
import { import {
dateWeek, dateWeek,
dateWeekend dateWeekend
} from '../../utils/dateFormat' } from '../../utils/dateFormat'
export default { export default {
computed: { computed: {
formattedTitle() { formattedTitle() {
if (this.detail.title.length > 9) { if (this.detail.title.length > 9) {
@ -282,14 +279,14 @@
data() { data() {
return { return {
height_sw:'580rpx', height_sw: '580rpx',
style: { style: {
// //
img: 'width: 100%' img: 'width: 100%'
}, },
isShare:'', isShare: '',
value_slide:0, value_slide: 0,
scrollTop: 0, scrollTop: 0,
overlay: false, overlay: false,
userInfo: {}, userInfo: {},
@ -349,7 +346,7 @@
onLoad(options) { onLoad(options) {
this.userInfo = uni.getStorageSync("userInfo") this.userInfo = uni.getStorageSync("userInfo")
this.id = options.id this.id = options.id
if(options.isShare){ if (options.isShare) {
this.isShare = options.isShare; this.isShare = options.isShare;
} }
// this.id = 1 // this.id = 1
@ -371,6 +368,7 @@
methods: { methods: {
capturePage() { capturePage() {
let that = this;
uni.canvasToTempFilePath({ uni.canvasToTempFilePath({
x: 0, // x x: 0, // x
y: 0, // y y: 0, // y
@ -381,7 +379,8 @@
canvasId: 'myCanvas', // Canvasid canvasId: 'myCanvas', // Canvasid
success: function (res) { success: function (res) {
console.log('tempFilePath:', res.tempFilePath); // console.log('tempFilePath:', res.tempFilePath); //
this.save(res.tempFilePath) uni.previewImage({ urls: [res.tempFilePath] });
that.save(res.tempFilePath);
}, },
fail: function (err) { fail: function (err) {
console.error(err); // console.error(err); //
@ -390,13 +389,13 @@
}, },
// //
goHome() { goHome() {
if(this.isShare == 1){ if (this.isShare == 1) {
uni.switchTab({ uni.switchTab({
url: "/pages/index/index" url: "/pages/index/index"
}) })
} }
}, },
closeoo(){ closeoo() {
this.overlay = false; this.overlay = false;
}, },
overlayShow() { overlayShow() {
@ -412,8 +411,8 @@
title: '请登录', title: '请登录',
icon: 'none', icon: 'none',
duration: 2000, duration: 2000,
complete: function() { complete: function () {
setTimeout(function() { setTimeout(function () {
uni.switchTab({ uni.switchTab({
url: '/pages/my/index', url: '/pages/my/index',
}); });
@ -565,7 +564,7 @@
duration: 2000 duration: 2000
}) })
} }
}).catch(error => {}); }).catch(error => { });
}, },
// 0 1 2 3 // 0 1 2 3
@ -627,8 +626,8 @@
title: res.msg, title: res.msg,
icon: 'none', icon: 'none',
duration: 2000, duration: 2000,
complete: function() { complete: function () {
setTimeout(function() { setTimeout(function () {
uni.reLaunch({ uni.reLaunch({
url: "/packageA/my/makeList?status=" + -1 url: "/packageA/my/makeList?status=" + -1
}) })
@ -662,7 +661,7 @@
latitude: parseFloat(latitude), latitude: parseFloat(latitude),
longitude: parseFloat(longitude), longitude: parseFloat(longitude),
name: name, name: name,
success: function() { success: function () {
console.log('success'); console.log('success');
} }
}); });
@ -687,36 +686,47 @@
// //
save(e) { save(e) {
let base64 = this.path.replace(/^data:image\/\w+;base64,/, ""); // wx.saveImageToPhotosAlbum({
let filePath = wx.env.USER_DATA_PATH + '/qrcode.png'; filePath: e,
uni.getFileSystemManager().writeFile({ success: function(res) {
filePath: filePath, // wx.showToast({
data: base64, //
encoding: 'base64', //
success: (res) => {
uni.saveImageToPhotosAlbum({
filePath: filePath,
success: () => {
uni.showToast({
title: '保存成功', title: '保存成功',
icon: "none",
duration: 5000
}) })
}, },
fail: (err) => { fail: function(err) {
console.log(err); console.log(err, '失败')
uni.showToast({
title: '保存失败',
icon: "none",
duration: 5000
})
}
})
},
fail: (err) => {
console.log(err)
} }
}) })
// let base64 = this.path.replace(/^data:image\/\w+;base64,/, ""); //
// let filePath = wx.env.USER_DATA_PATH + '/qrcode.png';
// uni.getFileSystemManager().writeFile({
// filePath: filePath, //
// data: base64, //
// encoding: 'base64', //
// success: (res) => {
// uni.saveImageToPhotosAlbum({
// filePath: filePath,
// success: () => {
// uni.showToast({
// title: '',
// icon: "none",
// duration: 5000
// })
// },
// fail: (err) => {
// console.log(err);
// uni.showToast({
// title: '',
// icon: "none",
// duration: 5000
// })
// }
// })
// },
// fail: (err) => {
// console.log(err)
// }
// })
}, },
// //
sharePoster() { // sharePoster() { //
@ -811,14 +821,14 @@
timeSelected(time) { timeSelected(time) {
return this.selectedTime === time; return this.selectedTime === time;
}, },
moveScroll() {}, moveScroll() { },
// //
getMoney() { getMoney() {
uni.$u.http.post('/api/school.newactivity.order/confirm', { uni.$u.http.post('/api/school.newactivity.order/confirm', {
activity_id: this.id, activity_id: this.id,
order_no: this.order_no, order_no: this.order_no,
is_compute: 1, is_compute: 1,
num:1 num: 1
}).then(res => { }).then(res => {
if (res.code == 1) { if (res.code == 1) {
this.PayPirce = res.data.order_data.totalprice this.PayPirce = res.data.order_data.totalprice
@ -851,8 +861,8 @@
title: '创建成功', title: '创建成功',
icon: 'success', icon: 'success',
duration: 2000, duration: 2000,
complete: function() { complete: function () {
setTimeout(function() { setTimeout(function () {
uni.redirectTo({ uni.redirectTo({
url: "/packageA/my/orderList?status=" + 3 url: "/packageA/my/orderList?status=" + 3
}) })
@ -920,43 +930,44 @@
}); });
}, },
}, },
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.detail_all{ .detail_all {
background-color: #f7f7f7; background-color: #f7f7f7;
height: 100vh; height: 100vh;
} }
.w-100 {
.w-100 {
width: 100%; width: 100%;
} }
.flex { .flex {
display: flex; display: flex;
} }
.flex-start { .flex-start {
align-items: flex-start; align-items: flex-start;
} }
.justify-center { .justify-center {
justify-content: center; justify-content: center;
} }
.align-items { .align-items {
align-items: center; align-items: center;
} }
.flex-column { .flex-column {
flex-flow: column; flex-flow: column;
} }
.justify-start { .justify-start {
justify-content: start; justify-content: start;
} }
.white-space { .white-space {
overflow: hidden; overflow: hidden;
/* 确保超出容器的文本被隐藏 */ /* 确保超出容器的文本被隐藏 */
white-space: nowrap; white-space: nowrap;
@ -964,56 +975,60 @@
text-overflow: ellipsis; text-overflow: ellipsis;
/* 使用省略号表示被截断的文本 */ /* 使用省略号表示被截断的文本 */
width: 100%; width: 100%;
} }
.con-center { .con-center {
background: white; background: white;
border-radius: 44rpx; border-radius: 44rpx;
position: relative; position: relative;
} }
.space-between { .space-between {
justify-content: space-between; justify-content: space-between;
} }
.swiper { .swiper {
width: 100%; width: 100%;
height: 580rpx; height: 580rpx;
} }
.box { .box {
position: relative; position: relative;
} }
.topimgs_rmb{ .topimgs_rmb {
position: absolute; position: absolute;
top: -168rpx; top: -168rpx;
right: 30rpx; right: 30rpx;
width: 201rpx; width: 201rpx;
height: 118rpx; height: 118rpx;
z-index: 0; z-index: 0;
} }
.topimgs{
.topimgs {
position: absolute; position: absolute;
top: -120rpx; top: -120rpx;
width: 100%; width: 100%;
z-index: 0; z-index: 0;
} }
.top_texts{
.top_texts {
position: absolute; position: absolute;
top: -151rpx; top: -151rpx;
right: 68rpx; right: 68rpx;
z-index: 3; z-index: 3;
color: #ffffff; color: #ffffff;
.xiao{
.xiao {
margin-left: 4rpx; margin-left: 4rpx;
font-size: 22rpx; font-size: 22rpx;
font-weight: bold; font-weight: bold;
} }
} }
.first-box {
.first-box {
width: 690rpx; width: 690rpx;
background: #FFFFFF; background: #FFFFFF;
// background: url('@/static/detail/conbg.png'); // background: url('@/static/detail/conbg.png');
@ -1021,6 +1036,7 @@
// margin-top: 20rpx; // margin-top: 20rpx;
border-radius: 20rpx; border-radius: 20rpx;
z-index: 1; z-index: 1;
.sigh { .sigh {
width: 88rpx; width: 88rpx;
height: 40rpx; height: 40rpx;
@ -1031,7 +1047,8 @@
font-size: 24rpx; font-size: 24rpx;
color: #222222; color: #222222;
} }
.first-name{
.first-name {
width: 586rpx; width: 586rpx;
height: 52rpx; height: 52rpx;
font-family: PingFang SC, PingFang SC; font-family: PingFang SC, PingFang SC;
@ -1074,25 +1091,27 @@
font-size: 26rpx; font-size: 26rpx;
color: #222222; color: #222222;
} }
.xieyi{
background-color:#BBFC5B; .xieyi {
background-color: #BBFC5B;
width: 156rpx; width: 156rpx;
height: 48rpx; height: 48rpx;
border-radius: 8rpx; border-radius: 8rpx;
margin-left: 20rpx; margin-left: 20rpx;
} }
} }
} }
.second-box { .second-box {
width: 690rpx; width: 690rpx;
height: 64rpx; height: 64rpx;
border-radius: 16rpx 16rpx 16rpx 16rpx; border-radius: 16rpx 16rpx 16rpx 16rpx;
margin: 20rpx 0 16rpx 0; margin: 20rpx 0 16rpx 0;
.smalld{ .smalld {
margin-left: 0 !important; margin-left: 0 !important;
} }
.number { .number {
height: 40rpx; height: 40rpx;
font-family: Source Han Sans CN, Source Han Sans CN; font-family: Source Han Sans CN, Source Han Sans CN;
@ -1111,28 +1130,31 @@
margin: 0 22rpx 0 4rpx; margin: 0 22rpx 0 4rpx;
} }
} }
} }
.third { .third {
width: 100%; width: 100%;
background: #ffffff; background: #ffffff;
margin-top:20rpx; margin-top: 20rpx;
border-radius: 44rpx; border-radius: 44rpx;
margin-bottom: 150rpx; margin-bottom: 150rpx;
.third-top{
.third-top {
font-family: PingFang SC, PingFang SC; font-family: PingFang SC, PingFang SC;
font-weight: bold; font-weight: bold;
font-size: 36rpx; font-size: 36rpx;
color: #323232; color: #323232;
line-height: 50rpx; line-height: 50rpx;
margin-top: 30rpx; margin-top: 30rpx;
margin-left:30rpx; margin-left: 30rpx;
position: relative; position: relative;
z-index: 10; z-index: 10;
} }
span{
span {
position: relative; position: relative;
.icons{
.icons {
width: 37rpx; width: 37rpx;
height: 20rpx; height: 20rpx;
position: absolute; position: absolute;
@ -1141,41 +1163,45 @@
z-index: -1; z-index: -1;
} }
} }
.third-center { .third-center {
padding: 30rpx; padding: 30rpx;
overflow: hidden; overflow: hidden;
margin: 0 auto; margin: 0 auto;
height: 100%; height: 100%;
.v_html{
word-wrap: break-word;word-break: break-all; .v_html {
word-wrap: break-word;
word-break: break-all;
font-size: 26rpx; font-size: 26rpx;
line-height: 42rpx; line-height: 42rpx;
} }
.imgs{
margin-top:30rpx; .imgs {
margin-top: 30rpx;
width: 690rpx; width: 690rpx;
} }
} }
} }
.line { .line {
width: 690rpx; width: 690rpx;
height: 1rpx; height: 1rpx;
background: #F0F0F0; background: #F0F0F0;
margin: 19rpx 0; margin: 19rpx 0;
} }
.icon-size { .icon-size {
width: 32rpx; width: 32rpx;
height: 32rpx; height: 32rpx;
margin-right: 12rpx; margin-right: 12rpx;
} }
.footer { .footer {
width: 100%; width: 100%;
height: 166rpx; height: 166rpx;
// background: #ffffff; // background: #ffffff;
@ -1234,10 +1260,10 @@
color: #BBFC5B; color: #BBFC5B;
} }
} }
} }
.popupBox { .popupBox {
width: 690rpx; width: 690rpx;
height: 716rpx; height: 716rpx;
@ -1367,9 +1393,9 @@
margin: 24rpx 32rpx 0 0; margin: 24rpx 32rpx 0 0;
} }
} }
.share { .share {
position: fixed; position: fixed;
color: #FFFFFF; color: #FFFFFF;
right: 0; right: 0;
@ -1379,9 +1405,9 @@
border-top-left-radius: 50px; border-top-left-radius: 50px;
border-bottom-left-radius: 50px; border-bottom-left-radius: 50px;
box-shadow: 0 0 20upx rgba(0, 0, 0, .09); box-shadow: 0 0 20upx rgba(0, 0, 0, .09);
} }
.cancel { .cancel {
width: 100vw; width: 100vw;
padding: 30rpx; padding: 30rpx;
text-align: center; text-align: center;
@ -1389,49 +1415,49 @@
color: red; color: red;
font-weight: bold; font-weight: bold;
font-size: 30rpx; font-size: 30rpx;
} }
.md-content { .md-content {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
padding: 50rpx 0; padding: 50rpx 0;
background-color: white; background-color: white;
} }
.md-content-item { .md-content-item {
margin: 0 70rpx; margin: 0 70rpx;
position: relative; position: relative;
} }
.md-content-item image { .md-content-item image {
width: 100rpx; width: 100rpx;
height: 100rpx; height: 100rpx;
} }
.md-content-item view { .md-content-item view {
margin-top: 15rpx; margin-top: 15rpx;
font-size: 28rpx; font-size: 28rpx;
} }
.sharebtn { .sharebtn {
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
right: 0; right: 0;
bottom: 0; bottom: 0;
opacity: 0; opacity: 0;
} }
.cu-modal { .cu-modal {
position: fixed; position: fixed;
bottom: 166rpx; bottom: 166rpx;
left: 0; left: 0;
z-index: 999999; z-index: 999999;
} }
.gj { .gj {
.title { .title {
font-family: PingFang SC, PingFang SC; font-family: PingFang SC, PingFang SC;
font-weight: 800; font-weight: 800;
@ -1482,9 +1508,9 @@
} }
} }
} }
} }
::v-deep ::-webkit-scrollbar { ::v-deep ::-webkit-scrollbar {
/*滚动条整体样式*/ /*滚动条整体样式*/
width: 4px !important; width: 4px !important;
height: 1px !important; height: 1px !important;
@ -1492,58 +1518,66 @@
background: #ccc !important; background: #ccc !important;
-webkit-appearance: auto !important; -webkit-appearance: auto !important;
display: block; display: block;
} }
::v-deep ::-webkit-scrollbar-thumb { ::v-deep ::-webkit-scrollbar-thumb {
/*滚动条里面小方块*/ /*滚动条里面小方块*/
border-radius: 10px !important; border-radius: 10px !important;
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2) !important; box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2) !important;
background: #7b7979 !important; background: #7b7979 !important;
} }
::v-deep ::-webkit-scrollbar-track { ::v-deep ::-webkit-scrollbar-track {
/*滚动条里面轨道*/ /*滚动条里面轨道*/
// box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2) !important; // box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2) !important;
// border-radius: 10px !important; // border-radius: 10px !important;
background: #FFFFFF !important; background: #FFFFFF !important;
} }
.pos {
.pos {
position: relative; position: relative;
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.Poster {
.Poster {
position: relative; position: relative;
margin: 0 auto; margin: 0 auto;
.posterClose { .posterClose {
position: absolute; position: absolute;
right: 8rpx; right: 8rpx;
top: 200rpx; top: 200rpx;
} }
.title_top{
.title_top {
position: relative; position: relative;
margin: 0 auto; margin: 0 auto;
width: 661rpx;height:1075rpx; width: 661rpx;
height: 1075rpx;
background-image: url('https://naweigetetest2.hschool.com.cn/dyqc/fenxiang.png'); background-image: url('https://naweigetetest2.hschool.com.cn/dyqc/fenxiang.png');
background-size: 100%; background-size: 100%;
background-repeat: no-repeat; background-repeat: no-repeat;
margin-top: 240rpx; margin-top: 240rpx;
} }
.toutop{
.toutop {
position: absolute; position: absolute;
top: 120rpx; top: 120rpx;
left: 30rpx; left: 30rpx;
display: flex; display: flex;
align-items: center; align-items: center;
width: 80%; width: 80%;
.toutu{
.toutu {
width: 60rpx; width: 60rpx;
height: 60rpx; height: 60rpx;
border-radius: 134rpx 134rpx 134rpx 134rpx; border-radius: 134rpx 134rpx 134rpx 134rpx;
border: 2rpx solid #FFFFFF; border: 2rpx solid #FFFFFF;
} }
.toututt{
.toututt {
padding-left: 15rpx; padding-left: 15rpx;
height: 36rpx; height: 36rpx;
font-family: PingFang SC Bold, PingFang SC Bold; font-family: PingFang SC Bold, PingFang SC Bold;
@ -1556,48 +1590,56 @@
text-transform: none; text-transform: none;
} }
} }
.center_con{
.center_con {
padding-top: 200rpx; padding-top: 200rpx;
.cenimg{
.cenimg {
width: 620rpx; width: 620rpx;
height: 620rpx; height: 620rpx;
border-radius: 24rpx; border-radius: 24rpx;
margin: 0 auto; margin: 0 auto;
display: block; display: block;
} }
.center_text{
.center_text {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-around; justify-content: space-around;
margin-top: 30rpx; margin-top: 30rpx;
.c1t1{
color: #202020;font-size: 36rpx; .c1t1 {
color: #202020;
font-size: 36rpx;
// margin-top: 30rpx; // margin-top: 30rpx;
} }
.c2t2{
.c2t2 {
font-family: D-DIN-PRO, D-DIN-PRO; font-family: D-DIN-PRO, D-DIN-PRO;
font-weight: 900; font-weight: 900;
font-size: 28rpx; font-size: 28rpx;
color: #FF4810; color: #FF4810;
margin-top: 20rpx; margin-top: 20rpx;
} }
.c3t3{
.c3t3 {
margin-top: 20rpx; margin-top: 20rpx;
font-family: PingFang SC Regular, PingFang SC Regular; font-family: PingFang SC Regular, PingFang SC Regular;
font-weight: 400; font-weight: 400;
font-size: 26rpx; font-size: 26rpx;
color: #9C9C9C; color: #9C9C9C;
width: 340rpx;
} }
} }
} }
} }
.btnList { .btnList {
width: 690rpx; width: 690rpx;
position: absolute; position: absolute;
bottom: 150rpx; bottom: 150rpx;
@ -1624,18 +1666,18 @@
} }
.save {} .save {}
} }
.no-scroll { .no-scroll {
overflow: hidden; overflow: hidden;
height: 100vh; height: 100vh;
} }
::v-deep ._root { ::v-deep ._root {
padding: 0 10rpx; padding: 0 10rpx;
} }
.no-border-button { .no-border-button {
background-color: transparent; background-color: transparent;
/* 去掉背景色 */ /* 去掉背景色 */
border: none; border: none;
@ -1670,12 +1712,14 @@
} }
</style> </style>
<style lang="scss"> <style lang="scss">
.value_slide{ .value_slide {
width: 50%; width: 50%;
::v-deep .uni-slider-handle-wrapper{
::v-deep .uni-slider-handle-wrapper {
height: 10rpx; height: 10rpx;
} }
::v-deep .uni-slider-handle{
::v-deep .uni-slider-handle {
background: url('@/static/detail/qiu.png') !important; background: url('@/static/detail/qiu.png') !important;
border-radius: 0; border-radius: 0;
background-size: 36rpx 36rpx !important; background-size: 36rpx 36rpx !important;
@ -1684,17 +1728,21 @@
top: 14rpx; top: 14rpx;
margin-left: -18rpx !important; margin-left: -18rpx !important;
} }
::v-deep .uni-slider-value{
::v-deep .uni-slider-value {
color: #323232; color: #323232;
&::after{
&::after {
content: '%'; content: '%';
} }
} }
// #ifdef MP-WEIXIN // #ifdef MP-WEIXIN
.wx-slider-handle-wrapper{ .wx-slider-handle-wrapper {
height: 8rpx; height: 8rpx;
} }
.wx-slider-handle{
.wx-slider-handle {
background: url('@/static/detail/qiu.png') !important; background: url('@/static/detail/qiu.png') !important;
border-radius: 0; border-radius: 0;
background-size: 30rpx 30rpx !important; background-size: 30rpx 30rpx !important;
@ -1703,12 +1751,13 @@
top: 14rpx; top: 14rpx;
margin-left: -14rpx !important; margin-left: -14rpx !important;
} }
.wx-slider-value{
.wx-slider-value {
display: flex; display: flex;
width: 30rpx; width: 30rpx;
color: #323232; color: #323232;
&::after{
content: '%'; &::after { content: '%';
} }
} }
// #endif // #endif