<view class="point">
<view class="point-item" v-for="(item,index) of pointList" :key="index">
<wx-open-launch-weapp username="gh_xxxxxx">//username对用的是小程序原始id,(进入一个小程序,点击右上角那三个点点的图标,就出现图下图的弹窗,点击弹窗顶部标题,点击标题之后会进入类似下图的页面,点击更多资料可以查询原始id)
<script type="text/wxtag-template">
<style>
.point_wrapper{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.point_img{
width: 55px;
height: 55px;
margin-bottom: 5px;
background-color: #007AFF;
border-radius: 10px;
}
.point_title{
font-size: 12px;
color: #333333;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 70px;
}
</style>
<div class="point_wrapper">
<img src="{{item.img}}" alt="" class="point_img" />
<div class="point_title">{{item.name}}</div>
</div>
</script>
</wx-open-launch-weapp>
</view>
</view>