123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132 |
- <template>
- <view class="content">
- <view class="zhidingyiBox">
- <view class="zhidingyi">
- <view class="zdyLeft">
- <view class="zdyTitle">自定义图片</view>
- <view class="zdyms">建议尺寸:宽度750*390px</view>
- <view class="zdyms" style="padding-top: 24rpx;">请先上传自定义活动图片 后编辑活动内容</view>
- </view>
- <view class="zdyRight">
- <image src="../../static/img/bg_sucai@2x.png" mode="" class="zdyRightImg"></image>
- </view>
- </view>
- </view>
- <view class="listBox">
- <view class="listLine" v-for="(item,i) in list">
- <view class="listTitle">{{item.Name}}</view>
- <view class="listSm">{{item.collectingComment}}</view>
- <scroll-view scroll-x="true" class="scroll-X" >
- <view class="listLineImgBox" >
- <view class="" v-for="(img,index) in item.imgList" @click="goAdd(img)">
- <image class="listLineImg" :src="img.Img" mode=""></image>
- </view>
- </view>
- </scroll-view>
- </view>
- </view>
-
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- list:'',
- }
- },
- onLoad() {
- this.getSetTheGuestList();
- //?token=1BAD122A96BA41E49200322381DC5D34&uid=DC0B84EA-A67B-4A4B-8EAE-F55A13CF8217
- },
- methods: {
- goAdd(item){
- uni.navigateTo({
- url:'addActivity?img='+item.Img
- })
- },
- getSetTheGuestList(){
- uni.showLoading({
- title: '加载中'
- })
- this.$http('openH5SetTheGuest/getSetTheGuestList', {
-
- },'GET').then(res => {
- uni.hideLoading();
- this.list=res.data
- })
- }
- }
- }
- </script>
- <style scoped>
- .content{
- min-height: 100vh;
- background:#F4F5F7 ;
- }
- .zhidingyiBox{
- padding: 20rpx 24rpx;
- }
- .zhidingyi{
- background: #ffffff;
- border-radius: 10rpx;
- display: flex;
- justify-content: space-between;
- }
- .zdyRightImg{
- width: 217rpx;
- height: 210rpx;
- }
- .zdyLeft{
- padding-top: 50rpx;
- padding-left: 20rpx;
- width: 300rpx;
- }
.zdyTitle{
- color: #333333;
- line-height: 42rpx;
- font-size: 30rpx;
- font-weight: 500;
- padding-bottom: 16rpx;
- }
- .zdyms{
- font-weight: 400;
- color: #999999;
- line-height: 33rpx;
- font-size: 24rpx;
- }
- .zdyRight{
- padding: 35rpx 30rpx;
- }
- .listBox{
- background: #ffffff;
- }
- .listLine{
- padding-left: 24rpx;
- padding-top: 30rpx;
- }
- .listLineImg{
- width: 630rpx;
- height: 252rpx;
- margin-right: 30rpx;
- border-radius: 10rpx;
- }
- .listLineImgBox{
- display: flex;
- }
- .listTitle{
- font-weight: 500;
- color: #333333;
- font-size: 30rpx;
- }
- .listSm{
- font-weight: 400;
- color: #999999;
- line-height: 33px;
- font-size: 24rpx;
- width: 702rpx;
- height: 33rpx;
- }
- </style>
|