123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168 |
- <template>
- <view class="center">
- <view class="store-info flex">
- <view class="store-top flex">
- <image class="simage" src="" mode=""></image>
- <view class="stop-main">
- <view class="stop-title">巴黎莎士比亚书店</view>
- <view class="stop-address">
- <image class="mrt-image" src="../../static/index/index10.png" mode=""></image>
- <view class="mrt-font">距离0.3KM</view>
- </view>
- </view>
- </view>
- </view>
- <view class="store-item">
- <image class="store-image1" src="../../static/img/store2.png" mode=""></image>
- <view class="store-font">营业时间:10:00-21:00</view>
- </view>
- <view class="store-item">
- <image class="store-image2" src="../../static/img/store3.png" mode=""></image>
- <view class="store-font">商家电话:14255212336</view>
- </view>
- <view class="store-item">
- <image class="store-image3" src="../../static/img/store1.png" mode=""></image>
- <view class="store-font">门店地址:椒江区市府大道200号</view>
- </view>
- <view class="store-main">
- <view class="smain-title">门头照片</view>
- <scroll-view class="scroll-box flex" @scroll="scroll" scroll-x="true" :scroll-with-animation="true" scroll-left="10px">
- <view class="scroll-item" v-for="(item,index) in 4" :key="index">
- <image class="scroll-image" src="" mode="heightFix"></image>
- </view>
- </scroll-view>
- </view>
- <view class="store-main">
- <view class="smain-title">店内图片</view>
- <scroll-view class="scroll-box flex" @scroll="scroll" scroll-x="true" :scroll-with-animation="true" scroll-left="10px">
- <view class="scroll-item" v-for="(item,index) in 4" :key="index">
- <image class="scroll-image" src="" mode="heightFix"></image>
- </view>
- </scroll-view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {};
- },
- methods: {
- scroll(e) {
- console.log(e,"123456");
- }
- }
- };
- </script>
- <style lang="less">
- .center,
- page {
- background: #f8f8f8;
- height: 100%;
- }
- .store-info {
- background: #ffffff;
- .store-top {
- padding: 40rpx 20rpx;
- justify-content: flex-start;
- .simage {
- width: 130rpx;
- height: 130rpx;
- background: #f44939;
- }
- .stop-main {
- height: 130rpx;
- padding: 6rpx 0;
- margin-left: 20rpx;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- align-items: flex-start;
- .stop-title {
- font-size: 36rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #000000;
- }
- .stop-address {
- display: flex;
- justify-content: flex-end;
- align-items: center;
- .mrt-image {
- width: 20rpx;
- height: 28rpx;
- }
- .mrt-font {
- margin-left: 8rpx;
- font-size: 22rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #666666;
- }
- }
- }
- }
- }
- .store-item {
- background: #ffffff;
- display: flex;
- justify-content: flex-start;
- align-items: center;
- padding: 30rpx 30rpx 30rpx 44rpx;
- .store-image1 {
- width: 36rpx;
- height: 36rpx;
- }
- .store-image2 {
- margin: 0 1rpx;
- width: 34rpx;
- height: 34rpx;
- }
- .store-image3 {
- margin: 0 7rpx;
- width: 22rpx;
- height: 28rpx;
- }
- .store-font {
- margin-left: 22rpx;
- font-size: 26rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #2d2d2d;
- }
- }
- .store-main {
- margin-top: 16rpx;
- background: #FFFFFF;
- padding: 30rpx 42rpx 40rpx;
- .smain-title {
- font-size: 30rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #464646;
- }
- }
- .scroll-box {
- white-space: nowrap;
- margin-top: 30rpx;
- height: 240rpx;
- .scroll-item:first-child {
- margin-left: 0;
- }
- .scroll-item {
- margin-left: 20rpx;
- display: inline-block;
- height: 240rpx;
- width: 240rpx;
- }
- .scroll-image {
- height: 240rpx;
- width: 240rpx;
- background: #5AC725;
- }
- }
- </style>
|