12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- <template>
- <view class="box">
- <view class="imgBox">
- <image class="scimg" :src="img" mode="aspectFit"></image>
- </view>
- <view class="cont">
- <view class="name">活动名称展示区域</view>
- <view class="name2">活动时间展示区域</view>
- <view class="name3">这里展示活动说明,如果后台没填则不展示</view>
- </view>
- <view style="height: 98rpx;"></view>
- <view class="btn" @click="eadit">编辑内容</view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- img:'',
- }
- },
- onLoad(opt) {
- this.img=opt.img
- },
- methods: {
- eadit(){
- uni.navigateTo({
- url:'eadit?id='
- })
- }
- }
- }
- </script>
- <style scoped>
- .imgBox{
- width: 750rpx;
-
- background:#F4F5F7;
- }
- .scimg{
- width: 750rpx;
- display: block;
- }
- .cont{
- background: #ffffff;
- border-radius: 24rpx 24rpx 0px 0px;
- margin-top: -30rpx;
- padding: 30rpx 24rpx;
- }
- .name{
- color: #3C3C3C;
- line-height: 42rpx;
- font-weight: 500;
- font-size: 30rpx;
- }
- .name2{
- color: #3C3C3C;
- line-height: 36rpx;
- font-weight: 400;
- font-size: 26rpx;
- padding-top: 16rpx;
- }
- .name3{
- color: #999999;
- line-height: 36rpx;
- font-weight: 400;
- font-size: 26rpx;
- padding-top: 16rpx;
- }
- .btn{
- width: 750rpx;
- height: 98rpx;
- background: #3F90F7;
- position: fixed;
- left: 0;
- bottom: 0;
- line-height: 98rpx;
- text-align: center;
- color: #ffffff;
- font-size: 30rpx;
- }
- </style>
|