| | |
| | | type: Number, |
| | | default: 387 |
| | | }, |
| | | isDetail: { |
| | | type: Boolean, |
| | | default: false |
| | | }, |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | .box-s1 { |
| | | box-shadow: 0rpx 4rpx 19rpx 0rpx rgba(0, 0, 0, 0.08); |
| | | } |
| | | </style> |
| | | </style> |
| | |
| | | export default { |
| | | BASE_URL: 'http://192.168.110.111:9100', |
| | | BASE_URL: 'http://221.182.45.100:9101', |
| | | // BASE_URL: 'https://jiashikang.cn/applet', |
| | | uploadUrl: "https://jiashikang.cn/applet/open/file/upload", |
| | | imageUrl: 'http://221.182.45.100:11224/images/' |
| | |
| | | { |
| | | "sassImplementationName" : "node-sass", |
| | | "name" : "青城后山", |
| | | "appid" : "__UNI__B98B5B1", |
| | | "appid" : "__UNI__E84FF54", |
| | | "description" : "", |
| | | "versionName" : "1.0.0", |
| | | "versionCode" : "100", |
| | |
| | | return request.get(`/index/getNoticeList`, undefined, 1) |
| | | } |
| | | |
| | | // 首页攻略列表 |
| | | export const getGuideList = () => { |
| | | return request.get(`/index/getGuideList`, undefined, 1) |
| | | } |
| | | |
| | | |
| | | //获取攻略列表 |
| | | export const getGuideList = (params) => { |
| | | return request.get(`/index/getGuideList`, params, 1) |
| | | } |
| | | |
| | | //实物商品分页列表 |
| | | export const getGoodList = (data) => { |
| | | return request.post(`/index/physical-goods/page`, data, ) |
| | |
| | | if (uni.getStorageSync('token')) { |
| | | getUserInfo().then(res => { |
| | | if (res.code == 200) { |
| | | avatar.value = res.data.avatar |
| | | avatar.value = res.data.profilePhoto |
| | | name.value = res.data.name || '' |
| | | nickName.value = res.data.nickName || res.data.name || '请选择' |
| | | phone.value = res.data.phone || '' |
| | |
| | | <view class="relative"> |
| | | <!-- <image @tap.stop="back" class="absolute w-19 h-34" src="/static/image/public/back.png" |
| | | style="top: 104rpx;left: 27rpx;z-index: 99;" /> --> |
| | | <banner :list="list" :height="700"></banner> |
| | | <banner :list="list" :height="700" :is-detail="true"></banner> |
| | | <view style="margin-top: -56rpx; position: relative; z-index: 10;"> |
| | | <view class="bgcolor1 br1 px-27 pt-38 pb-27"> |
| | | <view class="fs-46 font-bold lh-63">{{ detailInfo.title || '' }}</view> |
| | |
| | | height: 148.08rpx; |
| | | border-radius: 19rpx; |
| | | flex-shrink: 0; |
| | | margin-left: 28rpx; |
| | | margin-left: auto; |
| | | } |
| | | |
| | | .list-title { |
| | |
| | | font-weight: 500; |
| | | font-size: 31rpx; |
| | | color: #4F4F4F; |
| | | width: 110rpx; |
| | | width: 114rpx; |
| | | text-align: center; |
| | | |
| | | .tab-active { |
| | |
| | | <view class="relative"> |
| | | <image @tap.stop="back" class="absolute w-19 h-34" src="/static/image/public/back.png" |
| | | style="top: 104rpx;left: 27rpx;z-index: 999;" /> |
| | | <banner :list="list" :height="700" v-if="type=='image'"></banner> |
| | | <banner :list="list" :height="700" :is-detail="true" v-if="type=='image'"></banner> |
| | | <view class="h-700 videoContent" v-else> |
| | | <video ref="videoPlayer" :show-center-play-btn="false" id="myVideo" :src="videoUrl" :autoplay="false" |
| | | :show-loading="true" @timeupdate="handleTimeUpdate" @loadedmetadata="loadedmetadata" |
| | |
| | | const applyGuideDetail = (data: any) => { |
| | | const mediaList = parseMediaList(data.detailImages) |
| | | const coverImage = formatImageUrl(data.coverImage) |
| | | const isVideoType = Number(data.type) === 1 |
| | | const isVideoType = Number(data.type) === 2 |
| | | |
| | | detailInfo.value = { |
| | | id: Number(data.id || 0), |
| | |
| | | img: formatImageUrl(item.coverImage), |
| | | title: item.title || '', |
| | | introduce: formatGuideSummary(item.content), |
| | | time: String(item.createTime || '').slice(0, 10), |
| | | createTime:item.createTime, |
| | | })) |
| | | } |
| | | |
| | |
| | | icon: 'none' |
| | | }) |
| | | } finally { |
| | | uni.hideLoading() |
| | | // uni.hideLoading() |
| | | } |
| | | } |
| | | |
| | |
| | | |
| | | .title { |
| | | font-weight: 600; |
| | | font-size: 46rpx; |
| | | font-size: 32rpx; |
| | | color: #303133; |
| | | line-height: 63rpx; |
| | | margin: 5rpx 0 12rpx 0; |