html代码 <template> <view> 姓氏<input placeholder="输入姓氏" v-model="nam" /> <view class="get" @click="get">点击</view