12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <template name="hotmode">
- <view>
- <view class="hotmode-content clearfix">
- <view class="hot-image le" @click="handleProcurement">
- <image :src="staticUrl + 'icon_model_1@2x.jpg'" mode=""></image>
- </view>
- <view class="hot-image ri" @click.stop="handleJumpLink(mallTheme)">
- <image :src="mallTheme.image" mode=""></image>
- </view>
- </view>
- </view>
- </template>
- <script>
- import jumpMixins from '@/mixins/jumpMixins.js'
- export default{
- mixins: [jumpMixins],
- name:'hotmode',
- props:{
- mallTheme:{
- type:Object
- }
- },
- data() {
- return{
- staticUrl:this.global.staticUrl,
- navList:[]
- }
- },
- created(){
- },
- computed: {
-
- },
- methods:{
- //跳转集采列表
- async handleProcurement() {
- const userInfo = await this.$api.getStorage()
- if(userInfo.userIdentity === 1){
- this.$util.msg('发布需求功能暂不对机构以外的身份开放~', 2000)
- return
- }
- },
- handleActivi(){
- this.$api.navigateTo(`/pages/goods/good-floor?id=${floor.id}`)
- }
- }
- }
- </script>
- <style lang="scss">
- .hotmode-content{
- width: 100%;
- height: 228rpx;
- box-sizing: border-box;
- padding: 24rpx;
- background: #F7F7F7;
- .hot-image{
- width: 340rpx;
- height: 180rpx;
- float: left;
- &.le{
- float: left;
-
- }
- &.ri{
- float: right;
- }
- image{
- width: 340rpx;
- height: 180rpx;
- display: block;
- }
- }
- }
- </style>
|